File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 523523- Early lint pass: Works on [ AST nodes] after [ macro expansion] and name
524524 resolution, just before [ HIR lowering] . These lints are for purely
525525 syntactical lints.
526- - Example: The [ ` unsued_parens ` ] lint checks for parenthesized-expressions
526+ - Example: The [ ` unused_parens ` ] lint checks for parenthesized-expressions
527527 in situations where they are not needed, like an ` if ` condition.
528528
529529- Late lint pass: Works on [ HIR nodes] , towards the end of [ analysis] (after
@@ -558,7 +558,7 @@ compiler](#linting-early-in-the-compiler).
558558[ macro expansion ] : macro-expansion.md
559559[ analysis ] : part-4-intro.md
560560[ `keyword_idents` ] : https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#keyword-idents
561- [ `unsued_parens ` ] : https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#unused-parens
561+ [ `unused_parens ` ] : https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#unused-parens
562562[ `invalid_value` ] : https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#invalid-value
563563[ `arithmetic_overflow` ] : https://doc.rust-lang.org/rustc/lints/listing/deny-by-default.html#arithmetic-overflow
564564[ `unused_mut` ] : https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#unused-mut
You can’t perform that action at this time.
0 commit comments