tracing::instrument cleanup
This commit is contained in:
@@ -104,7 +104,6 @@ fn adt_sized_constraint(tcx: TyCtxt<'_>, def_id: DefId) -> ty::AdtSizedConstrain
|
||||
}
|
||||
|
||||
/// See `ParamEnv` struct definition for details.
|
||||
#[instrument(level = "debug", skip(tcx))]
|
||||
fn param_env(tcx: TyCtxt<'_>, def_id: DefId) -> ty::ParamEnv<'_> {
|
||||
// The param_env of an impl Trait type is its defining function's param_env
|
||||
if let Some(parent) = ty::is_impl_trait_defn(tcx, def_id) {
|
||||
@@ -410,7 +409,6 @@ fn asyncness(tcx: TyCtxt<'_>, def_id: DefId) -> hir::IsAsync {
|
||||
}
|
||||
|
||||
/// Don't call this directly: use ``tcx.conservative_is_privately_uninhabited`` instead.
|
||||
#[instrument(level = "debug", skip(tcx))]
|
||||
pub fn conservative_is_privately_uninhabited_raw<'tcx>(
|
||||
tcx: TyCtxt<'tcx>,
|
||||
param_env_and: ty::ParamEnvAnd<'tcx, Ty<'tcx>>,
|
||||
|
||||
Reference in New Issue
Block a user