]> git.lizzy.rs Git - rust.git/blob - tests/ui/traits/trait-or-new-type-instead.rs
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / traits / trait-or-new-type-instead.rs
1 impl<T> Option<T> {
2 //~^ ERROR cannot define inherent `impl` for a type outside of the crate where the type is defined
3     pub fn foo(&self) { }
4 }
5
6 fn main() { }