This commit is contained in:
Anatol Ulrich 2021-10-26 20:15:25 +02:00
parent 04f2eb0fba
commit e6913be47b

View file

@ -366,10 +366,12 @@ fn main() {
fn macro_expand_derive() {
check(
r#"
//- proc_macros: identity
#[rustc_builtin_macro]
pub macro Clone {}
#[doc = ""]
#[proc_macros::identity]
#[derive(C$0lone)]
struct Foo {}
"#,