]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/generic-associated-types/issue-92096.rs
Rollup merge of #92917 - jackh726:issue-91762-2, r=nikomatsakis
[rust.git] / src / test / ui / generic-associated-types / issue-92096.rs
index 066132a5d98bb8bea0323094eb2f72dcf672b3e2..2bc1af5506ffd50876bd11eb68b819021799bc33 100644 (file)
@@ -18,12 +18,12 @@ trait Client {
 }
 
 fn call_connect<C>(c: &'_ C) -> impl '_ + Future + Send
-//[migrate]~^ ERROR the parameter
-//[migrate]~| ERROR the parameter
 where
     C: Client + Send + Sync,
 {
     async move { c.connect().await }
+    //[migrate]~^ ERROR the parameter
+    //[migrate]~| ERROR the parameter
 }
 
 fn main() {}