Jonas Schievink
|
d171838d63
|
More accurately place proc-macro diagnostic
|
2020-11-27 16:29:40 +01:00 |
|
Jonas Schievink
|
0432aa0ed7
|
Publish diagnostics for macro expansion errors
|
2020-11-27 13:50:22 +01:00 |
|
Lukas Wirth
|
c868f0255f
|
Fill the diagnostic code field in publish_diagnostics
|
2020-11-17 16:23:53 +01:00 |
|
Lukas Wirth
|
750ab54573
|
Do insertion lookahead in algo::diff
|
2020-10-26 16:03:37 +01:00 |
|
Igor Aleksanov
|
19cce08662
|
Re-export base_db from ide_db
|
2020-10-24 11:39:57 +03:00 |
|
Lukas Wirth
|
d86863aeb4
|
Rewrite algo::diff to support insertion and deletion
|
2020-10-22 09:51:11 +02:00 |
|
Jonas Schievink
|
74ac83a5ac
|
Fixup botched rename
|
2020-10-20 18:29:47 +02:00 |
|
Jonas Schievink
|
80d2741401
|
Add a (hint) diagnostic for unconfigured items
|
2020-10-20 17:53:04 +02:00 |
|
Jonas Schievink
|
a54e481646
|
Simplify diagnostic construction, add unused field
|
2020-10-20 17:53:04 +02:00 |
|
Aleksey Kladov
|
3086fb2ef4
|
Move field_shorthand to a separate module
|
2020-10-15 17:10:06 +02:00 |
|
Aleksey Kladov
|
1022672af0
|
Diagnose shorthand in patterns as well
|
2020-10-15 17:03:52 +02:00 |
|
Aleksey Kladov
|
e9903a91cd
|
flatten
|
2020-10-15 16:51:55 +02:00 |
|
Aleksey Kladov
|
c8cbd398e4
|
Prepare for pat_field_shorthand
|
2020-10-15 16:48:25 +02:00 |
|
Igor Aleksanov
|
991d019096
|
Use TextRange::contains_inclusive in fixes check
|
2020-10-12 11:32:22 +03:00 |
|
Igor Aleksanov
|
9ea57cac0e
|
Fix code style issues
|
2020-10-12 11:05:00 +03:00 |
|
Igor Aleksanov
|
50a147dcdf
|
Apply case check diagnostic to impl items
|
2020-10-12 11:05:00 +03:00 |
|
Igor Aleksanov
|
b42562b5de
|
Make incorrect case diagnostic work inside of functions
|
2020-10-12 11:05:00 +03:00 |
|
Igor Aleksanov
|
fb96bba878
|
Add diagnostics for enum names and variants
|
2020-10-12 11:05:00 +03:00 |
|
Igor Aleksanov
|
e24e22f288
|
Add fix for incorrect case diagnostic
|
2020-10-12 11:04:59 +03:00 |
|
Aleksey Kladov
|
b06259673f
|
rename mock_analysis -> fixture
|
2020-10-02 17:49:44 +02:00 |
|
Aleksey Kladov
|
09348b2474
|
Get rid of MockAnalysis
|
2020-10-02 17:31:20 +02:00 |
|
Jonas Schievink
|
603613a302
|
Update tests
|
2020-09-16 17:26:51 +02:00 |
|
Aleksey Kladov
|
b0fd3faf36
|
Switch to expect_test from crates.io
|
2020-08-21 13:19:31 +02:00 |
|
bors[bot]
|
aa2def023e
|
Merge #5804
5804: Add type safety to diagnostic codes
r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
|
2020-08-18 16:40:12 +00:00 |
|
Aleksey Kladov
|
8146669542
|
Add type safety to diagnostic codes
|
2020-08-18 18:39:43 +02:00 |
|
Aleksey Kladov
|
aa1a7a5414
|
Introduce Label
|
2020-08-18 16:50:07 +02:00 |
|
Aleksey Kladov
|
eb81731600
|
Minor
|
2020-08-18 16:22:01 +02:00 |
|
Aleksey Kladov
|
0866b1be89
|
Align diagnostics config with the rest of rust-analyzer
|
2020-08-18 16:03:15 +02:00 |
|
Igor Aleksanov
|
b56cfcca10
|
Make disabled diagnostics an argument of corresponding function
|
2020-08-18 13:32:29 +03:00 |
|
Igor Aleksanov
|
c26c911ec1
|
Merge branch 'master' into add-disable-diagnostics
|
2020-08-14 07:34:07 +03:00 |
|
Aleksey Kladov
|
1b0c7701cc
|
Rename ra_ide -> ide
|
2020-08-13 17:58:27 +02:00 |
|