]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/name-clash-nullary.stderr
Rollup merge of #61207 - taiki-e:arbitrary_self_types-lifetime-elision-2, r=Centril
[rust.git] / src / test / ui / resolve / name-clash-nullary.stderr
1 error[E0308]: mismatched types
2   --> $DIR/name-clash-nullary.rs:2:7
3    |
4 LL |   let None: isize = 42;
5    |       ^^^^ expected isize, found enum `std::option::Option`
6    |
7    = note: expected type `isize`
8               found type `std::option::Option<_>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.