Skip to content
Permalink
Browse files

fix fallout in ui-fulldeps

  • Loading branch information
Centril committed Jan 8, 2020
1 parent d0d1c60 commit 682f500c8f5d54197d8974b5c4371306e2faecc8
@@ -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,
@@ -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 {
| ^^^^^^^^
@@ -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 {
| ^^^^^^^^

0 comments on commit 682f500

Please sign in to comment.
You can’t perform that action at this time.