rust-analyzer/crates
bors af1f48deab Auto merge of #13359 - feniljain:feat-must-use-option, r=Veykril
feat: add config for inserting must_use in `generate_enum_as_method`

Should fix #13312

Didn't add a test because I was not sure on how to add test for a specific configuration option, tried to look for the usages for other `AssistConfig` variants but couldn't find any in `tests`. If there is a way to test this, do point me towards it.

I tried to extract the formatting string as a common `template_string` and only have if-else for that, but it didn't compile :(

Also it seems these tests are failing:

```
test config::tests::generate_config_documentation ... FAILED
test config::tests::generate_package_json_config ... FAILED
```

Can you also point me to how to correct these 😅  ( I guess there is some command to automatically generate these? )
2022-11-02 10:50:08 +00:00
..
base-db formatting 2022-09-26 18:35:06 +01:00
cfg Bump anyhow, arbitrary, itertools, semver, serde 2022-10-15 12:52:34 +03:00
flycheck fix: Fix standard flycheck command not being executed in the workspace it is being invoked for 2022-10-24 16:07:42 +02:00
hir Revert "Record diverging match arms in InferenceResult" 2022-11-01 17:18:17 +01:00
hir-def Collect generic arguments in associated type bindings 2022-10-27 19:18:59 +09:00
hir-expand Support const generics for builtin derive macro 2022-10-23 00:05:22 +09:00
hir-ty Revert "Record diverging match arms in InferenceResult" 2022-11-01 17:18:17 +01:00
ide Create Callables for generic types implementing FnOnce 2022-11-01 16:38:19 +01:00
ide-assists Auto merge of #13359 - feniljain:feat-must-use-option, r=Veykril 2022-11-02 10:50:08 +00:00
ide-completion fix: make custom expr prefix completions to understand refs 2022-10-30 15:02:17 +05:30
ide-db Auto merge of #13418 - lnicola:bump-deps, r=lnicola 2022-10-15 11:27:12 +00:00
ide-diagnostics Revert "feat: Diagnose some incorrect usages of the question mark operator" 2022-10-18 14:18:59 +02:00
ide-ssr Bump anyhow, arbitrary, itertools, semver, serde 2022-10-15 12:52:34 +03:00
limit Properly cfg the max field of Limit 2022-07-31 19:27:20 +02:00
mbe Auto merge of #13418 - lnicola:bump-deps, r=lnicola 2022-10-15 11:27:12 +00:00
parser Auto merge of #13160 - ChayimFriedman2:parse-parenthesized-type-path-with-coloncolon, r=jonas-schievink 2022-09-01 21:00:14 +00:00
paths Auto merge of #12808 - Veykril:check-workspace, r=Veykril 2022-08-04 12:57:04 +00:00
proc-macro-api Bump tracing 2022-10-15 12:52:34 +03:00
proc-macro-srv Don't run proc-macro-srv tests on the rust-analyzer repo 2022-09-24 00:08:28 +02:00
proc-macro-srv-cli Gate and rename binary, use it if it's in the sysroot 2022-07-25 16:22:39 +02:00
proc-macro-test revert nightly rustfmt formatting that accidentally slipped in 2022-07-25 14:18:30 +02:00
profile Bump libc 2022-10-15 12:55:56 +03:00
project-model Handle multiple projects sharing dependency correctly in once strategy 2022-10-23 18:01:35 +02:00
rust-analyzer Auto merge of #13359 - feniljain:feat-must-use-option, r=Veykril 2022-11-02 10:50:08 +00:00
sourcegen Remove obsolete in-rust-tree feature from sourcegen 2022-09-26 11:34:30 +02:00
stdx Bump libc 2022-10-15 12:55:56 +03:00
syntax Collect generic arguments in associated type bindings 2022-10-27 19:18:59 +09:00
test-utils Revert "feat: Diagnose some incorrect usages of the question mark operator" 2022-10-18 14:18:59 +02:00
text-edit Bump anyhow, arbitrary, itertools, semver, serde 2022-10-15 12:52:34 +03:00
toolchain Bump home 2022-10-15 12:53:26 +03:00
tt Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
vfs Make use of NoHash hashing for FileId and CrateId 2022-08-25 20:41:49 +02:00
vfs-notify Bump notify 2022-10-15 13:03:39 +03:00