Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | internal: remove DiagnosticWithFix infra | Aleksey Kladov | 2021-06-13 | 4 | -585/+534 |
| | |||||
* | internal: refactor incorrect case diagnostics | Aleksey Kladov | 2021-06-13 | 3 | -40/+38 |
| | |||||
* | minor | Aleksey Kladov | 2021-06-13 | 2 | -38/+38 |
| | |||||
* | internal: refactor find_map diagnostic | Aleksey Kladov | 2021-06-13 | 4 | -171/+184 |
| | |||||
* | minor | Aleksey Kladov | 2021-06-13 | 3 | -44/+34 |
| | |||||
* | internal: refactor missing or or some diagnostic | Aleksey Kladov | 2021-06-13 | 3 | -24/+41 |
| | |||||
* | internal: refactor remove this semicolon diagnostics | Aleksey Kladov | 2021-06-13 | 6 | -59/+68 |
| | |||||
* | internal: refactor mismatched args count diagnostic | Aleksey Kladov | 2021-06-13 | 2 | -250/+274 |
| | |||||
* | internal: refactor missing unsafe diagnostic | Aleksey Kladov | 2021-06-13 | 2 | -84/+103 |
| | |||||
* | internal: refactor BreakOutsideOfLoop diagnostic | Aleksey Kladov | 2021-06-13 | 2 | -10/+32 |
| | |||||
* | internal: refactor NoSuchField diagnostic | Aleksey Kladov | 2021-06-13 | 3 | -290/+297 |
| | |||||
* | internal: refactor unimplemented builtin macro diagnostic | Aleksey Kladov | 2021-06-13 | 2 | -5/+21 |
| | |||||
* | minor: simplify | Aleksey Kladov | 2021-06-13 | 6 | -35/+18 |
| | |||||
* | internal: check diagnostics in all files and not just the first one | Aleksey Kladov | 2021-06-13 | 5 | -41/+46 |
| | |||||
* | internal: remove def-level diagnostics tests | Aleksey Kladov | 2021-06-13 | 1 | -0/+12 |
| | |||||
* | internal: refactor macro error | Aleksey Kladov | 2021-06-13 | 2 | -0/+165 |
| | |||||
* | internal: refactor unresolved proc macro diagnostic | Aleksey Kladov | 2021-06-13 | 3 | -11/+42 |
| | |||||
* | internal: refactor inactive code diagnostics | Aleksey Kladov | 2021-06-13 | 2 | -17/+126 |
| | |||||
* | internal: refactor unresolved macro call diagnostic | Aleksey Kladov | 2021-06-13 | 2 | -26/+75 |
| | |||||
* | internal: refactor unresolved import diagnostic | Aleksey Kladov | 2021-06-13 | 3 | -29/+121 |
| | |||||
* | internal: refactor unresolved extern crate diagnostic | Aleksey Kladov | 2021-06-13 | 2 | -0/+52 |
| | |||||
* | internal: unified missing fields diagnostic | Aleksey Kladov | 2021-06-13 | 2 | -24/+25 |
| | |||||
* | internal: move missing_fields diagnostics | Aleksey Kladov | 2021-06-13 | 4 | -53/+78 |
| | |||||
* | internal: start new diagnostics API | Aleksey Kladov | 2021-06-13 | 3 | -34/+82 |
| | | | | | | | | | | | | | | | | | | At the moment, this moves only a single diagnostic, but the idea is reafactor the rest to use the same pattern. We are going to have a single file per diagnostic. This file will define diagnostics code, rendering range and fixes, if any. It'll also have all of the tests. This is similar to how we deal with assists. After we refactor all diagnostics to follow this pattern, we'll probably move them to a new `ide_diagnostics` crate. Not that we intentionally want to test all diagnostics on this layer, despite the fact that they are generally emitted in the guts on the compiler. Diagnostics care to much about the end presentation details/fixes to be worth-while "unit" testing. So, we'll unit-test only the primary output of compilation process (types and name res tables), and will use integrated UI tests for diagnostics. | ||||
* | minor: put a mark back | Aleksey Kladov | 2021-06-13 | 1 | -0/+1 |
| | |||||
* | cargo fmt | Maan2003 | 2021-06-13 | 1 | -5/+3 |
| | |||||
* | clippy::useless_return | Maan2003 | 2021-06-13 | 3 | -4/+4 |
| | |||||
* | clippy::redundant_closure | Maan2003 | 2021-06-13 | 2 | -2/+2 |
| | |||||
* | clippy::clone_on_copy | Maan2003 | 2021-06-13 | 3 | -3/+3 |
| | |||||
* | clippy::redudant_borrow | Maan2003 | 2021-06-13 | 18 | -51/+51 |
| | |||||
* | internal: cross-crate cov-marks | Aleksey Kladov | 2021-06-12 | 2 | -2/+3 |
| | |||||
* | internal: move diagnostics infra to hir | Aleksey Kladov | 2021-06-12 | 1 | -0/+354 |
| | |||||
* | Move some hir_ty diagnostics to hir | Aleksey Kladov | 2021-06-12 | 1 | -1/+1303 |
| | |||||
* | internal: move missing unsafe diagnostic to hir | Aleksey Kladov | 2021-06-12 | 1 | -0/+84 |
| | |||||
* | internal: move inference diagnostics to hir | Aleksey Kladov | 2021-06-12 | 1 | -1/+140 |
| | |||||
* | Highlight tuple field accesses correctly | Lukas Wirth | 2021-06-11 | 3 | -4/+7 |
| | |||||
* | Merge #9219 | bors[bot] | 2021-06-11 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | 9219: minor: Replace some AssocItem::containing_trait calls trait_or_trait_impl r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Replace some AssocItem::containing_trait calls trait_or_trait_impl | Lukas Wirth | 2021-06-11 | 1 | -2/+2 |
| | | |||||
* | | Merge #9218 | bors[bot] | 2021-06-11 | 1 | -1/+164 |
|\| | | | | | | | | | | | | | | | 9218: Item search now respects trait impl items r=Veykril a=Veykril Fixes #2977 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Item search now respects trait impl items | Lukas Wirth | 2021-06-11 | 1 | -1/+164 |
| | | |||||
* | | Update ungrammar | Jonas Schievink | 2021-06-11 | 1 | -1/+1 |
| | | |||||
* | | Populate import maps eagerly | Kirill Bulatov | 2021-06-10 | 1 | -3/+4 |
| | | |||||
* | | Don't classify attributes on macro-calls are the macro itself | Lukas Wirth | 2021-06-09 | 1 | -0/+20 |
|/ | |||||
* | Merge #9191 | bors[bot] | 2021-06-09 | 2 | -0/+10 |
|\ | | | | | | | | | | | | | | | 9191: fix: Don't descend MacroCall TokenTree delimiters r=jonas-schievink a=Veykril Fixes #9190 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Don't descend MacroCall TokenTree delimiters | Lukas Wirth | 2021-06-09 | 2 | -0/+10 |
| | | |||||
* | | Prefer attr macros in "expand macro recursively" | Jonas Schievink | 2021-06-08 | 1 | -20/+14 |
|/ | |||||
* | Merge #9169 | bors[bot] | 2021-06-07 | 2 | -7/+57 |
|\ | | | | | | | | | | | | | | | | | | | 9169: internal: steps towards attribute macro token mapping r=jonas-schievink a=jonas-schievink This doesn't work yet, but we seem to be getting a bit further along (for example, we now stop highlighting `use` items inside item with attribute macros as if they were written verbatim). bors r+ Co-authored-by: Jonas Schievink <[email protected]> | ||||
| * | Attempt to track attr macros during highlighting | Jonas Schievink | 2021-06-07 | 1 | -0/+30 |
| | | |||||
| * | Make "expand macro" command work with attribute macros | Jonas Schievink | 2021-06-07 | 1 | -7/+27 |
| | | |||||
* | | feat: goto def on impl items also goes to the defn in the trait | Jade | 2021-06-07 | 1 | -18/+56 |
| | | | | | | | | | | It was trivial to extend this to associated consts/associated types and I just didn't think of it. |