2018-07-15 16:11:54 -05:00
|
|
|
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-24363.rs:2:7
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | 1.create_a_type_error[
|
2018-07-15 16:11:54 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2019-12-10 15:03:13 -06:00
|
|
|
error[E0369]: cannot add `()` to `()`
|
2019-03-27 12:13:09 -05:00
|
|
|
--> $DIR/issue-24363.rs:3:11
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ()+()
|
2019-03-27 12:13:09 -05:00
|
|
|
| --^-- ()
|
|
|
|
| |
|
|
|
|
| ()
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2019-04-17 12:26:38 -05:00
|
|
|
Some errors have detailed explanations: E0369, E0610.
|
2018-07-15 16:11:54 -05:00
|
|
|
For more information about an error, try `rustc --explain E0369`.
|