]>
git.proxmox.com Git - rustc.git/blob - tests/ui/lint/lint-ctypes-73249-2.rs
1 #![feature(type_alias_impl_trait)]
2 #![deny(improper_ctypes)]
21 pub struct A
<T
: Foo
> {
22 x
: &'
static <T
as Foo
>::Assoc
,
26 pub fn lint_me() -> A
<()>; //~ ERROR: uses type `Qux`