]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0308]: mismatched types |
0731742a | 2 | --> $DIR/attribute-spans-preserved.rs:7:23 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | #[ foo ( let y: u32 = "z"; ) ] |
60c5eb7d XL |
5 | | --- ^^^ expected `u32`, found `&str` |
6 | | | | |
7 | | expected due to this | |
8faf50e0 XL |
8 | |
9 | error[E0308]: mismatched types | |
0731742a | 10 | --> $DIR/attribute-spans-preserved.rs:8:23 |
8faf50e0 | 11 | | |
532ac7d7 | 12 | LL | #[ bar { let x: u32 = "y"; } ] |
60c5eb7d XL |
13 | | --- ^^^ expected `u32`, found `&str` |
14 | | | | |
15 | | expected due to this | |
8faf50e0 XL |
16 | |
17 | error: aborting due to 2 previous errors | |
18 | ||
19 | For more information about this error, try `rustc --explain E0308`. |