]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/issue-91267.stderr
Rollup merge of #93112 - pietroalbini:pa-cve-2022-21658-nightly, r=pietroalbini
[rust.git] / src / test / ui / typeck / issue-91267.stderr
1 error[E0412]: cannot find type `e` in this scope
2   --> $DIR/issue-91267.rs:2:16
3    |
4 LL |     0: u8<e<5>=e>
5    |                ^
6    |                |
7    |                not found in this scope
8    |                help: maybe you meant to write an assignment here: `let e`
9
10 error[E0229]: associated type bindings are not allowed here
11   --> $DIR/issue-91267.rs:2:11
12    |
13 LL |     0: u8<e<5>=e>
14    |           ^^^^^^ associated type not allowed here
15
16 error[E0308]: mismatched types
17   --> $DIR/issue-91267.rs:2:5
18    |
19 LL | fn main() {
20    |           - expected `()` because of default return type
21 LL |     0: u8<e<5>=e>
22    |     ^^^^^^^^^^^^^ expected `()`, found `u8`
23
24 error: aborting due to 3 previous errors
25
26 Some errors have detailed explanations: E0229, E0308, E0412.
27 For more information about an error, try `rustc --explain E0229`.