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
|
|
|
|
|
|
|
|
LL | r#if true { } //~ ERROR found `true`
|
|
|
|
| ^^^^ expected one of 8 possible tokens here
|
|
|
|
|
|
|
|
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `Test`
|
2019-01-06 09:33:05 -06:00
|
|
|
--> $DIR/raw-literal-keywords.rs:7:14
|
2018-03-09 23:56:40 -06:00
|
|
|
|
|
|
|
|
LL | r#struct Test; //~ ERROR found `Test`
|
|
|
|
| ^^^^ expected one of 8 possible tokens here
|
|
|
|
|
|
|
|
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `Test`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/raw-literal-keywords.rs:12:13
|
2018-03-09 23:56:40 -06:00
|
|
|
|
|
|
|
|
LL | r#union Test; //~ ERROR found `Test`
|
|
|
|
| ^^^^ expected one of 8 possible tokens here
|
|
|
|
|
2019-01-06 09:33:05 -06:00
|
|
|
error[E0425]: cannot find value `if` in this scope
|
|
|
|
--> $DIR/raw-literal-keywords.rs:2:5
|
|
|
|
|
|
|
|
|
LL | r#if true { } //~ ERROR found `true`
|
|
|
|
| ^^^^ not found in this scope
|
|
|
|
|
|
|
|
error[E0425]: cannot find value `struct` in this scope
|
|
|
|
--> $DIR/raw-literal-keywords.rs:7:5
|
|
|
|
|
|
|
|
|
LL | r#struct Test; //~ ERROR found `Test`
|
|
|
|
| ^^^^^^^^ not found in this scope
|
|
|
|
|
|
|
|
error[E0425]: cannot find value `union` in this scope
|
|
|
|
--> $DIR/raw-literal-keywords.rs:12:5
|
|
|
|
|
|
|
|
|
LL | r#union Test; //~ ERROR found `Test`
|
|
|
|
| ^^^^^^^ not found in this scope
|
|
|
|
|
|
|
|
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`.
|