Skip to content

Commit 682f500

Browse files
committed
fix fallout in ui-fulldeps
1 parent d0d1c60 commit 682f500

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/test/ui-fulldeps/internal-lints/lint_pass_impl_without_macro.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
extern crate rustc;
77
extern crate rustc_session;
88

9-
use rustc::lint::{LintArray, LintPass};
10-
use rustc::{declare_lint_pass, impl_lint_pass};
11-
use rustc_session::declare_lint;
9+
use rustc_session::lint::{LintArray, LintPass};
10+
use rustc_session::{declare_lint, declare_lint_pass, impl_lint_pass};
1211

1312
declare_lint! {
1413
pub TEST_LINT,

src/test/ui-fulldeps/internal-lints/lint_pass_impl_without_macro.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: implementing `LintPass` by hand
2-
--> $DIR/lint_pass_impl_without_macro.rs:21:6
2+
--> $DIR/lint_pass_impl_without_macro.rs:20:6
33
|
44
LL | impl LintPass for Foo {
55
| ^^^^^^^^
@@ -12,7 +12,7 @@ LL | #![deny(rustc::lint_pass_impl_without_macro)]
1212
= help: try using `declare_lint_pass!` or `impl_lint_pass!` instead
1313

1414
error: implementing `LintPass` by hand
15-
--> $DIR/lint_pass_impl_without_macro.rs:31:14
15+
--> $DIR/lint_pass_impl_without_macro.rs:30:14
1616
|
1717
LL | impl LintPass for Custom {
1818
| ^^^^^^^^

0 commit comments

Comments
 (0)