Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | internal: diagnostic code is mandatory | Aleksey Kladov | 2021-06-13 | 1 | -7/+5 |
| | |||||
* | minor: dead code | Aleksey Kladov | 2021-06-13 | 1 | -10/+13 |
| | |||||
* | internal: use cov-mark rather than bailing out diagnostic | Aleksey Kladov | 2021-06-13 | 1 | -47/+52 |
| | |||||
* | internal: refactor missing match arms diagnostics | Aleksey Kladov | 2021-06-13 | 1 | -0/+924 |
| | |||||
* | internal: remove DiagnosticWithFix infra | Aleksey Kladov | 2021-06-13 | 3 | -93/+512 |
| | |||||
* | internal: refactor incorrect case diagnostics | Aleksey Kladov | 2021-06-13 | 2 | -26/+36 |
| | |||||
* | minor | Aleksey Kladov | 2021-06-13 | 1 | -0/+38 |
| | |||||
* | internal: refactor find_map diagnostic | Aleksey Kladov | 2021-06-13 | 3 | -85/+182 |
| | |||||
* | minor | Aleksey Kladov | 2021-06-13 | 2 | -1/+34 |
| | |||||
* | internal: refactor missing or or some diagnostic | Aleksey Kladov | 2021-06-13 | 2 | -21/+39 |
| | |||||
* | internal: refactor remove this semicolon diagnostics | Aleksey Kladov | 2021-06-13 | 5 | -45/+65 |
| | |||||
* | internal: refactor mismatched args count diagnostic | Aleksey Kladov | 2021-06-13 | 1 | -0/+272 |
| | |||||
* | internal: refactor missing unsafe diagnostic | Aleksey Kladov | 2021-06-13 | 1 | -0/+101 |
| | |||||
* | internal: refactor BreakOutsideOfLoop diagnostic | Aleksey Kladov | 2021-06-13 | 1 | -0/+30 |
| | |||||
* | internal: refactor NoSuchField diagnostic | Aleksey Kladov | 2021-06-13 | 2 | -155/+286 |
| | |||||
* | internal: refactor unimplemented builtin macro diagnostic | Aleksey Kladov | 2021-06-13 | 1 | -0/+19 |
| | |||||
* | minor: simplify | Aleksey Kladov | 2021-06-13 | 5 | -17/+15 |
| | |||||
* | internal: check diagnostics in all files and not just the first one | Aleksey Kladov | 2021-06-13 | 2 | -9/+23 |
| | |||||
* | internal: remove def-level diagnostics tests | Aleksey Kladov | 2021-06-13 | 1 | -0/+12 |
| | |||||
* | internal: refactor macro error | Aleksey Kladov | 2021-06-13 | 1 | -0/+163 |
| | |||||
* | internal: refactor unresolved proc macro diagnostic | Aleksey Kladov | 2021-06-13 | 2 | -1/+35 |
| | |||||
* | internal: refactor inactive code diagnostics | Aleksey Kladov | 2021-06-13 | 1 | -0/+113 |
| | |||||
* | internal: refactor unresolved macro call diagnostic | Aleksey Kladov | 2021-06-13 | 1 | -0/+72 |
| | |||||
* | internal: refactor unresolved import diagnostic | Aleksey Kladov | 2021-06-13 | 2 | -0/+91 |
| | |||||
* | internal: refactor unresolved extern crate diagnostic | Aleksey Kladov | 2021-06-13 | 1 | -0/+49 |
| | |||||
* | internal: unified missing fields diagnostic | Aleksey Kladov | 2021-06-13 | 1 | -10/+25 |
| | |||||
* | internal: move missing_fields diagnostics | Aleksey Kladov | 2021-06-13 | 3 | -49/+75 |
| | |||||
* | internal: start new diagnostics API | Aleksey Kladov | 2021-06-13 | 2 | -28/+47 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | clippy::redudant_borrow | Maan2003 | 2021-06-13 | 2 | -3/+3 |
| | |||||
* | Add pub mod option for UnlinkedFile | rainy-me | 2021-05-18 | 10 | -99/+115 |
| | |||||
* | fix: don't add extra whitespace around fields | Aleksey Kladov | 2021-05-17 | 1 | -0/+25 |
| | | | | closes #8785 | ||||
* | minor: add missing tests | Aleksey Kladov | 2021-05-17 | 2 | -0/+52 |
| | |||||
* | internal: scalable module structure for fixits | Aleksey Kladov | 2021-05-17 | 7 | -236/+692 |
| | |||||
* | minor: extract fix to file | Aleksey Kladov | 2021-05-17 | 2 | -44/+196 |
| | |||||
* | internal: use mutable syntax trees when filling fields | Aleksey Kladov | 2021-05-16 | 1 | -3/+4 |
| | |||||
* | Resolve single assist only | Kirill Bulatov | 2021-05-03 | 2 | -9/+9 |
| | |||||
* | Add a way to resolve certain assists | Kirill Bulatov | 2021-05-03 | 2 | -10/+48 |
| | |||||
* | feat: improve performance by delaying computation of fixes for diagnostics | Aleksey Kladov | 2021-04-13 | 2 | -14/+26 |
| | |||||
* | internal: prepare for lazy diagnostics | Aleksey Kladov | 2021-04-12 | 3 | -26/+38 |
| | |||||
* | Prefer add `mod` declaration to lib.rs over file.rs in UnlinkedFile fix | Lukas Wirth | 2021-03-27 | 1 | -1/+1 |
| | |||||
* | syntax: return owned string instead of leaking string | cynecx | 2021-03-26 | 1 | -1/+1 |
| | |||||
* | Document unlinked-file diagnostic | Jonas Schievink | 2021-03-24 | 1 | -0/+4 |
| | |||||
* | avoid converting types into themselves via .into() (clippy::useless-conversion) | Matthias Krüger | 2021-03-17 | 1 | -1/+1 |
| | | | | example: let x: String = String::from("hello world").into(); | ||||
* | Add module comment | Jonas Schievink | 2021-03-15 | 1 | -0/+2 |
| | |||||
* | Use pub(crate) | Jonas Schievink | 2021-03-15 | 1 | -3/+3 |
| | |||||
* | Redo it properly and add a quickfix | Jonas Schievink | 2021-03-15 | 1 | -0/+154 |
| | |||||
* | Remove use of SourceFileEdit | Phil Ellison | 2021-01-23 | 1 | -2/+1 |
| | |||||
* | cargo fmt | Phil Ellison | 2021-01-23 | 1 | -1/+5 |
| | |||||
* | Address review comments | Phil Ellison | 2021-01-23 | 1 | -9/+4 |
| | |||||
* | cargo fmt | Phil Ellison | 2021-01-23 | 1 | -2/+7 |
| |