rust-analyzer/crates
bors 7b60339273 Auto merge of #18207 - mbwilding:master, r=Veykril
fix: Ambiguity with CamelCase diagnostic messages, align with rustc warnings

Fixed diagnostic messages so they say UpperCamelCase rather than CamelCase, as it is ambiguous.
Usually I'd call it PascalCase, but in the code base it is called UpperCamelCase so I left it with that naming choice.

`rustc` says `upper camel case` also when the case is wrong
```
warning: trait `testThing` should have an upper camel case name
 --> src/main.rs:5:7
  |
5 | trait testThing {
  |       ^^^^^^^^^ help: convert the identifier to upper camel case: `TestThing`
  |
  = note: `#[warn(non_camel_case_types)]` on by default
```

This is in line with the UPPER_SNAKE_CASE diagnostic messages.
546339a7be/crates/hir-ty/src/diagnostics/decl_check.rs (L60)
546339a7be/crates/ide-diagnostics/src/handlers/incorrect_case.rs (L535)
2024-09-30 08:22:29 +00:00
..
base-db Lift out workspace related data into a separate query to preserve crategraph deduplication 2024-09-11 12:16:41 +02:00
cfg Gate #[test] expansion under cfg(test). 2024-09-30 00:12:45 +03:00
hir Rename object_safety to dyn_compatibility 2024-09-29 07:26:45 -04:00
hir-def Gate #[test] expansion under cfg(test). 2024-09-30 00:12:45 +03:00
hir-expand Gate #[test] expansion under cfg(test). 2024-09-30 00:12:45 +03:00
hir-ty Auto merge of #18207 - mbwilding:master, r=Veykril 2024-09-30 08:22:29 +00:00
ide Rename object_safety to dyn_compatibility 2024-09-29 07:26:45 -04:00
ide-assists minor: Use SyntaxEditor in extract_variable 2024-09-26 16:29:16 -04:00
ide-completion Merge from rust-lang/rust 2024-09-25 09:00:53 +03:00
ide-db Auto merge of #18207 - mbwilding:master, r=Veykril 2024-09-30 08:22:29 +00:00
ide-diagnostics Fix ambiguity with CamelCase diagnostic messages 2024-09-29 16:35:37 +08:00
ide-ssr Properly account for editions in names 2024-08-16 16:46:24 +03:00
intern Merge from rust-lang/rust 2024-09-25 09:00:53 +03:00
limit Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
load-cargo Gate #[test] expansion under cfg(test). 2024-09-30 00:12:45 +03:00
mbe Auto merge of #18151 - ChayimFriedman2:metavar-concat, r=Veykril 2024-09-20 07:23:43 +00:00
parser Run rustfmt 2024-09-25 09:26:15 +03:00
paths Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
proc-macro-api Properly set the working directory for proc-macro execution 2024-09-11 12:23:12 +02:00
proc-macro-srv fix: Fix TokenStream::to_string implementation dropping quotation marks 2024-08-29 08:45:35 +02:00
proc-macro-srv-cli Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
profile Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
project-model Gate #[test] expansion under cfg(test). 2024-09-30 00:12:45 +03:00
rust-analyzer Auto merge of #18085 - ChayimFriedman2:gate-test, r=Veykril 2024-09-30 06:32:20 +00:00
salsa Drop Apache license appendices 2024-08-27 14:52:34 +03:00
span Fix a bug in span map merge, and add explanations of how span maps are stored 2024-09-23 01:54:40 +03:00
stdx Use crossbeam-channel from the workspace 2024-08-09 23:48:03 +02:00
syntax Rename object_safety to dyn_compatibility 2024-09-29 07:26:45 -04:00
syntax-bridge Get rid of $crate in expansions shown to the user 2024-09-18 18:30:59 +03:00
test-fixture Always cache macro expansions' root node in Semantics 2024-09-17 00:19:39 +03:00
test-utils fix: Always explicitly set trait ref self types when lowering 2024-09-06 14:06:41 +02:00
text-edit Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
toolchain Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
tt Support the ${concat(...)} metavariable expression 2024-09-19 22:19:12 +03:00
vfs Rename object_safety to dyn_compatibility 2024-09-29 07:26:45 -04:00
vfs-notify Auto merge of #17843 - mo8it:flycheck, r=Veykril 2024-08-12 09:27:47 +00:00