]> git.lizzy.rs Git - rust.git/blob - tests/ui/auto-traits/bad-generics-on-dyn.stderr
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[rust.git] / tests / ui / auto-traits / bad-generics-on-dyn.stderr
1 error[E0567]: auto traits cannot have generic parameters
2   --> $DIR/bad-generics-on-dyn.rs:3:18
3    |
4 LL | auto trait Trait1<'a> {}
5    |            ------^^^^ help: remove the parameters
6    |            |
7    |            auto trait cannot have generic parameters
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0567`.