mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Fix rustc_skip_array_during_method_dispatch edition check
This commit is contained in:
parent
5dbe3fe75c
commit
f5e4eb2ef9
1 changed files with 1 additions and 1 deletions
|
@ -1157,7 +1157,7 @@ fn iterate_trait_method_candidates(
|
||||||
{
|
{
|
||||||
// FIXME: this should really be using the edition of the method name's span, in case it
|
// FIXME: this should really be using the edition of the method name's span, in case it
|
||||||
// comes from a macro
|
// comes from a macro
|
||||||
if db.crate_graph()[krate].edition < Edition::CURRENT {
|
if db.crate_graph()[krate].edition < Edition::Edition2021 {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue