Skip to content

Commit 4fddff0

Browse files
committed
lint: don't consider sizedness in upcastable lint
Adding a sizedness supertrait shouldn't require multiple vtables so shouldn't be linted against.
1 parent 42b764e commit 4fddff0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/src/ops/deref.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ impl<T: ?Sized> const Deref for &mut T {
269269
#[stable(feature = "rust1", since = "1.0.0")]
270270
#[const_trait]
271271
#[rustc_const_unstable(feature = "const_deref", issue = "88955")]
272-
#[allow(multiple_supertrait_upcastable)]
273272
pub trait DerefMut: ~const Deref + PointeeSized {
274273
/// Mutably dereferences the value.
275274
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)