]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0449.rs
Rollup merge of #97915 - tbu-:pr_os_string_fmt_write, r=joshtriplett
[rust.git] / src / test / ui / error-codes / E0449.rs
1 struct Bar;
2
3 trait Foo {
4     fn foo();
5 }
6
7 pub impl Bar {} //~ ERROR E0449
8
9 pub impl Foo for Bar { //~ ERROR E0449
10     pub fn foo() {} //~ ERROR E0449
11 }
12
13 fn main() {
14 }