summary refs log tree commit diff
path: root/tests/ui/consts
AgeCommit message (Expand)AuthorLines
2024-08-15Revert "Auto merge of #125915 - camelid:const-arg-refactor, r=BoxyUwU"Boxy-3/+3
2024-07-19Rollup merge of #127856 - RalfJung:interpret-cast-sanity, r=oli-obkMatthias Krüger-182/+113
2024-07-19Auto merge of #125915 - camelid:const-arg-refactor, r=BoxyUwUbors-3/+3
2024-07-18Use more accurate span for `addr_of!` suggestionEsteban Küber-1/+1
2024-07-18avoid creating an Instance only to immediately disassemble it againRalf Jung-3/+5
2024-07-18const_to_pat: cleanup leftovers from when we had to deal with non-structural ...Ralf Jung-6/+21
2024-07-18interpret: add sanity check in dyn upcast to double-check what codegen doesRalf Jung-182/+113
2024-07-16Add `ConstArgKind::Path` and make `ConstArg` its own HIR nodeNoah Lev-3/+3
2024-07-15Rollup merge of #127684 - RalfJung:unleashed-mutable-refs, r=oli-obkMatthias Krüger-427/+399
2024-07-15Rollup merge of #127407 - estebank:parser-suggestions, r=oli-obkMatthias Krüger-6/+21
2024-07-15Rollup merge of #124921 - RalfJung:offset-from-same-addr, r=oli-obkMatthias Krüger-25/+30
2024-07-13consolidate miri-unleashed tests for mutable refs into one fileRalf Jung-427/+399
2024-07-12Make parse error suggestions verbose and fix spansEsteban Küber-6/+21
2024-07-11Account for `let foo = expr`; to suggest `const foo: Ty = expr;`Esteban Küber-2/+2
2024-07-11Use verbose style when suggesting changing `const` with `let`Esteban Küber-15/+26
2024-07-11Always use a colon in `//@ normalize-*:` headersZalathar-57/+57
2024-07-06offset_from intrinsic: always allow pointers to point to the same addressRalf Jung-25/+30
2024-07-06Rollup merge of #127275 - RalfJung:offset-from-isize-min, r=AmanieuMatthias Krüger-5/+19
2024-07-04Rollup merge of #127319 - oli-obk:fail2taint, r=compiler-errorsMatthias Krüger-0/+13
2024-07-04Remove a use of `StructuredDiag`, which is incompatible with automatic error ...Oli Scherer-0/+13
2024-07-04offset_from: "the difference must fit in an isize" is a corollaryRalf Jung-5/+19
2024-07-04Use shorter span for float literal suggestionEsteban Küber-4/+6
2024-07-03Rollup merge of #123588 - tgross35:stabilize-assert_unchecked, r=dtolnayJacob Pratt-6/+2
2024-06-30Migrate tests to use `-Znext-solver`Deadbeef-50/+34
2024-06-28bless UI testsDeadbeef-4/+16
2024-06-28bless tests part 1Deadbeef-298/+65
2024-06-24Suggest inline const blocks for array initializationPavel Grigorenko-33/+19
2024-06-23Rollup merge of #126833 - RalfJung:extern-type-field-ice, r=compiler-errorsMatthias Krüger-1/+25
2024-06-23Change a fixed crash test to a standard testTrevor Gross-0/+14
2024-06-22don't ICE when encountering an extern type field during validationRalf Jung-1/+25
2024-06-22Make `effects` an incomplete featureDeadbeef-4/+31
2024-06-21bless testsDeadbeef-23/+256
2024-06-19Stabilize `hint_assert_unchecked`Trevor Gross-6/+2
2024-06-19Remove c_unwind from tests and fix testsGary Guo-2/+2
2024-06-17Rollup merge of #125258 - compiler-errors:static-if-no-lt, r=nnethercote许杰友 Jieyou Xu (Joe)-0/+244
2024-06-16Rollup merge of #126127 - Alexendoo:other-trait-diag, r=pnkfelixJacob Pratt-16/+16
2024-06-14Resolve const lifetimes to static in trait tooMichael Goulet-20/+7
2024-06-14Add more testsMichael Goulet-0/+245
2024-06-14Resolve elided lifetimes in assoc const to static if no other lifetimes are i...Michael Goulet-0/+12
2024-06-14Rollup merge of #126426 - RalfJung:dangling-zst-ice, r=oli-obkMatthias Krüger-3/+38
2024-06-14const validation: fix ICE on dangling ZST referenceRalf Jung-3/+38
2024-06-13Tweak output of import suggestionsEsteban Küber-4/+8
2024-06-12Spell out other trait diagnosticAlex Macleod-16/+16
2024-06-12Require any function with a tait in its signature to actually constrain a hid...Oli Scherer-0/+244
2024-06-11add const eval bool-to-int cast testRalf Jung-0/+31
2024-06-05Bless tests and handle tests/crashesBoxy-18/+11
2024-06-03Auto merge of #125778 - estebank:issue-67100, r=compiler-errorsbors-8/+8
2024-05-29Use parenthetical notation for `Fn` traitsEsteban Küber-8/+8
2024-05-29Partially implement `ConstArgHasType`Boxy-51/+0
2024-05-26Auto merge of #124661 - RalfJung:only-structural-consts-in-patterns, r=pnkfelixbors-202/+32