Skip to content

Commit aec5a0b

Browse files
committed
Add missing ?Sized bounds for HasInterner impls
1 parent 12eda80 commit aec5a0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chalk-ir/src/interner.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,11 +662,11 @@ impl<T: HasInterner> HasInterner for Vec<T> {
662662
type Interner = T::Interner;
663663
}
664664

665-
impl<T: HasInterner> HasInterner for Box<T> {
665+
impl<T: HasInterner + ?Sized> HasInterner for Box<T> {
666666
type Interner = T::Interner;
667667
}
668668

669-
impl<T: HasInterner> HasInterner for Arc<T> {
669+
impl<T: HasInterner + ?Sized> HasInterner for Arc<T> {
670670
type Interner = T::Interner;
671671
}
672672

0 commit comments

Comments
 (0)