]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/regions/regions-assoc-type-static-bound-in-trait-not-met.rs
1 // Test that the compiler checks that the 'static bound declared in
2 // the trait must be satisfied on the impl. Issue #20890.
9 impl<'a
> Foo
for &'a
i32 {
11 //~^ ERROR the type `&'a i32` does not fulfill the required lifetime
14 impl<'a
> Foo
for i32 {