Skip to content

Commit a19d336

Browse files
committed
rustc: Print out a prettier version of crate types
Closes rust-lang/cargo#1234
1 parent c5961ad commit a19d336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ pub fn collect_crate_types(session: &Session,
882882
let res = !link::invalid_output_for_target(session, *crate_type);
883883

884884
if !res {
885-
session.warn(&format!("dropping unsupported crate type `{:?}` \
885+
session.warn(&format!("dropping unsupported crate type `{}` \
886886
for target `{}`",
887887
*crate_type, session.opts.target_triple)[]);
888888
}

0 commit comments

Comments
 (0)