File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
tests/ui-toml/absolute_paths Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 1+ error: consider bringing this path into scope with the `use` keyword
2+ --> tests/ui-toml/absolute_paths/absolute_paths_2015.rs:16:13
3+ |
4+ LL | let _ = ::m1::m2::X;
5+ | ^^^^^^^^^^^
6+ |
7+ note: the lint level is defined here
8+ --> tests/ui-toml/absolute_paths/absolute_paths_2015.rs:7:9
9+ |
10+ LL | #![deny(clippy::absolute_paths)]
11+ | ^^^^^^^^^^^^^^^^^^^^^^
12+
13+ error: aborting due to 1 previous error
14+
Original file line number Diff line number Diff line change 11//@revisions: default allow_crates
22//@[default]rustc-env:CLIPPY_CONF_DIR=tests/ui-toml/absolute_paths/default
33//@[allow_crates]rustc-env:CLIPPY_CONF_DIR=tests/ui-toml/absolute_paths/allow_crates
4+ //@[allow_crates]check-pass
45//@edition:2015
5- //@check-pass
66
77#![ deny( clippy:: absolute_paths) ]
88
@@ -12,4 +12,6 @@ mod m1 {
1212 }
1313}
1414
15- fn main ( ) { }
15+ fn main ( ) {
16+ let _ = :: m1:: m2:: X ; //~[default] absolute_paths
17+ }
You can’t perform that action at this time.
0 commit comments