mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-28 18:43:01 +00:00
fix errors after rebase
This commit is contained in:
parent
9deb3e440e
commit
d9f67325ab
5 changed files with 13 additions and 14 deletions
|
|
@ -402,6 +402,7 @@ bitflags::bitflags! {
|
|||
const SKIP_BOXED_SLICE_DURING_METHOD_DISPATCH = 1 << 6;
|
||||
const RUSTC_PAREN_SUGAR = 1 << 7;
|
||||
const COINDUCTIVE = 1 << 8;
|
||||
const ALIAS = 1 << 9;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -426,6 +427,9 @@ impl TraitSignature {
|
|||
if source.value.unsafe_token().is_some() {
|
||||
flags.insert(TraitFlags::UNSAFE);
|
||||
}
|
||||
if source.value.eq_token().is_some() {
|
||||
flags.insert(TraitFlags::ALIAS);
|
||||
}
|
||||
if attrs.by_key(sym::fundamental).exists() {
|
||||
flags |= TraitFlags::FUNDAMENTAL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue