Skip to content

Commit

Permalink
Auto merge of #6069 - eddyb:oopsie-daisy-stabilize-beta, r=alexcrichton
Browse files Browse the repository at this point in the history
[beta] Remove `fix::local_paths_no_fix`, as `crate_in_paths` is getting stabilized.

Beta backport of #6068. Needed for rust-lang/rust#54404 (blocking RC1).

r? @alexcrichton
  • Loading branch information
bors committed Sep 21, 2018
2 parents 2131e5a + 68e133f commit 05e9b01
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions tests/testsuite/fix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,37 +312,6 @@ fn local_paths() {
assert!(p.read_file("src/lib.rs").contains("use crate::test::foo;"));
}

#[test]
fn local_paths_no_fix() {
if !is_nightly() {
return;
}
let p = project()
.file(
"src/lib.rs",
r#"
use test::foo;
mod test {
pub fn foo() {}
}
pub fn f() {
foo();
}
"#,
).build();

let stderr = "\
[CHECKING] foo v0.0.1 ([..])
[FINISHED] [..]
";
p.cargo("fix --edition --allow-no-vcs")
.with_stderr(stderr)
.with_stdout("")
.run();
}

#[test]
fn upgrade_extern_crate() {
if !is_nightly() {
Expand Down

0 comments on commit 05e9b01

Please sign in to comment.