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