Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
21
third-party/vendor/paste/tests/ui/unsupported-literal.rs
vendored
Normal file
21
third-party/vendor/paste/tests/ui/unsupported-literal.rs
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
use paste::paste;
|
||||
|
||||
paste! {
|
||||
fn [<x 1e+100 z>]() {}
|
||||
}
|
||||
|
||||
paste! {
|
||||
// `xyz` is not correct. `xbyz` is certainly not correct. Maybe `x121z`
|
||||
// would be justifiable but for now don't accept this.
|
||||
fn [<x b'y' z>]() {}
|
||||
}
|
||||
|
||||
paste! {
|
||||
fn [<x b"y" z>]() {}
|
||||
}
|
||||
|
||||
paste! {
|
||||
fn [<x br"y" z>]() {}
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue