about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2022-03-20 21:24:06 +0100
committerCamille GILLOT <gillot.camille@gmail.com>2022-03-21 19:43:53 +0100
commitc544f108fdde3fb7fa6b7b4f9d48bfe7d2eeed7f (patch)
tree719a74460af4689de3e811ce5a3b8defeb4454d2
parent0b49d05ea33d68391e3d5472f3398d0ad1d9f9a6 (diff)
downloadrust-c544f108fdde3fb7fa6b7b4f9d48bfe7d2eeed7f.tar.gz
rust-c544f108fdde3fb7fa6b7b4f9d48bfe7d2eeed7f.zip
Deduplicate ui-fulldeps.
-rw-r--r--src/test/ui-fulldeps/hash-stable-is-unstable.rs2
-rw-r--r--src/test/ui-fulldeps/lint-tool-test.stderr5
2 files changed, 1 insertions, 6 deletions
diff --git a/src/test/ui-fulldeps/hash-stable-is-unstable.rs b/src/test/ui-fulldeps/hash-stable-is-unstable.rs
index 1be08191bc9..11fe688f391 100644
--- a/src/test/ui-fulldeps/hash-stable-is-unstable.rs
+++ b/src/test/ui-fulldeps/hash-stable-is-unstable.rs
@@ -1,5 +1,5 @@
 // ignore-stage1
-
+// compile-flags: -Zdeduplicate-diagnostics=yes
 extern crate rustc_data_structures;
 //~^ use of unstable library feature 'rustc_private'
 extern crate rustc_macros;
diff --git a/src/test/ui-fulldeps/lint-tool-test.stderr b/src/test/ui-fulldeps/lint-tool-test.stderr
index 0f76384ed5b..513f70d0f05 100644
--- a/src/test/ui-fulldeps/lint-tool-test.stderr
+++ b/src/test/ui-fulldeps/lint-tool-test.stderr
@@ -83,11 +83,6 @@ error: item is named 'lintmetoo'
 LL |     fn lintmetoo() { }
    |     ^^^^^^^^^^^^^^^^^^
    |
-note: the lint level is defined here
-  --> $DIR/lint-tool-test.rs:14:9
-   |
-LL | #![deny(clippy_group)]
-   |         ^^^^^^^^^^^^
    = note: `#[deny(clippy::test_group)]` implied by `#[deny(clippy::group)]`
 
 warning: lint name `test_group` is deprecated and may not have an effect in the future.