chore: fix some typos
Signed-off-by: acceptacross <csqcqs@gmail.com>
This commit is contained in:
parent
3378a5e084
commit
6734a04c0a
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