We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 828461b commit 432a33eCopy full SHA for 432a33e
compiler/rustc_privacy/src/lib.rs
@@ -691,7 +691,7 @@ impl Visitor<'tcx> for EmbargoVisitor<'tcx> {
691
hir::ItemKind::GlobalAsm(..) => {}
692
hir::ItemKind::OpaqueTy(..) => {
693
// HACK(jynelson): trying to infer the type of `impl trait` breaks `async-std` (and `pub async fn` in general)
694
- // Since rustdoc never need to do codegen and doesn't care about link-time reachability,
+ // Since rustdoc never needs to do codegen and doesn't care about link-time reachability,
695
// mark this as unreachable.
696
// See https://github.com/rust-lang/rust/issues/75100
697
if !self.tcx.sess.opts.actually_rustdoc {
0 commit comments