summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/hir-ty
AgeCommit message (Expand)AuthorLines
2024-10-06Use external stack in borrowck DFSChayim Refael Friedman-58/+67
2024-09-30Auto merge of #18207 - mbwilding:master, r=Veykrilbors-5/+5
2024-09-29Rename object_safety to dyn_compatibilityNoah Bright-72/+78
2024-09-29Fix ambiguity with CamelCase diagnostic messagesMatthew Wilding-5/+5
2024-09-25Add more LayoutError variantsLaurențiu Nicola-3/+8
2024-09-25Merge from rust-lang/rustLaurențiu Nicola-38/+43
2024-09-22Consider lifetime GATs object unsafeChayim Refael Friedman-1/+14
2024-09-21add `C-cmse-nonsecure-entry` ABIFolkert de Vries-0/+3
2024-09-18Auto merge of #18139 - ShoyuVanilla:issue-18109, r=Veykrilbors-4/+81
2024-09-19fix: Extend `type_variable_table` when modifying index is larger than table sizeShoyu Vanilla-4/+81
2024-09-18Auto merge of #18136 - valadaptive:no-mangle-lints, r=Veykrilbors-6/+15
2024-09-18Don't lint names of #[no_mangle] extern fnsvaladaptive-6/+15
2024-09-18Add diagnostics for `unsafe_op_in_unsafe_fn`Chayim Refael Friedman-5/+5
2024-09-17assert that unexpectedly unsized fields are sized in the param envLukas Markeffsky-3/+3
2024-09-16layout computation: eagerly error for unexpected unsized fieldsLukas Markeffsky-38/+40
2024-09-12Auto merge of #18099 - ChayimFriedman2:diag-only-necessary, r=Veykrilbors-141/+11
2024-09-12Use more correct handling of lint attributesChayim Refael Friedman-141/+11
2024-09-12Fix inference of literals when the expectation is CastableChayim Refael Friedman-6/+37
2024-09-11Lift out workspace related data into a separate query to preserve crategraph ...Lukas Wirth-3/+3
2024-09-11Skip checks for cast to dyn traitsShoyu Vanilla-0/+43
2024-09-06fix: Properly prevent mir building with unknown types presentLukas Wirth-4/+13
2024-09-06fix: Always explicitly set trait ref self types when loweringLukas Wirth-57/+71
2024-09-05fix: Fix parser panicking on invalid asm optionsLukas Wirth-0/+5
2024-09-05Fix name fetching being incorrect for asm operandsLukas Wirth-3/+3
2024-09-05Add Definition kind for asm register classesLukas Wirth-10/+10
2024-09-05Lower asm expressionsLukas Wirth-17/+199
2024-09-04Parse builtin#asm expressionsLukas Wirth-4/+9
2024-09-04fix: Fix lowering of for loops dropping the `loop` blockLukas Wirth-0/+8
2024-09-03feat: Implement cast typechecksShoyu Vanilla-82/+520
2024-09-02Avoid Option::is_none_or for a whileLaurențiu Nicola-1/+1
2024-08-31Rename function and remove flag argumentriverbl-9/+21
2024-08-31Add explicit enum discriminant assistriverbl-5/+17
2024-08-30Auto merge of #18003 - ChayimFriedman2:addr_of-static-mut, r=Veykrilbors-1/+10
2024-08-29Do not report missing unsafe on `addr_of[_mut]!(EXTERN_OR_MUT_STATIC)`Chayim Refael Friedman-0/+8
2024-08-29Add diagnostic for accessing an `extern` staticChayim Refael Friedman-1/+2
2024-08-30fix: `std::error::Error` is object unsafeShoyu Vanilla-21/+45
2024-08-29Auto merge of #17814 - ShoyuVanilla:object-safety, r=Veykrilbors-55/+1063
2024-08-29feat: Implement object safetyShoyu Vanilla-55/+1063
2024-08-29Auto merge of #17940 - ChayimFriedman2:closure-to-fn, r=Veykrilbors-13/+117
2024-08-29Merge from rust-lang/rustLaurențiu Nicola-2/+4
2024-08-27Create an assist to convert closure to freestanding fnChayim Refael Friedman-13/+117
2024-08-27Auto merge of #17973 - Veykril:proc-macro-curr-dir, r=Veykrilbors-7/+9
2024-08-27Expand proc-macros in workspace root, not package rootLukas Wirth-7/+9
2024-08-26Auto merge of #17963 - avrong:avrong/error-lifetimes, r=Veykrilbors-25/+9
2024-08-26Show lifetime args if there are only error onesAleksei Trifonov-12/+2
2024-08-26Show and render error lifetime args as `'_`Aleksei Trifonov-13/+7
2024-08-26Auto merge of #17941 - ChayimFriedman2:pre-closure-to-fn, r=Veykrilbors-141/+705
2024-08-25Auto merge of #17961 - Veykril:autoderef-alloc, r=Veykrilbors-23/+56
2024-08-25internal: Don't allocate autoderef steps when not neededLukas Wirth-23/+56
2024-08-25Auto merge of #17958 - Veykril:deref-chain-method-completions, r=Veykrilbors-1/+1