]> git.proxmox.com Git - rustc.git/blobdiff - tests/ui/generic-associated-types/issue-90014.rs
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / ui / generic-associated-types / issue-90014.rs
index 55db95a6d819613dac750adbd2c242046934e0fc..c4d762796e2deaa7fb845bc59858d5319bb0fc7a 100644 (file)
@@ -1,11 +1,13 @@
 // edition:2018
 
-#![feature(type_alias_impl_trait)]
+#![feature(impl_trait_in_assoc_type)]
 
 use std::future::Future;
 
 trait MakeFut {
-    type Fut<'a> where Self: 'a;
+    type Fut<'a>
+    where
+        Self: 'a;
     fn make_fut<'a>(&'a self) -> Self::Fut<'a>;
 }