2018-12-02 22:27:37 +03:00
|
|
|
error[E0308]: mismatched types
|
2019-05-22 01:09:58 +03:00
|
|
|
--> $DIR/attribute-with-error.rs:10:18
|
2018-12-02 22:27:37 +03:00
|
|
|
|
|
|
|
|
LL | let a: i32 = "foo";
|
2019-11-18 21:00:24 -08:00
|
|
|
| --- ^^^^^ expected `i32`, found `&str`
|
|
|
|
| |
|
|
|
|
| expected due to this
|
2018-12-02 22:27:37 +03:00
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
2019-05-22 01:09:58 +03:00
|
|
|
--> $DIR/attribute-with-error.rs:12:18
|
2018-12-02 22:27:37 +03:00
|
|
|
|
|
|
|
|
LL | let b: i32 = "f'oo";
|
2019-11-18 21:00:24 -08:00
|
|
|
| --- ^^^^^^ expected `i32`, found `&str`
|
|
|
|
| |
|
|
|
|
| expected due to this
|
2018-12-02 22:27:37 +03:00
|
|
|
|
2022-06-22 19:12:18 -04: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 22:27:37 +03:00
|
|
|
error[E0308]: mismatched types
|
2019-05-22 01:09:58 +03:00
|
|
|
--> $DIR/attribute-with-error.rs:35:22
|
2018-12-02 22:27:37 +03:00
|
|
|
|
|
|
|
|
LL | let a: i32 = "foo";
|
2019-11-18 21:00:24 -08:00
|
|
|
| --- ^^^^^ expected `i32`, found `&str`
|
|
|
|
| |
|
|
|
|
| expected due to this
|
2018-12-02 22:27:37 +03:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|