File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ impl LintStore {
201
201
sess : Option < & Session > ,
202
202
lints : Vec < FutureIncompatibleInfo > ) {
203
203
204
- for edition in edition:: ALL_EPOCHS {
204
+ for edition in edition:: ALL_EDITIONS {
205
205
let lints = lints. iter ( ) . filter ( |f| f. edition == Some ( * edition) ) . map ( |f| f. id )
206
206
. collect :: < Vec < _ > > ( ) ;
207
207
if !lints. is_empty ( ) {
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ pub enum Edition {
36
36
}
37
37
38
38
// must be in order from oldest to newest
39
- pub const ALL_EPOCHS : & [ Edition ] = & [ Edition :: Edition2015 , Edition :: Edition2018 ] ;
39
+ pub const ALL_EDITIONS : & [ Edition ] = & [ Edition :: Edition2015 , Edition :: Edition2018 ] ;
40
40
41
41
impl fmt:: Display for Edition {
42
42
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
You can’t perform that action at this time.
0 commit comments