summary refs log tree commit diff
path: root/tests/ui/fn
AgeCommit message (Expand)AuthorLines
2025-05-19Fixed possible ICE in annotate_mut_binding_to_immutable_bindingJosh Gunter-0/+38
2025-05-07Rollup merge of #140671 - xizheyin:issue-140169, r=petrochenkovGuillaume Gomez-0/+50
2025-05-07Use `parse_param_general` when parsing `(T, U)->R` in `parse_path_segment`xizheyin-17/+41
2025-05-05Add ui test fn-trait-use-named-paramsxizheyin-0/+26
2025-05-03compiletest: Do not require annotations on empty labels and suggestionsVadim Petrochenkov-4/+2
2025-04-30compiletest: Make diagnostic kind mandatory on line annotationsVadim Petrochenkov-48/+52
2025-04-10compiletest: Make `SUGGESTION` annotations viralVadim Petrochenkov-3/+4
2025-04-07compiletest: Avoid ignoring empty diagnostics in one more placeVadim Petrochenkov-1/+2
2025-04-03compiletest: Require `//~` annotations even if `error-pattern` is specifiedVadim Petrochenkov-4/+2
2025-04-02Fix two incorrect turbofish suggestionsFreya Arbjerg-0/+33
2025-03-22Add test to ensure no index out of bounds panic (#135474)Redddy-0/+44
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-2/+10
2025-02-21Trim suggestion part before generating highlightsMichael Goulet-2/+2
2025-02-21More sophisticated span trimmingMichael Goulet-3/+2
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-18/+27
2025-02-06Label mismatched parameters at the def site for foreign functions.Jason Newcomb-0/+30
2025-02-03Fix ICE when function argument mismatches.Jason Newcomb-0/+66
2025-02-03Check for generic parameter mismatches on trait functions.Jason Newcomb-0/+33
2025-02-02Tweak fn pointer suggestion spanEsteban Küber-1/+1
2025-01-25Rollup merge of #136032 - estebank:issue-136028, r=SparrowLiiJacob Pratt-31/+84
2025-01-24Account for mutable borrow in argument suggestionEsteban Küber-31/+84
2025-01-23tests: use `needs-subprocess` instead of `ignore-{wasm32,emscripten,sgx}`许杰友 Jieyou Xu (Joe)-1/+1
2025-01-11review comments and make test `run-rustfix`Esteban Küber-10/+36
2025-01-11On unused assign lint, detect `mut arg: &Ty` meant to be `arg: &mut Ty`Esteban Küber-1/+6
2025-01-11On E0308, detect `mut arg: &Ty` meant to be `arg: &mut Ty`Esteban Küber-3/+5
2025-01-11Add test for `mut arg: &Ty` meant to be `arg: &mut Ty`Esteban Küber-0/+80
2025-01-06only avoid blaming assignments from argument patternsdianne-5/+8
2025-01-06make outlives constraints from generic arguments less boringdianne-1/+1
2025-01-06`best_blame_constraint`: prioritize blaming interesting-seeming constraintsdianne-18/+18
2025-01-06`best_blame_constraint`: avoid blaming assignments without user-provided typesdianne-24/+21
2025-01-06`best_blame_constraint`: don't filter constraints by sup SCCdianne-21/+24
2024-11-26Rollup merge of #133470 - jieyouxu:ugly, r=compiler-errorsGuillaume Gomez-1/+0
2024-11-26tests: remove `//@ pretty-expanded` usages许杰友 Jieyou Xu (Joe)-1/+0
2024-11-25Tweak parameter mismatch explanation to not say unknownMichael Goulet-5/+36
2024-08-05Enforce supertrait outlives obligations hold when confirming implMichael Goulet-2/+16
2024-07-26Peel off explicit (or implicit) deref before suggesting clone on move error i...Michael Goulet-9/+6
2024-07-17Rollup merge of #125042 - long-long-float:suggest-move-arg-outside, r=fmeaseMatthias Krüger-1/+1
2024-07-14Use ordinal number in argument errorlong-long-float-1/+1
2024-07-12Make parse error suggestions verbose and fix spansEsteban Küber-7/+32
2024-07-06show fnsig's output when there is differenceyukang-2/+2
2024-07-04More accurate mutability suggestionEsteban Küber-3/+5
2024-06-03Auto merge of #125778 - estebank:issue-67100, r=compiler-errorsbors-2/+2
2024-05-30Rename HIR `TypeBinding` to `AssocItemConstraint` and related cleanupLeón Orell Valerian Liehr-3/+3
2024-05-29Use parenthetical notation for `Fn` traitsEsteban Küber-2/+2
2024-05-23Rollup merge of #124297 - oli-obk:define_opaque_types13, r=jackh726Matthias Krüger-0/+95
2024-04-24Modify `find_expr` from `Span` to better account for closuresEsteban Küber-3/+7
2024-04-24Register hidden types when equating function definitions in coercionOli Scherer-45/+5
2024-04-24Add some FnDef LUB coercion testsOli Scherer-0/+321
2024-04-23Allow coercing functions whose signature differs in opaque types in their def...Oli Scherer-42/+3
2024-04-23Add regression testOli Scherer-0/+134