mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-14 00:47:18 +00:00
fix test
This commit is contained in:
parent
04f2eb0fba
commit
e6913be47b
1 changed files with 3 additions and 1 deletions
|
@ -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 {}
|
||||
"#,
|
||||
|
|
Loading…
Reference in a new issue