]> git.proxmox.com Git - rustc.git/blob - src/test/ui/resolve/name-clash-nullary.stderr
New upstream version 1.67.1+dfsg1
[rustc.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`.