Rollup merge of #107508 - WaffleLapkin:uneq'15, r=oli-obk
`Edition` micro refactor r? ``@oli-obk``
This commit is contained in:
commit
fe44f3bdd0
6 changed files with 27 additions and 26 deletions
|
@ -1717,7 +1717,7 @@ impl<'a> Resolver<'a> {
|
|||
Applicability::MaybeIncorrect,
|
||||
)),
|
||||
)
|
||||
} else if self.session.edition() == Edition::Edition2015 {
|
||||
} else if self.session.rust_2015() {
|
||||
(
|
||||
format!("maybe a missing crate `{ident}`?"),
|
||||
Some((
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue