1 impl Foo for Bar { fn foo() { "hi" } }
4 // Associated Constants
15 pub unsafe impl<'a, 'b, X, Y: Foo<Bar>> !Foo<'a, X> for Bar<'b, Y> where X: Foo<'a, Z> {
19 impl<'a, 'b, X, Y: Foo<Bar>> Foo<'a, X> for Bar<'b, Y> where X: Fooooooooooooooooooooooooooooo<'a, Z>
24 impl<'a, 'b, X, Y: Foo<Bar>> Foo<'a, X> for Bar<'b, Y> where X: Foooooooooooooooooooooooooooo<'a, Z>
29 impl<T> Foo for Bar<T> where T: Baz
33 impl<T> Foo for Bar<T> where T: Baz { /* Comment */ }
65 impl Foo { add_fun!(); }
72 impl X { fn do_parse( mut self : X ) {} }
75 fn bar(self: X< 'a , 'b >, y: Y) {}
77 fn bad(&self, ( x, y): CoorT) {}
79 fn turbo_bad(self: X< 'a , 'b > , ( x, y): CoorT) {
84 pub impl<T> Foo for Bar<T> where T: Foo
89 pub impl<T, Z> Foo for Bar<T, Z> where T: Foo, Z: Baz {}
92 impl<T> PartialEq for S<T> where T: PartialEq {
93 fn eq(&self, other: &Self) {
98 impl<T> PartialEq for S<T> where T: PartialEq { }