]> git.lizzy.rs Git - rust.git/blob - tests/ui/span/E0046.rs
Rollup merge of #106441 - mllken:abstract-socket-noref, r=joshtriplett
[rust.git] / tests / ui / span / E0046.rs
1 trait Foo {
2     fn foo();
3 }
4
5 struct Bar;
6
7 impl Foo for Bar {}
8 //~^ ERROR E0046
9
10 fn main() {
11 }