]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/name-clash-nullary.stderr
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
[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 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`.