about summary refs log tree commit diff
path: root/tests/ui/consts
AgeCommit message (Expand)AuthorLines
2024-07-26Rollup merge of #124941 - Skgland:stabilize-const-int-from-str, r=dtolnayTrevor Gross-4/+2
2024-07-26Auto merge of #128034 - Nadrieril:explain-unreachable, r=compiler-errorsbors-2/+6
2024-07-24Rollup merge of #122192 - oli-obk:type_of_opaque_for_const_checks, r=lcnrMatthias Krüger-128/+16
2024-07-24Do not try to reveal hidden types when trying to prove Freeze in the defining...Oli Scherer-128/+16
2024-07-24Rollup merge of #127374 - estebank:wrong-generic-args, r=oli-obkMatthias Krüger-4/+4
2024-07-24Explain why a given pattern is considered unreachableNadrieril-2/+6
2024-07-23Rollup merge of #125834 - workingjubilee:weaken-thir-unsafeck-for-addr-of-sta...Matthias Krüger-7/+4
2024-07-22Revert suggestion verbosity changeEsteban Küber-28/+12
2024-07-22Change suggestion message wordingEsteban Küber-4/+4
2024-07-22Use verbose suggestion for "wrong # of generics"Esteban Küber-12/+28
2024-07-22compiler: treat `&raw (const|mut) UNSAFE_STATIC` implied deref as safeJubilee Young-7/+4
2024-07-21Auto merge of #127722 - BoxyUwU:new_adt_const_params_limitations, r=compiler-...bors-17/+14
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-17Split part of `adt_const_params` into `unsized_const_params`Boxy-17/+14
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-04stabilize `const_int_from_str`Skgland-4/+2
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