Rollup merge of #105484 - nbdd0121:upcast, r=compiler-errors
Implement allow-by-default `multiple_supertrait_upcastable` lint The lint detects when an object-safe trait has multiple supertraits. Enabled in libcore and liballoc as they are low-level enough that many embedded programs will use them. r? `@nikomatsakis`
This commit is contained in:
commit
8b3d0c4cf9
11 changed files with 167 additions and 0 deletions
|
@ -943,6 +943,7 @@ symbols! {
|
|||
mul,
|
||||
mul_assign,
|
||||
mul_with_overflow,
|
||||
multiple_supertrait_upcastable,
|
||||
must_not_suspend,
|
||||
must_use,
|
||||
naked,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue