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