]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-91267.stderr
Auto merge of #107197 - aliemjay:patch-2, r=jackh726
[rust.git] / tests / ui / typeck / issue-91267.stderr
1 error[E0412]: cannot find type `e` in this scope
2   --> $DIR/issue-91267.rs:4:30
3    |
4 LL |     type_ascribe!(0, u8<e<5>=e>)
5    |                              ^ not found in this scope
6
7 error[E0229]: associated type bindings are not allowed here
8   --> $DIR/issue-91267.rs:4:25
9    |
10 LL |     type_ascribe!(0, u8<e<5>=e>)
11    |                         ^^^^^^ associated type not allowed here
12
13 error[E0308]: mismatched types
14   --> $DIR/issue-91267.rs:4:5
15    |
16 LL | fn main() {
17    |           - expected `()` because of default return type
18 LL |     type_ascribe!(0, u8<e<5>=e>)
19    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `u8`
20
21 error: aborting due to 3 previous errors
22
23 Some errors have detailed explanations: E0229, E0308, E0412.
24 For more information about an error, try `rustc --explain E0229`.