File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
src/tools/run-make-support/src Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -267,6 +267,13 @@ macro_rules! impl_common_helpers {
267267 self . cmd. current_dir( path) ;
268268 self
269269 }
270+
271+ /// Specify the edition year.
272+ pub fn edition( & mut self , edition: & str ) -> & mut Self {
273+ self . cmd. arg( "--edition" ) ;
274+ self . cmd. arg( edition) ;
275+ self
276+ }
270277 }
271278 } ;
272279}
Original file line number Diff line number Diff line change @@ -143,13 +143,6 @@ impl Rustc {
143143 self
144144 }
145145
146- /// Specify the edition year.
147- pub fn edition ( & mut self , edition : & str ) -> & mut Self {
148- self . cmd . arg ( "--edition" ) ;
149- self . cmd . arg ( edition) ;
150- self
151- }
152-
153146 /// Specify the print request.
154147 pub fn print ( & mut self , request : & str ) -> & mut Self {
155148 self . cmd . arg ( "--print" ) ;
You can’t perform that action at this time.
0 commit comments