aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/diagnostics
Commit message (Collapse)AuthorAgeFilesLines
* internal: diagnostic code is mandatoryAleksey Kladov2021-06-131-7/+5
|
* minor: dead codeAleksey Kladov2021-06-131-10/+13
|
* internal: use cov-mark rather than bailing out diagnosticAleksey Kladov2021-06-131-47/+52
|
* internal: refactor missing match arms diagnosticsAleksey Kladov2021-06-131-0/+924
|
* internal: remove DiagnosticWithFix infraAleksey Kladov2021-06-133-93/+512
|
* internal: refactor incorrect case diagnosticsAleksey Kladov2021-06-132-26/+36
|
* minorAleksey Kladov2021-06-131-0/+38
|
* internal: refactor find_map diagnosticAleksey Kladov2021-06-133-85/+182
|
* minorAleksey Kladov2021-06-132-1/+34
|
* internal: refactor missing or or some diagnosticAleksey Kladov2021-06-132-21/+39
|
* internal: refactor remove this semicolon diagnosticsAleksey Kladov2021-06-135-45/+65
|
* internal: refactor mismatched args count diagnosticAleksey Kladov2021-06-131-0/+272
|
* internal: refactor missing unsafe diagnosticAleksey Kladov2021-06-131-0/+101
|
* internal: refactor BreakOutsideOfLoop diagnosticAleksey Kladov2021-06-131-0/+30
|
* internal: refactor NoSuchField diagnosticAleksey Kladov2021-06-132-155/+286
|
* internal: refactor unimplemented builtin macro diagnosticAleksey Kladov2021-06-131-0/+19
|
* minor: simplifyAleksey Kladov2021-06-135-17/+15
|
* internal: check diagnostics in all files and not just the first oneAleksey Kladov2021-06-132-9/+23
|
* internal: remove def-level diagnostics testsAleksey Kladov2021-06-131-0/+12
|
* internal: refactor macro errorAleksey Kladov2021-06-131-0/+163
|
* internal: refactor unresolved proc macro diagnosticAleksey Kladov2021-06-132-1/+35
|
* internal: refactor inactive code diagnosticsAleksey Kladov2021-06-131-0/+113
|
* internal: refactor unresolved macro call diagnosticAleksey Kladov2021-06-131-0/+72
|
* internal: refactor unresolved import diagnosticAleksey Kladov2021-06-132-0/+91
|
* internal: refactor unresolved extern crate diagnosticAleksey Kladov2021-06-131-0/+49
|
* internal: unified missing fields diagnosticAleksey Kladov2021-06-131-10/+25
|
* internal: move missing_fields diagnosticsAleksey Kladov2021-06-133-49/+75
|
* internal: start new diagnostics APIAleksey Kladov2021-06-132-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_borrowMaan20032021-06-132-3/+3
|
* Add pub mod option for UnlinkedFilerainy-me2021-05-1810-99/+115
|
* fix: don't add extra whitespace around fieldsAleksey Kladov2021-05-171-0/+25
| | | | closes #8785
* minor: add missing testsAleksey Kladov2021-05-172-0/+52
|
* internal: scalable module structure for fixitsAleksey Kladov2021-05-177-236/+692
|
* minor: extract fix to fileAleksey Kladov2021-05-172-44/+196
|
* internal: use mutable syntax trees when filling fieldsAleksey Kladov2021-05-161-3/+4
|
* Resolve single assist onlyKirill Bulatov2021-05-032-9/+9
|
* Add a way to resolve certain assistsKirill Bulatov2021-05-032-10/+48
|
* feat: improve performance by delaying computation of fixes for diagnosticsAleksey Kladov2021-04-132-14/+26
|
* internal: prepare for lazy diagnosticsAleksey Kladov2021-04-123-26/+38
|
* Prefer add `mod` declaration to lib.rs over file.rs in UnlinkedFile fixLukas Wirth2021-03-271-1/+1
|
* syntax: return owned string instead of leaking stringcynecx2021-03-261-1/+1
|
* Document unlinked-file diagnosticJonas Schievink2021-03-241-0/+4
|
* avoid converting types into themselves via .into() (clippy::useless-conversion)Matthias Krüger2021-03-171-1/+1
| | | | example: let x: String = String::from("hello world").into();
* Add module commentJonas Schievink2021-03-151-0/+2
|
* Use pub(crate)Jonas Schievink2021-03-151-3/+3
|
* Redo it properly and add a quickfixJonas Schievink2021-03-151-0/+154
|
* Remove use of SourceFileEditPhil Ellison2021-01-231-2/+1
|
* cargo fmtPhil Ellison2021-01-231-1/+5
|
* Address review commentsPhil Ellison2021-01-231-9/+4
|
* cargo fmtPhil Ellison2021-01-231-2/+7
|