Move trait into attr so it's greppable

This commit is contained in:
Michael Goulet
2024-02-14 17:18:56 +00:00
parent 9c25823bb4
commit a9dbf63087
31 changed files with 91 additions and 80 deletions

View File

@@ -5,8 +5,8 @@ use rustc_middle::ty::{self, Ty};
use crate::traits::{NormalizeExt, Obligation};
#[extension]
pub impl<'tcx> StructurallyNormalizeExt<'tcx> for At<'_, 'tcx> {
#[extension(pub trait StructurallyNormalizeExt<'tcx>)]
impl<'tcx> At<'_, 'tcx> {
fn structurally_normalize(
&self,
ty: Ty<'tcx>,