]> git.proxmox.com Git - rustc.git/blame - src/test/ui/existential_types/generic_type_does_not_live_long_enough.nll.stderr
New upstream version 1.30.0+dfsg1
[rustc.git] / src / test / ui / existential_types / generic_type_does_not_live_long_enough.nll.stderr
CommitLineData
8faf50e0
XL
1error[E0308]: mismatched types
2 --> $DIR/generic_type_does_not_live_long_enough.rs:16:18
3 |
4LL | let z: i32 = x; //~ ERROR mismatched types
b7449926 5 | ^ expected i32, found opaque type
8faf50e0
XL
6 |
7 = note: expected type `i32`
8 found type `WrongGeneric::<&{integer}>`
9
8faf50e0
XL
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0308`.