]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/type-alias-impl-trait/auto-trait-leakage2.rs
1 #![feature(type_alias_impl_trait)]
7 type Foo
= impl std
::fmt
::Debug
; //~ NOTE appears within the type
9 //~| expansion of desugaring
16 fn is_send
<T
: Send
>(_
: T
) {}
17 //~^ required by this bound
18 //~| required by a bound
22 //~^ ERROR: `Rc<u32>` cannot be sent between threads safely [E0277]
23 //~| NOTE cannot be sent
24 //~| NOTE required by a bound