Rollup merge of #110386 - nnethercote:clean-up-traversal-macros, r=lcnr

Clean up traversal macros

The declarative macros relating to type folding and visiting can be simplified.

r? ``@lcnr``
This commit is contained in:
Matthias Krüger
2023-04-17 18:13:35 +02:00
committed by GitHub
8 changed files with 51 additions and 203 deletions

View File

@@ -276,9 +276,7 @@ TrivialTypeTraversalAndLiftImpls! {
}
TrivialTypeTraversalAndLiftImpls! {
for<'tcx> {
ty::ValTree<'tcx>,
}
ty::ValTree<'tcx>,
}
///////////////////////////////////////////////////////////////////////////