diff options
| author | Michael Goulet <michael@errs.io> | 2022-06-22 10:21:24 -0700 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2022-06-24 15:47:59 -0700 |
| commit | e80ccedbaeeb5b97880d83ea95c79fc1d0dcf418 (patch) | |
| tree | 198c2075fd657a7bbbca8be8e0e2da00779bf250 /src | |
| parent | 20cea3ebb468df74447ed3aa5e646f741208bea8 (diff) | |
| download | rust-e80ccedbaeeb5b97880d83ea95c79fc1d0dcf418.tar.gz rust-e80ccedbaeeb5b97880d83ea95c79fc1d0dcf418.zip | |
Use write! instead of p! to avoid having to use weird scoping
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/ui/async-await/issue-70935-complex-spans.drop_tracking.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/async-await/issue-70935-complex-spans.drop_tracking.stderr b/src/test/ui/async-await/issue-70935-complex-spans.drop_tracking.stderr index 43b7cb8cece..e9b76b19dc4 100644 --- a/src/test/ui/async-await/issue-70935-complex-spans.drop_tracking.stderr +++ b/src/test/ui/async-await/issue-70935-complex-spans.drop_tracking.stderr @@ -22,7 +22,7 @@ LL | async fn baz<T>(_c: impl FnMut() -> T) where T: Future<Output=()> { LL | | LL | | } | |_^ - = note: required because it captures the following types: `ResumeTy`, `impl Future<Output = ()>`, `()` + = note: required because it captures the following types: `ResumeTy`, `impl for<'r, 's, 't0> Future<Output = ()>`, `()` note: required because it's used within this `async` block --> $DIR/issue-70935-complex-spans.rs:23:16 | |
