We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fix::local_paths_no_fix
crate_in_paths
1 parent 2131e5a commit 68e133fCopy full SHA for 68e133f
tests/testsuite/fix.rs
@@ -312,37 +312,6 @@ fn local_paths() {
312
assert!(p.read_file("src/lib.rs").contains("use crate::test::foo;"));
313
}
314
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
346
#[test]
347
fn upgrade_extern_crate() {
348
if !is_nightly() {
0 commit comments