Skip to content

Commit 4d65048

Browse files
committed
Regression in issue 99684 fixed
1 parent f1ca69d commit 4d65048

File tree

2 files changed

+1
-31
lines changed

2 files changed

+1
-31
lines changed

src/test/ui/macros/format-args-temporaries-async.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// FIXME: check-pass
2-
// check-fail
1+
// check-pass
32
// edition:2021
43

54
use std::fmt::{self, Display};
@@ -30,9 +29,7 @@ impl<'a, T> Future for WriteFmtFuture<'a, T> {
3029

3130
async fn async_main() {
3231
let _write = write!(&mut AsyncStdout, "...").await;
33-
//~^ ERROR temporary value dropped while borrowed
3432
let _writeln = writeln!(&mut AsyncStdout, "...").await;
35-
//~^ ERROR temporary value dropped while borrowed
3633
}
3734

3835
fn main() {

src/test/ui/macros/format-args-temporaries-async.stderr

-27
This file was deleted.

0 commit comments

Comments
 (0)