2021-07-16 09:54:47 -05:00
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/attribute-with-error.rs:25:22
|
|
|
|
|
|
|
|
|
LL | let a: i32 = "foo";
|
|
|
|
| --- ^^^^^ expected `i32`, found `&str`
|
|
|
|
| |
|
|
|
|
| expected due to this
|
|
|
|
|
2018-12-02 13:27:37 -06:00
|
|
|
error[E0308]: mismatched types
|
2019-05-21 17:09:58 -05:00
|
|
|
--> $DIR/attribute-with-error.rs:10:18
|
2018-12-02 13:27:37 -06:00
|
|
|
|
|
|
|
|
LL | let a: i32 = "foo";
|
2019-11-18 23:00:24 -06:00
|
|
|
| --- ^^^^^ expected `i32`, found `&str`
|
|
|
|
| |
|
|
|
|
| expected due to this
|
2018-12-02 13:27:37 -06:00
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
2019-05-21 17:09:58 -05:00
|
|
|
--> $DIR/attribute-with-error.rs:12:18
|
2018-12-02 13:27:37 -06:00
|
|
|
|
|
|
|
|
LL | let b: i32 = "f'oo";
|
2019-11-18 23:00:24 -06:00
|
|
|
| --- ^^^^^^ expected `i32`, found `&str`
|
|
|
|
| |
|
|
|
|
| expected due to this
|
2018-12-02 13:27:37 -06:00
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
2019-05-21 17:09:58 -05:00
|
|
|
--> $DIR/attribute-with-error.rs:35:22
|
2018-12-02 13:27:37 -06:00
|
|
|
|
|
|
|
|
LL | let a: i32 = "foo";
|
2019-11-18 23:00:24 -06:00
|
|
|
| --- ^^^^^ expected `i32`, found `&str`
|
|
|
|
| |
|
|
|
|
| expected due to this
|
2018-12-02 13:27:37 -06:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|