| github: dtolnay |
| paste::item! { | ||
| fn [<env!()>]() {} | ||
| } | ||
| fn main() {} |
Sorry, the diff of this file is not supported yet
| paste::item! { | ||
| fn [<env!(1.31)>]() {} | ||
| } | ||
| fn main() {} |
Sorry, the diff of this file is not supported yet
| paste::item! { | ||
| fn [<env!("VAR"suffix)>]() {} | ||
| } | ||
| fn main() {} |
Sorry, the diff of this file is not supported yet
| paste::item! { | ||
| fn [<env!("VAR" "VAR")>]() {} | ||
| } | ||
| fn main() {} |
Sorry, the diff of this file is not supported yet
| paste::item! { | ||
| fn [<0 f>]() {} | ||
| } | ||
| fn main() {} |
Sorry, the diff of this file is not supported yet
| paste::item! { | ||
| fn [<env! huh>]() {} | ||
| } | ||
| fn main() {} |
Sorry, the diff of this file is not supported yet
| paste::item! { | ||
| fn [<name:0>]() {} | ||
| } | ||
| fn main() {} |
Sorry, the diff of this file is not supported yet
| paste::item! { | ||
| fn [<a {} b>]() {} | ||
| } | ||
| fn main() {} |
Sorry, the diff of this file is not supported yet
| paste::item! { | ||
| fn [<a + b>]() {} | ||
| } | ||
| fn main() {} |
Sorry, the diff of this file is not supported yet
| paste::item! { | ||
| fn [<1e+100>]() {} | ||
| } | ||
| fn main() {} |
Sorry, the diff of this file is not supported yet
| { | ||
| "git": { | ||
| "sha1": "6091cbe972d57a2a706b71da3aca82c64150ef69" | ||
| "sha1": "63102a80094f7e3f55aa48c1f6076f740175d7e4" | ||
| } | ||
| } |
+2
-2
@@ -16,3 +16,3 @@ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO | ||
| name = "paste" | ||
| version = "0.1.16" | ||
| version = "0.1.17" | ||
| authors = ["David Tolnay <dtolnay@gmail.com>"] | ||
@@ -26,3 +26,3 @@ description = "Macros for all your token pasting needs" | ||
| [dependencies.paste-impl] | ||
| version = "=0.1.16" | ||
| version = "=0.1.17" | ||
@@ -29,0 +29,0 @@ [dependencies.proc-macro-hack] |
+8
-0
@@ -156,2 +156,10 @@ mod test_basic { | ||
| #[test] | ||
| fn test_empty() { | ||
| paste::expr! { | ||
| assert_eq!(stringify!([<y y>]), "yy"); | ||
| assert_eq!(stringify!([<>]).replace(' ', ""), "[<>]"); | ||
| } | ||
| } | ||
| mod test_none_delimited_single_ident { | ||
@@ -158,0 +166,0 @@ macro_rules! m { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet