1 error[E0308]: mismatched types
2 --> $DIR/nested-item-spans.rs:9:22
5 | ^^^ expected u32, found reference
7 = note: expected type `u32`
8 found type `&'static str`
10 error[E0308]: mismatched types
11 --> $DIR/nested-item-spans.rs:18:22
13 LL | let x: u32 = "x";
14 | ^^^ expected u32, found reference
16 = note: expected type `u32`
17 found type `&'static str`
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0308`.