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-15 09:37:01 -08:00
|
|
|
| ^^^^^ expected `i32`, found `&str`
|
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-15 09:37:01 -08:00
|
|
|
| ^^^^^^ expected `i32`, found `&str`
|
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:25:22
|
2018-12-02 22:27:37 +03:00
|
|
|
|
|
|
|
|
|
LL | let a: i32 = "foo";
|
2019-11-15 09:37:01 -08:00
|
|
|
| ^^^^^ expected `i32`, found `&str`
|
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-15 09:37:01 -08:00
|
|
|
| ^^^^^ expected `i32`, found `&str`
|
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`.
|