]> git.lizzy.rs Git - rust.git/blob - tests/ui/traits/trait-upcasting/multiple_supertrait_upcastable.stderr
Auto merge of #107443 - cjgillot:generator-less-query, r=compiler-errors
[rust.git] / tests / ui / traits / trait-upcasting / multiple_supertrait_upcastable.stderr
1 error: `C` is object-safe and has multiple supertraits
2   --> $DIR/multiple_supertrait_upcastable.rs:7:1
3    |
4 LL | trait C: A + B {}
5    | ^^^^^^^^^^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/multiple_supertrait_upcastable.rs:2:9
9    |
10 LL | #![deny(multiple_supertrait_upcastable)]
11    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14