summaryrefslogtreecommitdiffstats
path: root/src/test/ui/typeck/issue-91267.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/typeck/issue-91267.rs')
-rw-r--r--src/test/ui/typeck/issue-91267.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/typeck/issue-91267.rs b/src/test/ui/typeck/issue-91267.rs
new file mode 100644
index 000000000..f5a37e9cb
--- /dev/null
+++ b/src/test/ui/typeck/issue-91267.rs
@@ -0,0 +1,6 @@
+fn main() {
+ 0: u8<e<5>=e>
+ //~^ ERROR: cannot find type `e` in this scope [E0412]
+ //~| ERROR: associated type bindings are not allowed here [E0229]
+ //~| ERROR: mismatched types [E0308]
+}