Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | internal: move missing unsafe diagnostic to hir | Aleksey Kladov | 2021-06-12 | 1 | -27/+4 |
| | |||||
* | internal: move inference diagnostics to hir | Aleksey Kladov | 2021-06-12 | 1 | -185/+0 |
| | |||||
* | minor: it's Parameter, not Argument | Aleksey Kladov | 2021-05-31 | 1 | -2/+2 |
| | |||||
* | internal: move diagnostics to hir | Aleksey Kladov | 2021-05-25 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | The idea here is to eventually get rid of `dyn Diagnostic` and `DiagnosticSink` infrastructure altogether, and just have a `enum hir::Diagnostic` instead. The problem with `dyn Diagnostic` is that it is defined in the lowest level of the stack (hir_expand), but is used by the highest level (ide). As a first step, we free hir_expand and hir_def from `dyn Diagnostic` and kick the can up to `hir_ty`, as an intermediate state. The plan is then to move DiagnosticSink similarly to the hir crate, and, as final third step, remove its usage from the ide. One currently unsolved problem is testing. You can notice that the test which checks precise diagnostic ranges, unresolved_import_in_use_tree, was moved to the ide layer. Logically, only IDE should have the infra to render a specific range. At the same time, the range is determined with the data produced in hir_def and hir crates, so this layering is rather unfortunate. Working on hir_def shouldn't require compiling `ide` for testing. | ||||
* | More cleanups / module docs | Florian Diebold | 2021-04-09 | 1 | -1/+1 |
| | |||||
* | Prefer names from outer DefMap over extern prelude | Jonas Schievink | 2021-03-10 | 1 | -0/+29 |
| | |||||
* | Add test | Laurențiu Nicola | 2021-02-20 | 1 | -0/+24 |
| | |||||
* | Merge #7574 | bors[bot] | 2021-02-05 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | | | | | 7574: Remove various redundant clones r=kjeremy a=yoshuawuyts I noticed when running clippy through RA that there are a few instances where `clone` is called where it's not actually needed. I figured a small patch to remove these might be welcome here. Thanks! Co-authored-by: Yoshua Wuyts <[email protected]> | ||||
| * | Remove redundant clones | Yoshua Wuyts | 2021-02-05 | 1 | -1/+1 |
| | | |||||
* | | Cleanup decl_check | Lukas Wirth | 2021-02-05 | 1 | -1/+32 |
|/ | |||||
* | Update tests to register the required standard library types | Phil Ellison | 2021-01-23 | 1 | -10/+38 |
| | |||||
* | Fix test names | Phil Ellison | 2021-01-23 | 1 | -4/+4 |
| | |||||
* | Implement fix, add tests | Phil Ellison | 2021-01-23 | 1 | -8/+48 |
| | |||||
* | Add diagnostic for filter_map followed by next | Phil Ellison | 2021-01-23 | 1 | -4/+44 |
| | |||||
* | Make public DefMap fields private | Jonas Schievink | 2021-01-20 | 1 | -1/+1 |
| | |||||
* | Add fix to wrap return expression in Some | Phil Ellison | 2021-01-07 | 1 | -6/+9 |
| | |||||
* | decl_check: don't pass `db` around so often | Jonas Schievink | 2020-12-17 | 1 | -4/+11 |
| | |||||
* | Added remove this semicolon test | ivan770 | 2020-12-12 | 1 | -0/+10 |
| | |||||
* | Remove this semicolon | ivan770 | 2020-12-08 | 1 | -0/+24 |
| | |||||
* | Add descriptions for diagnostics parseable by xtask | Igor Aleksanov | 2020-10-19 | 1 | -0/+55 |
| | |||||
* | Keep SyntaxNodePtr::range private | Igor Aleksanov | 2020-10-12 | 1 | -2/+2 |
| | |||||
* | Fix code style issues | Igor Aleksanov | 2020-10-12 | 1 | -1/+1 |
| | |||||
* | Make incorrect case diagnostic work inside of functions | Igor Aleksanov | 2020-10-12 | 1 | -1/+3 |
| | |||||
* | Add diagnostics for enum names and variants | Igor Aleksanov | 2020-10-12 | 1 | -1/+1 |
| | |||||
* | Add fix for incorrect case diagnostic | Igor Aleksanov | 2020-10-12 | 1 | -1/+1 |
| | |||||
* | Add check for structure names to be CamelCase | Igor Aleksanov | 2020-10-12 | 1 | -1/+1 |
| | |||||
* | Add checks for function parameters | Igor Aleksanov | 2020-10-12 | 1 | -1/+3 |
| | |||||
* | Create basic support for names case checks and implement function name case ↵ | Igor Aleksanov | 2020-10-12 | 1 | -3/+78 |
| | | | | check | ||||
* | Add type safety to diagnostic codes | Aleksey Kladov | 2020-08-18 | 1 | -17/+17 |
| | |||||
* | Merge branch 'master' into add-disable-diagnostics | Igor Aleksanov | 2020-08-14 | 1 | -0/+25 |
| | |||||
* | Rename ra_hir_ty -> hir_ty | Aleksey Kladov | 2020-08-13 | 1 | -0/+444 |