]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/impl-trait/nested-return-type3-tait.rs
Rollup merge of #103159 - cuviper:check_pow-final-try_opt, r=Mark-Simulacrum
[rust.git] / src / test / ui / impl-trait / nested-return-type3-tait.rs
index 3936f4dbbb426f385704f8eb8a3c7ede227d9a7b..3a97e35b4c400b705e4a383c82d4ceca09d3dd37 100644 (file)
@@ -17,6 +17,7 @@ impl<F: Duh> Trait for F {
 type Sendable = impl Send;
 
 fn foo() -> impl Trait<Assoc = Sendable> {
+    //~^ WARN opaque type `impl Trait<Assoc = Sendable>` does not satisfy its associated type bounds
     42
 }