1 #![feature(type_alias_impl_trait)]
6 //~^ ERROR cycle detected
7 //~| ERROR cycle detected
9 fn is_send<T: Send>() { }
12 // Error: this function does not constrain `Foo` to any particular
13 // hidden type, so it cannot rely on `Send` being true.
18 // Constrain `Foo = u32`
21 // while we could know this from the hidden type, it would
22 // need extra roundabout logic to support it.