File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ impl LintStore {
201201 sess : Option < & Session > ,
202202 lints : Vec < FutureIncompatibleInfo > ) {
203203
204- for edition in edition:: ALL_EPOCHS {
204+ for edition in edition:: ALL_EDITIONS {
205205 let lints = lints. iter ( ) . filter ( |f| f. edition == Some ( * edition) ) . map ( |f| f. id )
206206 . collect :: < Vec < _ > > ( ) ;
207207 if !lints. is_empty ( ) {
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ pub enum Edition {
3636}
3737
3838// 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 ] ;
4040
4141impl fmt:: Display for Edition {
4242 fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
You can’t perform that action at this time.
0 commit comments