2 // compile-flags: -Z chalk
12 fn only_foo<T: Foo>(_x: &T) { }
15 // Test that we have the correct environment inside an inherent method.
24 fn only_bar<T: Bar>() { }
27 // Test that the environment of `dummy_bar` adds up with the environment
28 // of the inherent impl.
29 fn dummy_bar<U: Bar>(&self) {