Rollup merge of #134473 - acceptacross:master, r=compiler-errors
chore: fix some typos
This commit is contained in:
commit
0391770c07
6 changed files with 6 additions and 6 deletions
|
@ -4325,7 +4325,7 @@ impl<'a, 'ast, 'ra: 'ast, 'tcx> LateResolutionVisitor<'a, 'ast, 'ra, 'tcx> {
|
|||
|
||||
#[inline]
|
||||
/// If we're actually rustdoc then avoid giving a name resolution error for `cfg()` items or
|
||||
// an invalid `use foo::*;` was found, which can cause unbounded ammounts of "item not found"
|
||||
// an invalid `use foo::*;` was found, which can cause unbounded amounts of "item not found"
|
||||
// errors. We silence them all.
|
||||
fn should_report_errs(&self) -> bool {
|
||||
!(self.r.tcx.sess.opts.actually_rustdoc && self.in_func_body)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue