mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
fix: sort and deduplicate auto traits in trait object types
This commit is contained in:
parent
5543dd88c9
commit
7ecead23c8
3 changed files with 132 additions and 9 deletions
|
@ -1910,7 +1910,7 @@ impl<T> Vec<T> {
|
|||
pub struct Box<T> {}
|
||||
|
||||
trait Display {}
|
||||
trait Sync {}
|
||||
auto trait Sync {}
|
||||
|
||||
fn main() {
|
||||
// The block expression wrapping disables the constructor hint hiding logic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue