rust-analyzer/crates
Michael Goulet 64d9364933
Rollup merge of #115011 - compiler-errors:warn-on-elided-assoc-ct-lt, r=cjgillot
Warn on elided lifetimes in associated constants (`ELIDED_LIFETIMES_IN_ASSOCIATED_CONSTANT`)

Elided lifetimes in associated constants (in impls) erroneously resolve to fresh lifetime parameters on the impl since #97313. This is not correct behavior (see #38831).

I originally opened #114716 to fix this, but given the time that has passed, the crater results seem pretty bad: https://github.com/rust-lang/rust/pull/114716#issuecomment-1682091952

This PR alternatively implements a lint against this behavior, and I'm hoping to bump this to deny in a few versions.
2023-08-22 09:00:49 -07:00
..
base-db Support libc::getenv in mir interpreter 2023-08-06 01:46:29 +03:30
cfg Replace x with it 2023-07-06 17:33:17 +03:30
flycheck Bump more deps 2023-06-22 11:44:10 +02:00
hir Implement extern crate completion 2023-08-20 16:36:59 +00:00
hir-def Merge commit '9b3d03408c66749d56466bb09baf2a7177deb6ce' into sync-from-ra 2023-08-21 12:44:09 +03:00
hir-expand internal: Add offset param to token descending API 2023-08-16 10:07:18 +02:00
hir-ty Merge commit '9b3d03408c66749d56466bb09baf2a7177deb6ce' into sync-from-ra 2023-08-21 12:44:09 +03:00
ide internal: Add offset param to token descending API 2023-08-16 10:07:18 +02:00
ide-assists Auto merge of #15434 - alibektas:deunwrap/generate_derive, r=lnicola 2023-08-18 16:16:27 +00:00
ide-completion Merge commit '9b3d03408c66749d56466bb09baf2a7177deb6ce' into sync-from-ra 2023-08-21 12:44:09 +03:00
ide-db Merge commit '9b3d03408c66749d56466bb09baf2a7177deb6ce' into sync-from-ra 2023-08-21 12:44:09 +03:00
ide-diagnostics Add ExternCrateDecl to HIR 2023-08-02 11:52:55 +02:00
ide-ssr Prefer hir::SelfParam and fix signature help of methods from macros 2023-08-09 02:42:08 +08:00
intern Bump more deps 2023-06-22 11:44:10 +02:00
limit Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-ra 2023-06-05 12:04:23 +03:00
load-cargo Fix publishing of load-cargo crate 2023-07-10 13:40:37 +03:00
mbe fix: Fix float parser hack creating empty NameRef tokens 2023-08-08 14:44:33 +02:00
parser Auto merge of #15179 - ponyii:fix/default-values-of-const-params-are-ignored, r=HKalbasi 2023-08-15 10:17:43 +00:00
paths internal: use consistent style for error handling 2023-06-19 13:01:47 +01:00
proc-macro-api Upgrade Object and related deps 2023-08-14 23:05:45 +08:00
proc-macro-srv Upgrade Object and related deps 2023-08-14 23:05:45 +08:00
proc-macro-srv-cli Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-ra 2023-06-05 12:04:23 +03:00
proc-macro-test ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
profile Always collect memory usage info in analysis-stats 2023-08-15 18:22:37 +03:00
project-model More error context when failing to invoke the rust toolchain 2023-08-09 14:09:37 +02:00
rust-analyzer fix help text for rust-analyzer.check.invocation{Strategy,Location} 2023-08-21 09:54:24 +02:00
sourcegen Format let-else 2023-07-03 20:34:09 +02:00
stdx Bump more deps 2023-06-22 11:44:10 +02:00
syntax Auto merge of #15179 - ponyii:fix/default-values-of-const-params-are-ignored, r=HKalbasi 2023-08-15 10:17:43 +00:00
test-utils Fix elided lifetimes in rust-lang/rust 2023-08-21 23:53:09 +00:00
text-edit Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-ra 2023-06-05 12:04:23 +03:00
toolchain Respect $CARGO_HOME when looking up toolchains. 2023-02-26 15:37:04 +09:00
tt Auto merge of #15367 - Veykril:eager-macro-inputs, r=Veykril 2023-08-01 11:23:02 +00:00
vfs Upgrade to indexmap v2 2023-06-24 17:35:20 -07:00
vfs-notify Downgrade some deps to get rif of windows-sys duplication 2023-06-22 11:44:10 +02:00