mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 21:04:47 +00:00
24 lines
313 B
Rust
24 lines
313 B
Rust
/**
|
|
Test that the tokenizer properly reject tokens with spaces.
|
|
|
|
This should worlk:
|
|
|
|
```
|
|
mod x {
|
|
use sixtyfps::*;
|
|
sixtyfps!{ Hello := Rectangle { } }
|
|
}
|
|
```
|
|
|
|
But his not:
|
|
|
|
```compile_fail
|
|
mod x {
|
|
use sixtyfps::*;
|
|
sixtyfps!{ Hello : = Rectangle { } }
|
|
}
|
|
```
|
|
|
|
*/
|
|
#[cfg(doctest)]
|
|
const basic: u32 = 0;
|