about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-10-07 09:40:52 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-10-07 09:50:51 +1100
commit3fdcde76d9bcbf31e2409aefede4dd8b2f7c315f (patch)
tree2939dccfc3209a00acda0537784629f0edf789a6
parentafbff05c84c8c22909be929d20d6075f53d51e12 (diff)
downloadrust-3fdcde76d9bcbf31e2409aefede4dd8b2f7c315f.tar.gz
rust-3fdcde76d9bcbf31e2409aefede4dd8b2f7c315f.zip
Remove out-of-date comment.
-rw-r--r--compiler/rustc_infer/src/infer/resolve.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_infer/src/infer/resolve.rs b/compiler/rustc_infer/src/infer/resolve.rs
index 2c7b35af947..025c3a629fa 100644
--- a/compiler/rustc_infer/src/infer/resolve.rs
+++ b/compiler/rustc_infer/src/infer/resolve.rs
@@ -121,8 +121,6 @@ where
     value.try_fold_with(&mut FullTypeResolver { infcx })
 }
 
-// N.B. This type is not public because the protocol around checking the
-// `err` field is not enforceable otherwise.
 struct FullTypeResolver<'a, 'tcx> {
     infcx: &'a InferCtxt<'tcx>,
 }