about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui-toml/absolute_paths
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2025-02-28 23:20:48 +0100
committerPhilipp Krones <hello@philkrones.com>2025-02-28 23:27:09 +0100
commit65eb2b22371f506478a6d4c57bcadb15da1fbedc (patch)
treeb1b75b03b1385d6b8b89a2aebde4d4b12ba86ba0 /src/tools/clippy/tests/ui-toml/absolute_paths
parent287487624357c19b22d27aa3ed584b8ccd080b4d (diff)
parent9f9a822509e5ad3e560cbbe830d1013f936fca28 (diff)
Merge commit '9f9a822509e5ad3e560cbbe830d1013f936fca28' into clippy-subtree-update
Diffstat (limited to 'src/tools/clippy/tests/ui-toml/absolute_paths')
-rw-r--r--src/tools/clippy/tests/ui-toml/absolute_paths/absolute_paths_2015.default.stderr4
-rw-r--r--src/tools/clippy/tests/ui-toml/absolute_paths/absolute_paths_2015.rs1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/tools/clippy/tests/ui-toml/absolute_paths/absolute_paths_2015.default.stderr b/src/tools/clippy/tests/ui-toml/absolute_paths/absolute_paths_2015.default.stderr
index 6fc495f0180..b946514454a 100644
--- a/src/tools/clippy/tests/ui-toml/absolute_paths/absolute_paths_2015.default.stderr
+++ b/src/tools/clippy/tests/ui-toml/absolute_paths/absolute_paths_2015.default.stderr
@@ -1,11 +1,11 @@
 error: consider bringing this path into scope with the `use` keyword
-  --> tests/ui-toml/absolute_paths/absolute_paths_2015.rs:15:13
+  --> tests/ui-toml/absolute_paths/absolute_paths_2015.rs:16:13
    |
 LL |     let _ = ::m1::m2::X;
    |             ^^^^^^^^^^^
    |
 note: the lint level is defined here
-  --> tests/ui-toml/absolute_paths/absolute_paths_2015.rs:6:9
+  --> tests/ui-toml/absolute_paths/absolute_paths_2015.rs:7:9
    |
 LL | #![deny(clippy::absolute_paths)]
    |         ^^^^^^^^^^^^^^^^^^^^^^
diff --git a/src/tools/clippy/tests/ui-toml/absolute_paths/absolute_paths_2015.rs b/src/tools/clippy/tests/ui-toml/absolute_paths/absolute_paths_2015.rs
index 033c4780919..86981f97955 100644
--- a/src/tools/clippy/tests/ui-toml/absolute_paths/absolute_paths_2015.rs
+++ b/src/tools/clippy/tests/ui-toml/absolute_paths/absolute_paths_2015.rs
@@ -1,6 +1,7 @@
 //@revisions: default allow_crates
 //@[default]rustc-env:CLIPPY_CONF_DIR=tests/ui-toml/absolute_paths/default
 //@[allow_crates]rustc-env:CLIPPY_CONF_DIR=tests/ui-toml/absolute_paths/allow_crates
+//@[allow_crates]check-pass
 //@edition:2015
 
 #![deny(clippy::absolute_paths)]