Phil Ellison
|
7066bff9c3
|
Switch test marker
|
2021-01-07 19:01:33 +00:00 |
|
Phil Ellison
|
b2dbe6e43a
|
Add fix to wrap return expression in Some
|
2021-01-07 19:01:33 +00:00 |
|
Kevaundray Wedderburn
|
72b9a4fbd3
|
Change <|> to $0 - Rebase
|
2021-01-07 12:09:23 +00:00 |
|
AdnoC
|
58c1949a7b
|
test for new behavior
|
2020-12-29 22:52:47 -07:00 |
|
AdnoC
|
6eeec5d75f
|
Smarter bracketed use diagnostic
|
2020-12-29 22:46:34 -07:00 |
|
Aleksey Kladov
|
5d914834a9
|
Simplify more
|
2020-12-24 19:37:46 +03:00 |
|
Aleksey Kladov
|
29ed2e0e73
|
Simplify
|
2020-12-24 17:54:44 +03:00 |
|
unexge
|
bfae2634b4
|
Prevent multiple incorrect case diagnostics in functions
|
2020-12-23 22:18:31 +03:00 |
|
Daiki Ihara
|
2b4a7848a8
|
Update test diagnostics in ide
|
2020-12-21 15:55:40 +09:00 |
|
bors[bot]
|
44978acf51
|
Merge #6769
6769: Add native "remove this semicolon" diagnostics r=matklad a=ivan770
Closes #6739
![demo2](https://user-images.githubusercontent.com/14003886/101530533-b76c3180-399a-11eb-9d18-5c8457721655.gif)
Co-authored-by: ivan770 <leshenko.ivan770@gmail.com>
|
2020-12-10 16:18:49 +00:00 |
|
Aleksey Kladov
|
6e24321e45
|
Introduce anchored_path
They allow to represent paths like `#[path = "C:\path.rs"] mod foo;`
in a lossless cross-platform & network-transparent way.
|
2020-12-09 19:07:05 +03:00 |
|
ivan770
|
cb66bb8ff9
|
Remove this semicolon
|
2020-12-08 20:47:20 +02:00 |
|
Jonas Schievink
|
6e1c87eb92
|
Don't diagnose #[cfg] in macros
|
2020-12-03 20:46:16 +01:00 |
|
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 |
|