blob: 572b03efce7683e19e41c2cf517617bbb9b11784 [file] [log] [blame]
impl<T> Option<T> {
//~^ ERROR cannot define inherent `impl` for a type outside of the crate where the type is defined
pub fn foo(&self) { }
}
fn main() { }