diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-02-25 19:53:37 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-06-02 21:25:18 +0000 |
| commit | ca4d0d4c24207928e5f8528e6d920b5905640d0a (patch) | |
| tree | a06086403054d743eecf7b7db98a18bee4503ed3 /compiler/rustc_ty_utils/src | |
| parent | 794249d768a4f112519f22502ade032dc03b9fde (diff) | |
| download | rust-ca4d0d4c24207928e5f8528e6d920b5905640d0a.tar.gz rust-ca4d0d4c24207928e5f8528e6d920b5905640d0a.zip | |
Separate AnonConst from ConstBlock in HIR.
Diffstat (limited to 'compiler/rustc_ty_utils/src')
| -rw-r--r-- | compiler/rustc_ty_utils/src/ty.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_ty_utils/src/ty.rs b/compiler/rustc_ty_utils/src/ty.rs index b367d81a260..fe2d1fba7fe 100644 --- a/compiler/rustc_ty_utils/src/ty.rs +++ b/compiler/rustc_ty_utils/src/ty.rs @@ -186,6 +186,7 @@ fn param_env(tcx: TyCtxt<'_>, def_id: DefId) -> ty::ParamEnv<'_> { kind: hir::TraitItemKind::Const(..), .. }) | hir::Node::AnonConst(_) + | hir::Node::ConstBlock(_) | hir::Node::ImplItem(hir::ImplItem { kind: hir::ImplItemKind::Const(..), .. }) | hir::Node::ImplItem(hir::ImplItem { kind: |
