compiletest_rs is now used to check that elements which have keyword names are now warned against in a UI test. compiletest_rs has been added as a build dependency.
6 lines
187 B
Text
6 lines
187 B
Text
warning: found keyword `if` - should this be a `@if`?
|
|
--> $DIR/warn_on_keyword_names.rs:9:9
|
|
|
|
|
9 | if {} //~WARNING found keyword `if` - should this be a `@if`?
|
|
| ^^
|
|
|