]> git.lizzy.rs Git - rust.git/blob - src/test/ui/fully-qualified-type/fully-qualified-type-name1.stderr
Rollup merge of #61207 - taiki-e:arbitrary_self_types-lifetime-elision-2, r=Centril
[rust.git] / src / test / ui / fully-qualified-type / fully-qualified-type-name1.stderr
1 error[E0308]: mismatched types
2   --> $DIR/fully-qualified-type-name1.rs:5:9
3    |
4 LL |     x = 5;
5    |         ^
6    |         |
7    |         expected enum `std::option::Option`, found integer
8    |         help: try using a variant of the expected type: `Some(5)`
9    |
10    = note: expected type `std::option::Option<usize>`
11               found type `{integer}`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0308`.