mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Update tests
This commit is contained in:
parent
0becb6c819
commit
0347f81244
1 changed files with 2 additions and 2 deletions
|
@ -2636,7 +2636,7 @@ pub struct S;
|
||||||
//- /main.rs crate:main deps:lib new_source_root:local
|
//- /main.rs crate:main deps:lib new_source_root:local
|
||||||
use lib::S$0;
|
use lib::S$0;
|
||||||
"#,
|
"#,
|
||||||
"error: Cannot rename a non-local definition. Set `renameExternalItems` to `true` to allow renaming for this item.",
|
"error: Cannot rename a non-local definition as the config for it is disabled",
|
||||||
false,
|
false,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -2663,7 +2663,7 @@ use core::hash::Hash;
|
||||||
#[derive(H$0ash)]
|
#[derive(H$0ash)]
|
||||||
struct A;
|
struct A;
|
||||||
"#,
|
"#,
|
||||||
"error: Cannot rename a non-local definition. Set `renameExternalItems` to `true` to allow renaming for this item.",
|
"error: Cannot rename a non-local definition as the config for it is disabled",
|
||||||
false,
|
false,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue