summaryrefslogtreecommitdiffstats
path: root/src/test/ui/coherence/coherence-free-vs-bound-region.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:03 +0000
commit64d98f8ee037282c35007b64c2649055c56af1db (patch)
tree5492bcf97fce41ee1c0b1cc2add283f3e66cdab0 /src/test/ui/coherence/coherence-free-vs-bound-region.stderr
parentAdding debian version 1.67.1+dfsg1-1. (diff)
downloadrustc-64d98f8ee037282c35007b64c2649055c56af1db.tar.xz
rustc-64d98f8ee037282c35007b64c2649055c56af1db.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/coherence/coherence-free-vs-bound-region.stderr')
-rw-r--r--src/test/ui/coherence/coherence-free-vs-bound-region.stderr20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/test/ui/coherence/coherence-free-vs-bound-region.stderr b/src/test/ui/coherence/coherence-free-vs-bound-region.stderr
deleted file mode 100644
index e2d84b833..000000000
--- a/src/test/ui/coherence/coherence-free-vs-bound-region.stderr
+++ /dev/null
@@ -1,20 +0,0 @@
-error: conflicting implementations of trait `TheTrait` for type `fn(&u8)`
- --> $DIR/coherence-free-vs-bound-region.rs:16:1
- |
-LL | impl<'a> TheTrait for fn(&'a u8) {}
- | -------------------------------- first implementation here
-LL |
-LL | impl TheTrait for fn(&u8) {
- | ^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `fn(&u8)`
- |
- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
- = note: for more information, see issue #56105 <https://github.com/rust-lang/rust/issues/56105>
- = note: this behavior recently changed as a result of a bug fix; see rust-lang/rust#56105 for details
-note: the lint level is defined here
- --> $DIR/coherence-free-vs-bound-region.rs:10:9
- |
-LL | #![deny(coherence_leak_check)]
- | ^^^^^^^^^^^^^^^^^^^^
-
-error: aborting due to previous error
-