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