2018-03-09 23:56:40 -06:00
|
|
|
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `true`
|
2019-01-06 09:33:05 -06:00
|
|
|
--> $DIR/raw-literal-keywords.rs:2:10
|
2018-03-09 23:56:40 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | r#if true { }
|
2018-03-09 23:56:40 -06:00
|
|
|
| ^^^^ expected one of 8 possible tokens here
|
|
|
|
|
|
|
|
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `Test`
|
2019-07-12 20:37:57 -05:00
|
|
|
--> $DIR/raw-literal-keywords.rs:6:14
|
2018-03-09 23:56:40 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | r#struct Test;
|
2018-03-09 23:56:40 -06:00
|
|
|
| ^^^^ expected one of 8 possible tokens here
|
|
|
|
|
|
|
|
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `Test`
|
2019-07-12 20:37:57 -05:00
|
|
|
--> $DIR/raw-literal-keywords.rs:10:13
|
2018-03-09 23:56:40 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | r#union Test;
|
2018-03-09 23:56:40 -06:00
|
|
|
| ^^^^ expected one of 8 possible tokens here
|
|
|
|
|
2019-01-06 09:33:05 -06:00
|
|
|
error[E0425]: cannot find value `if` in this scope
|
2019-07-12 20:37:57 -05:00
|
|
|
--> $DIR/raw-literal-keywords.rs:14:13
|
2019-01-06 09:33:05 -06:00
|
|
|
|
|
2019-07-12 20:37:57 -05:00
|
|
|
LL | let _ = r#if;
|
|
|
|
| ^^^^ not found in this scope
|
2019-01-06 09:33:05 -06:00
|
|
|
|
|
|
|
error[E0425]: cannot find value `struct` in this scope
|
2019-07-12 20:37:57 -05:00
|
|
|
--> $DIR/raw-literal-keywords.rs:18:13
|
2019-01-06 09:33:05 -06:00
|
|
|
|
|
2019-07-12 20:37:57 -05:00
|
|
|
LL | let _ = r#struct;
|
|
|
|
| ^^^^^^^^ not found in this scope
|
2019-01-06 09:33:05 -06:00
|
|
|
|
|
|
|
error[E0425]: cannot find value `union` in this scope
|
2019-07-12 20:37:57 -05:00
|
|
|
--> $DIR/raw-literal-keywords.rs:22:13
|
2019-01-06 09:33:05 -06:00
|
|
|
|
|
2019-07-12 20:37:57 -05:00
|
|
|
LL | let _ = r#union;
|
|
|
|
| ^^^^^^^ not found in this scope
|
2019-01-06 09:33:05 -06:00
|
|
|
|
|
|
|
error: aborting due to 6 previous errors
|
2018-03-09 23:56:40 -06:00
|
|
|
|
2019-01-06 09:33:05 -06:00
|
|
|
For more information about this error, try `rustc --explain E0425`.
|