Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename lint to something else #3517

Closed
brson opened this issue Sep 18, 2012 · 3 comments
Closed

Rename lint to something else #3517

brson opened this issue Sep 18, 2012 · 3 comments
Labels
A-lint Area: Lints (warnings about flaws in source code) such as unused_mut. C-cleanup Category: PRs that clean code up or issues documenting cleanup.

Comments

@brson
Copy link
Contributor

brson commented Sep 18, 2012

It has outgrown its original purpose and is becoming the general error reporting mechanism.

@graydon
Copy link
Contributor

graydon commented Mar 25, 2013

non-critical for 0.6, de-milestoning

@alexcrichton
Copy link
Member

Is this still a relevant issue? It doesn't seem to me like it's a general error reporting mechanism any more. I think of span_err/span_note/span_warn more along those lines. The lint module in my opinion does indeed have true "lint" passes for code like unused variables, mutability, imports, and assignments.

I'd personally be in favor of keeping it named lint, but I could also do the renaming if there's a better name!

@emberian
Copy link
Member

It isn't error reporting, it's specifically warnings, that aren't about invalid code. Closing, as it no longer seems relevant.

RalfJung pushed a commit to RalfJung/rust that referenced this issue Apr 27, 2024
env: split up Windows and Unix environment variable handling

On Windows, manage them entirely outside the AM state; this also means we no longer report any data races for environment variable memory.

Fixes rust-lang#124411
RalfJung pushed a commit to RalfJung/rust that referenced this issue Apr 27, 2024
env: split up Windows and Unix environment variable handling

On Windows, manage them entirely outside the AM state; this also means we no longer report any data races for environment variable memory.

Fixes rust-lang#124411
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lint Area: Lints (warnings about flaws in source code) such as unused_mut. C-cleanup Category: PRs that clean code up or issues documenting cleanup.
Projects
None yet
Development

No branches or pull requests

4 participants