]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #47203 - varkor:output-filename-conflicts-with-directory, r=estebank
authorbors <bors@rust-lang.org>
Tue, 6 Feb 2018 09:51:03 +0000 (09:51 +0000)
committerbors <bors@rust-lang.org>
Tue, 6 Feb 2018 09:51:03 +0000 (09:51 +0000)
Warn when rustc output conflicts with existing directories

When the compiled executable would conflict with a directory, display a
rustc error instead of a verbose and potentially-confusing linker
error. This is a usability improvement, and doesn’t actually change
behaviour with regards to compilation success. This addresses the
concern in #35887. Fixes #13098.

1  2 
src/librustc/session/config.rs

Simple merge