Don't require associated types with Self: Sized
bounds in dyn Trait
objects
This commit is contained in:
parent
9227ff28af
commit
ca581f9161
5 changed files with 23 additions and 14 deletions
|
@ -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! }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue