error[E0308]: mismatched types --> $DIR/nested-item-spans.rs:9:22 | LL | let x: u32 = "x"; | --- ^^^ expected `u32`, found `&str` | | | expected due to this error[E0308]: mismatched types --> $DIR/nested-item-spans.rs:18:22 | LL | let x: u32 = "x"; | --- ^^^ expected `u32`, found `&str` | | | expected due to this error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0308`.