add EarlyBinder to thir_abstract_const; remove tcx.bound_abstract_const
This commit is contained in:
parent
3a37c2f052
commit
26dc139b37
6 changed files with 10 additions and 16 deletions
|
@ -402,7 +402,7 @@ rustc_queries! {
|
|||
/// Try to build an abstract representation of the given constant.
|
||||
query thir_abstract_const(
|
||||
key: DefId
|
||||
) -> Result<Option<ty::Const<'tcx>>, ErrorGuaranteed> {
|
||||
) -> Result<Option<ty::EarlyBinder<ty::Const<'tcx>>>, ErrorGuaranteed> {
|
||||
desc {
|
||||
|tcx| "building an abstract representation for `{}`", tcx.def_path_str(key),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue