Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | internal: refactor incorrect case diagnostics | Aleksey Kladov | 2021-06-13 | 1 | -155/+0 |
| | |||||
* | internal: refactor find_map diagnostic | Aleksey Kladov | 2021-06-13 | 1 | -84/+0 |
| | |||||
* | internal: refactor missing or or some diagnostic | Aleksey Kladov | 2021-06-13 | 1 | -211/+0 |
| | |||||
* | internal: refactor remove this semicolon diagnostics | Aleksey Kladov | 2021-06-13 | 2 | -42/+0 |
| | |||||
* | internal: refactor NoSuchField diagnostic | Aleksey Kladov | 2021-06-13 | 1 | -155/+0 |
| | |||||
* | minor: simplify | Aleksey Kladov | 2021-06-13 | 2 | -5/+5 |
| | |||||
* | internal: move missing_fields diagnostics | Aleksey Kladov | 2021-06-13 | 1 | -217/+0 |
| | |||||
* | internal: start new diagnostics API | Aleksey Kladov | 2021-06-13 | 1 | -89/+0 |
| | | | | | | | | | | | | | | | | | | 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 | 7 | -69/+70 |
| | |||||
* | 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 | 6 | -0/+683 |
| | |||||
* | minor: extract fix to file | Aleksey Kladov | 2021-05-17 | 1 | -0/+192 |