summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/name-clash-nullary.stderr
blob: fffd3027afdb35a7c1c933fc8e7f6ea3a59464ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0308]: mismatched types
  --> $DIR/name-clash-nullary.rs:2:7
   |
LL |   let None: isize = 42;
   |       ^^^^  ----- expected due to this
   |       |
   |       expected `isize`, found `Option<_>`
   |
   = note: expected type `isize`
              found enum `Option<_>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.