summary refs log tree commit diff
path: root/src/test/ui/issue-23080.stderr
blob: 43e6f29603385e5ae0a36d0a186438b0da66c227 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0380]: auto traits cannot have methods or associated items
  --> $DIR/issue-23080.rs:15:1
   |
LL | / unsafe auto trait Trait {
LL | | //~^ ERROR E0380
LL | |     fn method(&self) {
LL | |         println!("Hello");
LL | |     }
LL | | }
   | |_^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0380`.