mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Refactor ide handling for paths in derive inputs
This commit is contained in:
parent
f4ba64ee2a
commit
3018ffd85e
15 changed files with 142 additions and 77 deletions
|
@ -266,12 +266,10 @@ enum E { X(Foo) }
|
|||
fn derives() {
|
||||
check_all_ranges(
|
||||
r#"
|
||||
//- minicore:derive
|
||||
#[rustc_builtin_macro]
|
||||
pub macro Copy {}
|
||||
//^^^^
|
||||
#[rustc_builtin_macro]
|
||||
pub macro derive {}
|
||||
//^^^^^^
|
||||
#[derive(Copy)]
|
||||
//^^^^^^ ^^^^
|
||||
struct Hello(i32);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue