]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/name-clash-nullary.stderr
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / 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 due to this
6    |       |
7    |       expected `isize`, found enum `Option`
8    |
9    = note: expected type `isize`
10               found enum `Option<_>`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0308`.