Skip to content

Commit

Permalink
Auto merge of #810 - Veykril:HasInterner-bounds, r=compiler-errors
Browse files Browse the repository at this point in the history
Add missing `?Sized` bounds for `HasInterner` impls
  • Loading branch information
bors committed Apr 6, 2024
2 parents f0e4c86 + aec5a0b commit ee7f299
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chalk-ir/src/interner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -662,11 +662,11 @@ impl<T: HasInterner> HasInterner for Vec<T> {
type Interner = T::Interner;
}

impl<T: HasInterner> HasInterner for Box<T> {
impl<T: HasInterner + ?Sized> HasInterner for Box<T> {
type Interner = T::Interner;
}

impl<T: HasInterner> HasInterner for Arc<T> {
impl<T: HasInterner + ?Sized> HasInterner for Arc<T> {
type Interner = T::Interner;
}

Expand Down

0 comments on commit ee7f299

Please sign in to comment.