mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Split CrateImplDefs
in inherent and trait impls
This makes the intention of inherent vs. trait impls somewhat more clear and also fixes (?) an issue where trait impls with an unresolved trait were added as inherent impls instead (hence the test changes).
This commit is contained in:
parent
07ba986db7
commit
6bde542a39
7 changed files with 133 additions and 121 deletions
|
@ -219,6 +219,10 @@ impl T for &Foo {}
|
|||
#[derive(Copy)]
|
||||
//^^^^^^^^^^^^^^^
|
||||
struct Foo<|>;
|
||||
|
||||
mod marker {
|
||||
trait Copy {}
|
||||
}
|
||||
"#,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue