Skip to content

Commit 4af830a

Browse files
committed
Error message more like original
1 parent 37829af commit 4af830a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_driver/driver.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,8 +1337,8 @@ pub fn build_output_filenames(input: &Input,
13371337
.count();
13381338
let ofile = if unnamed_output_types > 1 &&
13391339
sess.opts.output_types.contains_key(&OutputType::Exe) {
1340-
sess.warn("ignoring output name requested with -o for \"link\" output because \
1341-
multiple outputs were requested");
1340+
sess.warn("ignoring specified output filename for 'link' output because multiple \
1341+
outputs were requested");
13421342
None
13431343
} else {
13441344
Some(out_file.clone())

0 commit comments

Comments
 (0)