2 // pretty-expanded FIXME #23616
7 fn bah(_: Option<Self>) { }
20 // If these fail, it's necessary to update rustc_resolve and the cfail tests.
21 impl Foo for *const BarTy {
25 Foo::bah(None::<*const BarTy>);
29 // If these fail, it's necessary to update rustc_resolve and the cfail tests.
30 impl<'a> Foo for &'a BarTy {
36 Foo::bah(None::<&BarTy>);
41 // If these fail, it's necessary to update rustc_resolve and the cfail tests.
42 impl<'a> Foo for &'a mut BarTy {
48 Foo::bah(None::<&mut BarTy>);
53 // If these fail, it's necessary to update rustc_resolve and the cfail tests.
54 impl Foo for Box<BarTy> {
57 Foo::bah(None::<Box<BarTy>>);
61 // If these fail, it's necessary to update rustc_resolve and the cfail tests.
62 impl Foo for *const isize {
65 Foo::bah(None::<*const isize>);
69 // If these fail, it's necessary to update rustc_resolve and the cfail tests.
70 impl<'a> Foo for &'a isize {
73 Foo::bah(None::<&isize>);
77 // If these fail, it's necessary to update rustc_resolve and the cfail tests.
78 impl<'a> Foo for &'a mut isize {
81 Foo::bah(None::<&mut isize>);
85 // If these fail, it's necessary to update rustc_resolve and the cfail tests.
86 impl Foo for Box<isize> {
89 Foo::bah(None::<Box<isize>>);