]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/async-await/issue-70935-complex-spans.drop_tracking.stderr
Merge from rustc
[rust.git] / src / test / ui / async-await / issue-70935-complex-spans.drop_tracking.stderr
index a8fd97cde8f7a8bd7b9f64c71b96179ed7658dce..721234aa4a782875a2e90e32d4c2f5bea168c7f0 100644 (file)
@@ -18,7 +18,7 @@ LL |   async fn baz<T>(_c: impl FnMut() -> T) where T: Future<Output=()> {
    |  ___________________________________________________________________^
 LL | | }
    | |_^
-   = note: required because it captures the following types: `&mut Context<'_>`, `impl Future<Output = ()>`, `()`
+   = note: required because it captures the following types: `ResumeTy`, `impl Future<Output = ()>`, `()`
 note: required because it's used within this `async` block
   --> $DIR/issue-70935-complex-spans.rs:16:5
    |