Don't do .edition().rust_*()

This commit is contained in:
Maybe Waffle 2023-01-31 09:56:50 +00:00
parent 5d90413d75
commit 03158f40d2

View File

@ -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((