]> git.lizzy.rs Git - rust.git/commit
Move Lint to rustc_session
authorMark Rousskov <mark.simulacrum@gmail.com>
Tue, 12 Nov 2019 16:52:26 +0000 (11:52 -0500)
committerMark Rousskov <mark.simulacrum@gmail.com>
Tue, 3 Dec 2019 17:18:32 +0000 (12:18 -0500)
commit526ee51ccc02a64fe95e3df9bc24ddd395dc58ce
treee9874e9d6c5006db55311df973a00777cbc19c68
parent433e546af9503f712089debee665671094f79275
Move Lint to rustc_session

This commit breaks early-lint registration, which will be fixed in the
next commit. This movement will allow essentially all crates in the compiler
tree to declare lints (though not lint passes).
src/librustc/lint/levels.rs
src/librustc/lint/mod.rs
src/librustc/session/mod.rs
src/librustc_session/lint.rs