about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/ide-diagnostics
AgeCommit message (Expand)AuthorLines
2024-10-27Split `macro-error` diagnostic so users can ignore only parts of itChayim Refael Friedman-4/+9
2024-10-22Correctly resolve variables and labels from before macro definition in macro ...Chayim Refael Friedman-0/+30
2024-10-22Merge pull request #18254 from ChayimFriedman2/fix-mutLukas Wirth-18/+45
2024-10-21fix: classify `safe` as a contextual kwroife-2/+2
2024-10-20Store patterns desugared from destructuring assignments in source mapChayim Refael Friedman-9/+29
2024-10-20Handle destructuring assignments uniformlyChayim Refael Friedman-1/+16
2024-10-20Remove now-incorrect codeChayim Refael Friedman-8/+0
2024-10-20fix: do not emit unsafe diagnositcs for safe statics in extern blocksroife-0/+35
2024-10-20feat: initial support for safe_kw in extern blocksroife-2/+2
2024-10-15fix: autofix for missing wrapped unit in return exprroife-0/+38
2024-10-14Auto merge of #18252 - ShoyuVanilla:issue-15799, r=Veykrilbors-0/+25
2024-10-14Auto merge of #18217 - ChayimFriedman2:cast-unknown-ptr, r=Veykrilbors-18/+36
2024-10-07fix: Do not consider mutable usage of deref to `*mut T` as deref_mutShoyu Vanilla-0/+25
2024-09-30Comment out cast checks for unknown ptr kindChayim Refael Friedman-18/+36
2024-09-29Fix ambiguity with CamelCase diagnostic messagesMatthew Wilding-15/+15
2024-09-19Handle lint attributes that are under `#[cfg_attr]`Chayim Refael Friedman-9/+92
2024-09-19Remove check that text of `parse_expr_from_str()` matches the produced parsed...Chayim Refael Friedman-0/+13
2024-09-18Auto merge of #18128 - ChayimFriedman2:external-macros-lint, r=Veykrilbors-1/+62
2024-09-18Auto merge of #18136 - valadaptive:no-mangle-lints, r=Veykrilbors-0/+58
2024-09-18Don't lint names of #[no_mangle] extern fnsvaladaptive-0/+58
2024-09-18Add diagnostics for `unsafe_op_in_unsafe_fn`Chayim Refael Friedman-3/+45
2024-09-17Handle errors and lints from external macrosChayim Refael Friedman-1/+62
2024-09-12Auto merge of #18099 - ChayimFriedman2:diag-only-necessary, r=Veykrilbors-134/+310
2024-09-12Use more correct handling of lint attributesChayim Refael Friedman-134/+310
2024-09-12Auto merge of #18106 - Veykril:push-yzsqoykyowts, r=Veykrilbors-0/+22
2024-09-12fix: Don't report typed hole error in asm! out opsLukas Wirth-0/+22
2024-09-12Fix inference of literals when the expectation is CastableChayim Refael Friedman-3/+14
2024-09-11Skip checks for cast to dyn traitsShoyu Vanilla-0/+96
2024-09-06fix: Properly prevent mir building with unknown types presentLukas Wirth-1/+1
2024-09-06fix: Always explicitly set trait ref self types when loweringLukas Wirth-1/+1
2024-09-03feat: Implement cast typechecksShoyu Vanilla-7/+1034
2024-08-29Do not report missing unsafe on `addr_of[_mut]!(EXTERN_OR_MUT_STATIC)`Chayim Refael Friedman-0/+25
2024-08-29Add diagnostic for accessing an `extern` staticChayim Refael Friedman-0/+25
2024-08-29feat: Implement object safetyShoyu Vanilla-1/+1
2024-08-25fix: Fix trait method completions not acknowledging Deref implsLukas Wirth-1/+1
2024-08-16Auto merge of #17905 - ChayimFriedman2:edition-dependent-raw-keyword, r=Veykrilbors-63/+114
2024-08-16Properly account for editions in namesChayim Refael Friedman-63/+114
2024-08-16Auto merge of #17907 - ChayimFriedman2:no-once_cell, r=Veykrilbors-6/+6
2024-08-16Replace once_cell with std's recently stabilized OnceCell/Lock and LazyCell/LockChayim Refael Friedman-6/+6
2024-08-13Temporarily remove non-working test caseShoyu Vanilla-12/+2
2024-08-13feat: `min-exhaustive-patternsShoyu Vanilla-0/+70
2024-08-12fix: Missing non-exhaustive let diagnostics inside async or unsafe blockShoyu Vanilla-0/+39
2024-08-12Auto merge of #17863 - Veykril:include-diags, r=Veykrilbors-5/+19
2024-08-12Resolve included files to their calling modules in IDE layerLukas Wirth-5/+19
2024-08-12fix: Correctly support `#[rustc_deprecated_safe_2024]`Lukas Wirth-0/+24
2024-08-07Fix unconfigured diagnostic being attached to the wrong file for modulesLukas Wirth-1/+25
2024-08-06Replace `[package.repository] = "…"` of published crates with `[package.rep...Vincent Esche-1/+1
2024-08-06Unify package descriptions by adding references to "rust-analyzer"Vincent Esche-1/+1
2024-08-06Add repository URL for published crates' missing `[package.repository]` fieldsVincent Esche-0/+1
2024-08-06Replace `"TBD"` with more helpful desciptions in published crates' `[package....Vincent Esche-1/+1