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 {
267
267
self . cmd. current_dir( path) ;
268
268
self
269
269
}
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
+ }
270
277
}
271
278
} ;
272
279
}
Original file line number Diff line number Diff line change @@ -143,13 +143,6 @@ impl Rustc {
143
143
self
144
144
}
145
145
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
-
153
146
/// Specify the print request.
154
147
pub fn print ( & mut self , request : & str ) -> & mut Self {
155
148
self . cmd . arg ( "--print" ) ;
You can’t perform that action at this time.
0 commit comments