Don't do .edition().rust_*()
This commit is contained in:
parent
5d90413d75
commit
03158f40d2
@ -1717,7 +1717,7 @@ pub(crate) fn report_path_resolution_error(
|
||||
Applicability::MaybeIncorrect,
|
||||
)),
|
||||
)
|
||||
} else if self.session.edition().rust_2015() {
|
||||
} else if self.session.rust_2015() {
|
||||
(
|
||||
format!("maybe a missing crate `{ident}`?"),
|
||||
Some((
|
||||
|
Loading…
Reference in New Issue
Block a user