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.
11 lines
200 B
Rust
11 lines
200 B
Rust
#![feature(proc_macro_hygiene)]
|
|
|
|
extern crate maud_macros;
|
|
|
|
use maud_macros::html;
|
|
|
|
fn main() {
|
|
let markup = html!{
|
|
if {} //~WARNING found keyword `if` - should this be a `@if`?
|
|
};
|
|
}
|