Debian Codegraph @

.cargo/vendor/paste/tests/ui/unsupported-literal.rs

raw
1 use paste::paste;
2
3 paste! {
4 fn [<x 1e+100 z>]() {}
5 }
6
7 paste! {
8 // `xyz` is not correct. `xbyz` is certainly not correct. Maybe `x121z`
9 // would be justifiable but for now don't accept this.
10 fn [<x b'y' z>]() {}
11 }
12
13 paste! {
14 fn [<x b"y" z>]() {}
15 }
16
17 paste! {
18 fn [<x br"y" z>]() {}
19 }
20
21 fn main() {}