1
Fork 0

Don't require associated types with Self: Sized bounds in dyn Trait objects

This commit is contained in:
Oli Scherer 2023-06-05 15:57:21 +00:00
parent 9227ff28af
commit ca581f9161
5 changed files with 23 additions and 14 deletions

View file

@ -2197,6 +2197,10 @@ rustc_queries! {
desc { "getting cfg-ed out item names" }
separate_provide_extern
}
query generics_require_sized_self(def_id: DefId) -> bool {
desc { "check whether the item has a `where Self: Sized` bound" }
}
}
rustc_query_append! { define_callbacks! }