]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/nested-item-spans.stderr
b8776c29057c1db027a27fbb2b46f68190887f4f
[rust.git] / src / test / ui / proc-macro / nested-item-spans.stderr
1 error[E0308]: mismatched types
2   --> $DIR/nested-item-spans.rs:9:22
3    |
4 LL |         let x: u32 = "x";
5    |                      ^^^ expected u32, found reference
6    |
7    = note:   expected type `u32`
8            found reference `&'static str`
9
10 error[E0308]: mismatched types
11   --> $DIR/nested-item-spans.rs:18:22
12    |
13 LL |         let x: u32 = "x";
14    |                      ^^^ expected u32, found reference
15    |
16    = note:   expected type `u32`
17            found reference `&'static str`
18
19 error: aborting due to 2 previous errors
20
21 For more information about this error, try `rustc --explain E0308`.