From 64d98f8ee037282c35007b64c2649055c56af1db Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:03 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- .../ui/editions/edition-keywords-2015-2015-expansion.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/ui/editions/edition-keywords-2015-2015-expansion.rs (limited to 'tests/ui/editions/edition-keywords-2015-2015-expansion.rs') diff --git a/tests/ui/editions/edition-keywords-2015-2015-expansion.rs b/tests/ui/editions/edition-keywords-2015-2015-expansion.rs new file mode 100644 index 000000000..b2695bea5 --- /dev/null +++ b/tests/ui/editions/edition-keywords-2015-2015-expansion.rs @@ -0,0 +1,17 @@ +// edition:2015 +// aux-build:edition-kw-macro-2015.rs +// check-pass + +#![allow(keyword_idents)] + +#[macro_use] +extern crate edition_kw_macro_2015; + +mod one_async { + produces_async! {} // OK +} +mod two_async { + produces_async_raw! {} // OK +} + +fn main() {} -- cgit v1.2.3