summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-consts/issue-93835.stderr
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 /tests/ui/associated-consts/issue-93835.stderr
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 'tests/ui/associated-consts/issue-93835.stderr')
-rw-r--r--tests/ui/associated-consts/issue-93835.stderr40
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/ui/associated-consts/issue-93835.stderr b/tests/ui/associated-consts/issue-93835.stderr
new file mode 100644
index 000000000..be0573a13
--- /dev/null
+++ b/tests/ui/associated-consts/issue-93835.stderr
@@ -0,0 +1,40 @@
+error[E0425]: cannot find value `p` in this scope
+ --> $DIR/issue-93835.rs:4:19
+ |
+LL | type_ascribe!(p, a<p:p<e=6>>);
+ | ^ not found in this scope
+
+error[E0412]: cannot find type `a` in this scope
+ --> $DIR/issue-93835.rs:4:22
+ |
+LL | type_ascribe!(p, a<p:p<e=6>>);
+ | ^ not found in this scope
+
+error[E0405]: cannot find trait `p` in this scope
+ --> $DIR/issue-93835.rs:4:26
+ |
+LL | type_ascribe!(p, a<p:p<e=6>>);
+ | ^ not found in this scope
+
+error[E0658]: associated const equality is incomplete
+ --> $DIR/issue-93835.rs:4:28
+ |
+LL | type_ascribe!(p, a<p:p<e=6>>);
+ | ^^^
+ |
+ = note: see issue #92827 <https://github.com/rust-lang/rust/issues/92827> for more information
+ = help: add `#![feature(associated_const_equality)]` to the crate attributes to enable
+
+error[E0658]: associated type bounds are unstable
+ --> $DIR/issue-93835.rs:4:24
+ |
+LL | type_ascribe!(p, a<p:p<e=6>>);
+ | ^^^^^^^^
+ |
+ = note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
+ = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
+
+error: aborting due to 5 previous errors
+
+Some errors have detailed explanations: E0405, E0412, E0425, E0658.
+For more information about an error, try `rustc --explain E0405`.