summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/name-clash-nullary.stderr
blob: 08e7fe9a678a18d29d44efe706edc3aa8263f551 (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 1 previous error

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