summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/issue-100199.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/ui/macros/issue-100199.rs
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/macros/issue-100199.rs')
-rw-r--r--src/test/ui/macros/issue-100199.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/ui/macros/issue-100199.rs b/src/test/ui/macros/issue-100199.rs
deleted file mode 100644
index 6e50afa07..000000000
--- a/src/test/ui/macros/issue-100199.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-#[issue_100199::struct_with_bound] //~ ERROR cannot find trait `MyTrait` in the crate root
-struct Foo {}
-// The above must be on the first line so that it's span points to pos 0.
-// This used to trigger an ICE because the diagnostic emitter would get
-// an unexpected dummy span (lo == 0 == hi) while attempting to print a
-// suggestion.
-
-// aux-build: issue-100199.rs
-
-extern crate issue_100199;
-
-mod traits {
- pub trait MyTrait {}
-}
-
-fn main() {}