Skip to content

Commit 194acaf

Browse files
committed
Update .stderr after rebase
1 parent 499aad1 commit 194acaf

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

tests/ui/explicit_write.stderr

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,51 @@
11
error: use of `write!(stdout(), ...).unwrap()`
2-
--> $DIR/explicit_write.rs:28:9
2+
--> $DIR/explicit_write.rs:24:9
33
|
4-
28 | write!(std::io::stdout(), "test").unwrap();
4+
24 | write!(std::io::stdout(), "test").unwrap();
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `print!("test")`
66
|
77
= note: `-D clippy::explicit-write` implied by `-D warnings`
88

99
error: use of `write!(stderr(), ...).unwrap()`
10-
--> $DIR/explicit_write.rs:29:9
10+
--> $DIR/explicit_write.rs:25:9
1111
|
12-
29 | write!(std::io::stderr(), "test").unwrap();
12+
25 | write!(std::io::stderr(), "test").unwrap();
1313
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprint!("test")`
1414

1515
error: use of `writeln!(stdout(), ...).unwrap()`
16-
--> $DIR/explicit_write.rs:30:9
16+
--> $DIR/explicit_write.rs:26:9
1717
|
18-
30 | writeln!(std::io::stdout(), "test").unwrap();
18+
26 | writeln!(std::io::stdout(), "test").unwrap();
1919
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `println!("test")`
2020

2121
error: use of `writeln!(stderr(), ...).unwrap()`
22-
--> $DIR/explicit_write.rs:31:9
22+
--> $DIR/explicit_write.rs:27:9
2323
|
24-
31 | writeln!(std::io::stderr(), "test").unwrap();
24+
27 | writeln!(std::io::stderr(), "test").unwrap();
2525
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("test")`
2626

2727
error: use of `stdout().write_fmt(...).unwrap()`
28-
--> $DIR/explicit_write.rs:32:9
28+
--> $DIR/explicit_write.rs:28:9
2929
|
30-
32 | std::io::stdout().write_fmt(format_args!("test")).unwrap();
30+
28 | std::io::stdout().write_fmt(format_args!("test")).unwrap();
3131
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `print!("test")`
3232

3333
error: use of `stderr().write_fmt(...).unwrap()`
34-
--> $DIR/explicit_write.rs:33:9
34+
--> $DIR/explicit_write.rs:29:9
3535
|
36-
33 | std::io::stderr().write_fmt(format_args!("test")).unwrap();
36+
29 | std::io::stderr().write_fmt(format_args!("test")).unwrap();
3737
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprint!("test")`
3838

3939
error: use of `writeln!(stdout(), ...).unwrap()`
40-
--> $DIR/explicit_write.rs:36:9
40+
--> $DIR/explicit_write.rs:32:9
4141
|
42-
36 | writeln!(std::io::stdout(), "test/ntest").unwrap();
42+
32 | writeln!(std::io::stdout(), "test/ntest").unwrap();
4343
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `println!("test/ntest")`
4444

4545
error: use of `writeln!(stderr(), ...).unwrap()`
46-
--> $DIR/explicit_write.rs:37:9
46+
--> $DIR/explicit_write.rs:33:9
4747
|
48-
37 | writeln!(std::io::stderr(), "test/ntest").unwrap();
48+
33 | writeln!(std::io::stderr(), "test/ntest").unwrap();
4949
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `eprintln!("test/ntest")`
5050

5151
error: aborting due to 8 previous errors

0 commit comments

Comments
 (0)