blob: 3e813bf10d01e42ba7edc08762b4a2ebf45d264e [file]
//@ pretty-compare-only
//@ pretty-mode:expanded
//@ pp-exact:impl-reuse.pp
#![allow(incomplete_features)]
#![feature(fn_delegation)]
trait Trait<T> {
fn foo(&self) {}
fn bar(&self) {}
fn baz(&self) {}
}
struct S;
reuse impl Trait<{ struct S; 0 }> for S { self.0 }
fn main() {}