Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 236 Bytes
// build-pass (FIXME(62277): could be check-pass?)
#![allow(dead_code)]
// regression test for #19097
struct Foo<T>(T);
impl<'a, T> Foo<&'a T> {
fn foo(&self) {}
}
impl<'a, T> Foo<&'a mut T> {
fn foo(&self) {}
}
fn main() {}
You can’t perform that action at this time.