You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// When the compiled executable would conflict with a directory, a
2
+
// rustc error should be displayed instead of a verbose and
3
+
// potentially-confusing linker error.
4
+
// See https://github.com/rust-lang/rust/pull/47203
5
+
6
+
use run_make_support::{fs_wrapper, rustc};
7
+
8
+
fnmain(){
9
+
fs_wrapper::create_dir("foo");
10
+
rustc().input("foo.rs").output("foo").run_fail().assert_stderr_contains(r#"the generated executable for the input file "foo.rs" conflicts with the existing directory "foo""#);
0 commit comments