about summary refs log tree commit diff
path: root/tests/ui/const-generics
AgeCommit message (Expand)AuthorLines
2024-06-04Rollup merge of #125608 - oli-obk:subsequent_lifetime_errors, r=BoxyUwU许杰友 Jieyou Xu (Joe)-18/+2
2024-06-03Make WHERE_CLAUSES_OBJECT_SAFETY a regular object safety violationMichael Goulet-15/+25
2024-06-03Mark all missing generic args as errorsOli Scherer-18/+2
2024-05-31Rollup merge of #125635 - fmease:mv-type-binding-assoc-item-constraint, r=com...Matthias Krüger-6/+6
2024-05-30Rename HIR `TypeBinding` to `AssocItemConstraint` and related cleanupLeón Orell Valerian Liehr-6/+6
2024-05-29Partially implement `ConstArgHasType`Boxy-183/+109
2024-05-28Allow type_of to return partially non-error types if the type was already tai...Oli Scherer-4/+31
2024-05-27remove fixed crashes, add fixed crashes to tests, add new cashed found in the...Matthias Krüger-1/+153
2024-05-25Rollup merge of #125451 - oli-obk:const_type_mismatch, r=compiler-errorsMatthias Krüger-23/+26
2024-05-24Actually just remove the special case altogetherMichael Goulet-0/+24
2024-05-24Use regular type equating instead of a custom queryOli Scherer-1/+15
2024-05-24Fail relating constants of different typesOli Scherer-22/+11
2024-05-14only find segs chain for missing methods when no available candidatesbohan-0/+34
2024-04-28add test for ice expected-type-of-closure-body-to-be-a-closure-or-coroutine-i...Matthias Krüger-0/+91
2024-04-28add test for const generic ty's with lifetimes cause opaque types to ICEMatthias Krüger-0/+29
2024-04-28add test for ICE failed to resolve instance for <[f32; 2] as CrossProductMatthias Krüger-0/+18
2024-04-28add test for Inconsistent rustc_transmute::is_transmutable(...) result, got YesMatthias Krüger-0/+71
2024-04-24Fix tests and blessGary Guo-6/+5
2024-04-23Rollup merge of #122591 - gurry:122162-impl-type-binding-suggestion, r=fmeaseLeón Orell Valerian Liehr-0/+10
2024-04-21add test for ICE caused by using feature(generic_const_exprs) #114463Matthias Krüger-0/+29
2024-04-19add test for #83993Matthias Krüger-0/+47
2024-04-16Don't ICE for kind mismatches during error renderingOli Scherer-0/+63
2024-04-16Emit suggestions when equality constraints are wrongly usedGurinder Singh-0/+10
2024-04-11Rollup merge of #123704 - estebank:diag-changes, r=compiler-errorsMatthias Krüger-4/+11
2024-04-11Rollup merge of #123703 - estebank:diag-changes-2, r=NadrierilLeón Orell Valerian Liehr-5/+5
2024-04-10Handle more cases of value suggestionsEsteban Küber-4/+11
2024-04-10Use `fn` ptr signature instead of `{closure@..}` in infer errorEsteban Küber-5/+5
2024-04-09Tweak value suggestions in `borrowck` and `hir_analysis`Esteban Küber-2/+2
2024-04-09Further cleanup cfgs in the UI test suiteUrgau-2/+2
2024-04-07add test for ice: unknown alias DefKind: AnonConst #116710Matthias Krüger-0/+34
2024-04-04Allow defining opaque types when checking const equality boundsOli Scherer-4/+4
2024-04-04Add regression testOli Scherer-0/+40
2024-04-04Add some regression tests for opaque types and const genericsOli Scherer-0/+170
2024-03-27Use `TraitRef::to_string` sorting in favor of `TraitRef::ord`, as the latter ...Oli Scherer-15/+15
2024-03-25Rollup merge of #122988 - matthiaskrgr:icetests, r=petrochenkovMatthias Krüger-0/+180
2024-03-25Auto merge of #122802 - estebank:unconstrained-generic-const, r=Nadrierilbors-91/+258
2024-03-24add test for ICE: no entry found for key for const function in generic_const...Matthias Krüger-0/+21
2024-03-24add test for #114464Matthias Krüger-0/+28
2024-03-24add test for https://github.com/rust-lang/rust/issues/119731Matthias Krüger-0/+131
2024-03-24add issue numbers via // issue: rust-lang/rust#ISSUE_NUM directiveMatthias Krüger-1/+1
2024-03-24add test for 88421 ICE: could not fully normalize `&<MyType as std::ops::Inde...Matthias Krüger-0/+36
2024-03-23add test for #106423Matthias Krüger-0/+57
2024-03-22add test for #97725Matthias Krüger-1/+6
2024-03-22Rollup merge of #122863 - matthiaskrgr:teest, r=lcnrMatthias Krüger-0/+96
2024-03-22Rollup merge of #122820 - oli-obk:no_ord_def_id, r=estebankMatthias Krüger-74/+161
2024-03-22address review commentsMatthias Krüger-91/+11
2024-03-22add test for ice #119275 "no entry found for key" in predicates_of.rsMatthias Krüger-0/+64
2024-03-22add test for ice #113017 no entry found for key in generics_of.rsMatthias Krüger-0/+112
2024-03-21add test for #122549Matthias Krüger-0/+96
2024-03-21Sorting arbitrary constants should not be done, as it relies on `DefId` order...Oli Scherer-74/+161