Get rid of special const intrinsic query in favour of const_eval
This commit is contained in:
parent
5670d048c0
commit
0de9485038
14 changed files with 117 additions and 130 deletions
|
|
@ -462,15 +462,6 @@ rustc_queries! {
|
|||
no_force
|
||||
desc { "extract field of const" }
|
||||
}
|
||||
|
||||
/// Produces an absolute path representation of the given type. See also the documentation
|
||||
/// on `std::any::type_name`.
|
||||
query type_name(key: Ty<'tcx>) -> &'tcx ty::Const<'tcx> {
|
||||
eval_always
|
||||
no_force
|
||||
desc { "get absolute path of type" }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
TypeChecking {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue