mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-12 06:53:05 +00:00
fix test
This commit is contained in:
parent
04f2eb0fba
commit
e6913be47b
@ -366,10 +366,12 @@ fn main() {
|
|||||||
fn macro_expand_derive() {
|
fn macro_expand_derive() {
|
||||||
check(
|
check(
|
||||||
r#"
|
r#"
|
||||||
|
//- proc_macros: identity
|
||||||
|
|
||||||
#[rustc_builtin_macro]
|
#[rustc_builtin_macro]
|
||||||
pub macro Clone {}
|
pub macro Clone {}
|
||||||
|
|
||||||
#[doc = ""]
|
#[proc_macros::identity]
|
||||||
#[derive(C$0lone)]
|
#[derive(C$0lone)]
|
||||||
struct Foo {}
|
struct Foo {}
|
||||||
"#,
|
"#,
|
||||||
|
Loading…
Reference in New Issue
Block a user