about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/hir-ty
AgeCommit message (Expand)AuthorLines
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
2024-08-25fix: Fix trait method completions not acknowledging Deref implsLukas Wirth-1/+1
2024-08-24Preserve all spans for closure captures, not just oneChayim Refael Friedman-179/+456
2024-08-24Fix few bugs in closure capture computation, and add testsChayim Refael Friedman-3/+290
2024-08-24fix: Wrong `Self: Sized` predicate for trait assoc itemsShoyu Vanilla-8/+32
2024-08-22Implement floating point casts in const evalhkalbasi-3/+102
2024-08-22fix: Wrong `Sized` predicate for `generic_predicates_for_param`Shoyu Vanilla-0/+4
2024-08-19fix: Panic when a TAIT exists in a RPITShoyu Vanilla-11/+85
2024-08-18Include generics when lowering extern typeDavid Richey-5/+21
2024-08-17fix: Wrong BoundVar index when lowering impl trait parameter of parent genericsShoyu Vanilla-18/+50
2024-08-16Rollup merge of #129086 - slanterns:is_none_or, r=dtolnayMatthias Krüger-1/+1
2024-08-16Auto merge of #17905 - ChayimFriedman2:edition-dependent-raw-keyword, r=Veykrilbors-157/+317
2024-08-16Properly account for editions in namesChayim Refael Friedman-157/+317