diff options
author | Alan Egerton <eggyal@gmail.com> | 2023-02-09 19:38:07 +0000 |
---|---|---|
committer | Alan Egerton <eggyal@gmail.com> | 2023-02-13 10:24:49 +0000 |
commit | dea342d8615fcd0dd6638a3f0f1cda9062286d8e (patch) | |
tree | ebb6257664d94705275e46f4c903d2af1dc5e616 /compiler/rustc_privacy | |
parent | 0b7dda9afd0dcf85d6b2ccdc864eb9f73596efcc (diff) | |
download | rust-dea342d8615fcd0dd6638a3f0f1cda9062286d8e.tar.gz |
Make visiting traits generic over the Interner
Diffstat (limited to 'compiler/rustc_privacy')
-rw-r--r-- | compiler/rustc_privacy/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_privacy/src/lib.rs b/compiler/rustc_privacy/src/lib.rs index b27f02686b0..9cff62e8514 100644 --- a/compiler/rustc_privacy/src/lib.rs +++ b/compiler/rustc_privacy/src/lib.rs @@ -174,7 +174,7 @@ where } } -impl<'tcx, V> TypeVisitor<'tcx> for DefIdVisitorSkeleton<'_, 'tcx, V> +impl<'tcx, V> TypeVisitor<TyCtxt<'tcx>> for DefIdVisitorSkeleton<'_, 'tcx, V> where V: DefIdVisitor<'tcx> + ?Sized, { |