mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 23:12:02 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
15 lines
380 B
Plaintext
15 lines
380 B
Plaintext
error: `C` is object-safe and has multiple supertraits
|
|
--> $DIR/multiple_supertrait_upcastable.rs:7:1
|
|
|
|
|
LL | trait C: A + B {}
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/multiple_supertrait_upcastable.rs:2:9
|
|
|
|
|
LL | #![deny(multiple_supertrait_upcastable)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|