Skip to content

Commit 05e9b01

Browse files
committed
Auto merge of #6069 - eddyb:oopsie-daisy-stabilize-beta, r=alexcrichton
[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
2 parents 2131e5a + 68e133f commit 05e9b01

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

tests/testsuite/fix.rs

-31
Original file line numberDiff line numberDiff line change
@@ -312,37 +312,6 @@ fn local_paths() {
312312
assert!(p.read_file("src/lib.rs").contains("use crate::test::foo;"));
313313
}
314314

315-
#[test]
316-
fn local_paths_no_fix() {
317-
if !is_nightly() {
318-
return;
319-
}
320-
let p = project()
321-
.file(
322-
"src/lib.rs",
323-
r#"
324-
use test::foo;
325-
326-
mod test {
327-
pub fn foo() {}
328-
}
329-
330-
pub fn f() {
331-
foo();
332-
}
333-
"#,
334-
).build();
335-
336-
let stderr = "\
337-
[CHECKING] foo v0.0.1 ([..])
338-
[FINISHED] [..]
339-
";
340-
p.cargo("fix --edition --allow-no-vcs")
341-
.with_stderr(stderr)
342-
.with_stdout("")
343-
.run();
344-
}
345-
346315
#[test]
347316
fn upgrade_extern_crate() {
348317
if !is_nightly() {

0 commit comments

Comments
 (0)