Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | decl_check: don't pass `db` around so often | Jonas Schievink | 2020-12-17 | 1 | -54/+49 | |
| | ||||||
* | Merge #6769 | bors[bot] | 2020-12-10 | 1 | -3/+36 | |
|\ | | | | | | | | | | | | | | | | | | | 6769: Add native "remove this semicolon" diagnostics r=matklad a=ivan770 Closes #6739 ![demo2](https://user-images.githubusercontent.com/14003886/101530533-b76c3180-399a-11eb-9d18-5c8457721655.gif) Co-authored-by: ivan770 <[email protected]> | |||||
| * | Cast to ExprStmt, style fixes | ivan770 | 2020-12-10 | 1 | -6/+5 | |
| | | ||||||
| * | Apply rustfmt changes | ivan770 | 2020-12-09 | 1 | -9/+8 | |
| | | ||||||
| * | Apply suggestions from code review | ivan770 | 2020-12-09 | 1 | -17/+20 | |
| | | | | | | Co-authored-by: bjorn3 <[email protected]> | |||||
| * | Format code | ivan770 | 2020-12-08 | 1 | -4/+13 | |
| | | ||||||
| * | Remove use via super | ivan770 | 2020-12-08 | 1 | -3/+1 | |
| | | ||||||
| * | Remove this semicolon | ivan770 | 2020-12-08 | 1 | -1/+26 | |
| | | ||||||
* | | Use mark/hit | Jonas Schievink | 2020-12-10 | 1 | -0/+7 | |
| | | ||||||
* | | Ignore extern items in incorrect-case check | Jonas Schievink | 2020-12-10 | 1 | -0/+19 | |
|/ | ||||||
* | Check structs for match exhaustiveness | Lukas Wirth | 2020-11-24 | 1 | -31/+120 | |
| | ||||||
* | Add middle ellipsis missing arm text | Lukas Wirth | 2020-11-24 | 1 | -0/+14 | |
| | ||||||
* | Handle ellipsis in tuple patterns in match exhaustiveness checking | Lukas Wirth | 2020-11-24 | 1 | -42/+41 | |
| | ||||||
* | Improve decl_check module readability | Igor Aleksanov | 2020-11-03 | 1 | -6/+6 | |
| | ||||||
* | Remove numbers from comments in decl_check.rs | Igor Aleksanov | 2020-11-03 | 1 | -15/+15 | |
| | ||||||
* | Check for allow(..) attributes for case diagnostic | Igor Aleksanov | 2020-11-03 | 1 | -25/+91 | |
| | ||||||
* | Deny unreachable-pub | Aleksey Kladov | 2020-11-02 | 3 | -18/+11 | |
| | | | | | | | | It's very useful when `pub` is equivalent to "this is crate's public API", let's enforce this! Ideally, we should enforce it for local `cargo test`, and only during CI, but that needs https://github.com/rust-lang/cargo/issues/5034. | |||||
* | Make IncorrectDiagnostic match rustc by copying rustc's code. | Arif Roktim | 2020-10-25 | 1 | -126/+123 | |
| | ||||||
* | Merge #6319 | bors[bot] | 2020-10-22 | 2 | -3/+34 | |
|\ | | | | | | | | | | | | | | | 6319: Properly identify camel cased acronyms as UpperCamelCase r=popzxc a=ArifRoktim This closes #6305. Co-authored-by: Arif Roktim <[email protected]> | |||||
| * | Properly identify camel cased acronyms as UpperCamelCase | Arif Roktim | 2020-10-21 | 2 | -3/+34 | |
| | | ||||||
* | | Move safe intrinsic tests | Francesco Zardi | 2020-10-21 | 1 | -0/+18 | |
|/ | ||||||
* | Keep SyntaxNodePtr::range private | Igor Aleksanov | 2020-10-12 | 1 | -2/+11 | |
| | ||||||
* | Replace 'if let' with 'match' in decl_check.rs | Igor Aleksanov | 2020-10-12 | 1 | -30/+33 | |
| | ||||||
* | Add to_upper_snake_case function to stdx | Igor Aleksanov | 2020-10-12 | 2 | -4/+3 | |
| | ||||||
* | Fix compilation error | Igor Aleksanov | 2020-10-12 | 1 | -2/+1 | |
| | ||||||
* | Apply suggestions from code review | Igor Aleksanov | 2020-10-12 | 1 | -2/+2 | |
| | | | Co-authored-by: Lukas Wirth <[email protected]> | |||||
* | Fix code style issues | Igor Aleksanov | 2020-10-12 | 1 | -2/+6 | |
| | ||||||
* | Fix issues with match arm bindings | Igor Aleksanov | 2020-10-12 | 1 | -7/+12 | |
| | ||||||
* | Code style adjustments | Igor Aleksanov | 2020-10-12 | 3 | -8/+88 | |
| | ||||||
* | Make incorrect case diagnostic work inside of functions | Igor Aleksanov | 2020-10-12 | 1 | -32/+245 | |
| | ||||||
* | Refactor string helpers for decl_check module | Igor Aleksanov | 2020-10-12 | 1 | -32/+97 | |
| | ||||||
* | Add diagnostics for enum names and variants | Igor Aleksanov | 2020-10-12 | 1 | -1/+146 | |
| | ||||||
* | Improve string helpers functions | Igor Aleksanov | 2020-10-12 | 1 | -1/+8 | |
| | ||||||
* | Check structure fields to be snake_case | Igor Aleksanov | 2020-10-12 | 1 | -46/+65 | |
| | ||||||
* | Add check for structure names to be CamelCase | Igor Aleksanov | 2020-10-12 | 1 | -0/+138 | |
| | ||||||
* | Extract helper functions into a separate module | Igor Aleksanov | 2020-10-12 | 2 | -29/+112 | |
| | ||||||
* | Add checks for function parameters | Igor Aleksanov | 2020-10-12 | 1 | -6/+91 | |
| | ||||||
* | Create basic support for names case checks and implement function name case ↵ | Igor Aleksanov | 2020-10-12 | 1 | -0/+173 | |
| | | | | check | |||||
* | Fix missing match arm false error on unknown type | CAD97 | 2020-08-17 | 2 | -4/+2 | |
| | ||||||
* | Document missing match arm false positive | CAD97 | 2020-08-17 | 1 | -0/+19 | |
| | | | | | | This should already be guarded against (https://github.com/rust-analyzer/rust-analyzer/blob/d2212a49f6d447a14cdc87a9de2a4844e78b6905/crates/hir_ty/src/diagnostics/expr.rs#L225-L230) but it isn't preventing this false positive for some reason. | |||||
* | Rename ra_hir_ty -> hir_ty | Aleksey Kladov | 2020-08-13 | 3 | -0/+2195 | |