]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/visible-private-types-feature-gate.rs
Rewrite VisiblePrivateTypesVisitor
[rust.git] / src / test / run-pass / visible-private-types-feature-gate.rs
index 9518671b4799dbb472a339da794d7561575eebfd..4aa0867ae478e4edd314f090d614815199ed7633 100644 (file)
@@ -8,9 +8,11 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// pretty-expanded FIXME #23616
+
 #![feature(visible_private_types)]
 
-trait Foo {}
+trait Foo { fn dummy(&self) { } }
 
 pub trait Bar : Foo {}
 
@@ -19,4 +21,3 @@ pub trait Bar : Foo {}
 pub fn f(_: Baz) {}
 
 fn main() {}
-