mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
internal: Expand the derive attribute into a pseudo expansion
This commit is contained in:
parent
1fe3b2edd6
commit
7b89d5ede2
17 changed files with 178 additions and 155 deletions
|
@ -15,6 +15,7 @@ fn check_hover_no_result(ra_fixture: &str) {
|
|||
assert!(hover.is_none(), "hover not expected but found: {:?}", hover.unwrap());
|
||||
}
|
||||
|
||||
#[track_caller]
|
||||
fn check(ra_fixture: &str, expect: Expect) {
|
||||
let (analysis, position) = fixture::position(ra_fixture);
|
||||
let hover = analysis
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue