Skip to content

Commit

Permalink
fix fallout in ui-fulldeps
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril committed Jan 11, 2020
1 parent d0d1c60 commit 682f500
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
extern crate rustc;
extern crate rustc_session;

use rustc::lint::{LintArray, LintPass};
use rustc::{declare_lint_pass, impl_lint_pass};
use rustc_session::declare_lint;
use rustc_session::lint::{LintArray, LintPass};
use rustc_session::{declare_lint, declare_lint_pass, impl_lint_pass};

declare_lint! {
pub TEST_LINT,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: implementing `LintPass` by hand
--> $DIR/lint_pass_impl_without_macro.rs:21:6
--> $DIR/lint_pass_impl_without_macro.rs:20:6
|
LL | impl LintPass for Foo {
| ^^^^^^^^
Expand All @@ -12,7 +12,7 @@ LL | #![deny(rustc::lint_pass_impl_without_macro)]
= help: try using `declare_lint_pass!` or `impl_lint_pass!` instead

error: implementing `LintPass` by hand
--> $DIR/lint_pass_impl_without_macro.rs:31:14
--> $DIR/lint_pass_impl_without_macro.rs:30:14
|
LL | impl LintPass for Custom {
| ^^^^^^^^
Expand Down

0 comments on commit 682f500

Please sign in to comment.