about summary refs log tree commit diff
path: root/tests/ui/consts
AgeCommit message (Expand)AuthorLines
2025-05-03compiletest: Do not require annotations on empty labels and suggestionsVadim Petrochenkov-5/+4
2025-05-02Rollup merge of #140521 - RalfJung:oob-error, r=saethlinMatthias Krüger-27/+27
2025-05-01Clean up "const" situation in format_args!().Mara Bos-4/+4
2025-04-30interpret: better error message for out-of-bounds pointer arithmetic and acce...Ralf Jung-27/+27
2025-04-30Rollup merge of #139624 - m-ou-se:unconst-format-args, r=jhprattMatthias Krüger-1/+14
2025-04-30Add test for format_args!("{}", 0) in const.Mara Bos-1/+14
2025-04-30compiletest: Make diagnostic kind mandatory on line annotationsVadim Petrochenkov-588/+642
2025-04-29stabilize ptr::swap_nonoverlapping in constRalf Jung-8/+6
2025-04-26Fix error message for static references or mutable referencesyuk1ty-2/+2
2025-04-24Suggest {to,from}_ne_bytes for transmutations between arrays and integers, etcbendn-15/+18
2025-04-22remove intrinsics::drop_in_placeRalf Jung-11/+11
2025-04-17Rollup merge of #138632 - clubby789:stabilize-cfg-boolean-lit, r=davidtwco,Ur...Matthias Krüger-2/+2
2025-04-15Add test for issue 125668reddevilmidzy-0/+5
2025-04-13Rollup merge of #139760 - petrochenkov:noerrpat2, r=jieyouxuJacob Pratt-3/+4
2025-04-13Rollup merge of #138962 - xizheyin:issue-138836, r=compiler-errorsJacob Pratt-4/+4
2025-04-13UI tests: migrate remaining compile time `error-pattern`s to line annotationsVadim Petrochenkov-3/+4
2025-04-11Auto merge of #139578 - ferrocene:pa-compiletest-edition, r=jieyouxubors-2/+2
2025-04-11Rollup merge of #139654 - nnethercote:AssocKind-descr, r=compiler-errorsStuart Cook-8/+8
2025-04-11Improve `AssocItem::descr`.Nicholas Nethercote-8/+8
2025-04-10replace `//@ compile-flags: --edition` with `//@ edition`Pietro Albini-2/+2
2025-04-09Ensure `swap_nonoverlapping` is really always untypedScott McMurray-3/+3
2025-04-09Auto merge of #139555 - petrochenkov:errkind-ann, r=jieyouxubors-67/+67
2025-04-08UI tests: add missing diagnostic kinds where possibleVadim Petrochenkov-67/+67
2025-04-07compiletest: Avoid ignoring empty diagnostics in one more placeVadim Petrochenkov-4/+5
2025-04-04Use the span of the whole bound when the diagnostic talks about a boundOli Scherer-1/+1
2025-04-03Use `cfg(false)` in UI testsclubby789-2/+2
2025-04-03compiletest: Require `//~` annotations even if `error-pattern` is specifiedVadim Petrochenkov-8/+10
2025-04-02Rollup merge of #138992 - dianne:simplify-byte-string-to-pat, r=oli-obkMatthias Krüger-0/+137
2025-04-01add tests for array/slice const patternsdianne-0/+137
2025-04-01Auto merge of #138492 - lcnr:rm-inline_const_pat, r=oli-obkbors-27/+0
2025-03-30Remove attribute `#[rustc_error]`Vadim Petrochenkov-11/+2
2025-03-28Do not treat lifetimes from parent items as influencing child itemsOli Scherer-0/+13
2025-03-27Expect an array when expected and acutal types are both arrays during castxizheyin-4/+4
2025-03-26Use the correct binder scope for elided lifetimes in assoc constsOli Scherer-34/+16
2025-03-25Auto merge of #138865 - petrochenkov:errwhere, r=jieyouxubors-0/+29
2025-03-25compiletest: Support matching on diagnostics without a spanVadim Petrochenkov-0/+29
2025-03-24Don't ICE when encountering placeholders in layout computationMichael Goulet-8/+22
2025-03-21remove `feature(inline_const_pat)`lcnr-27/+0
2025-03-20Use def_path_str for def id arg in UnsupportedOpInfoMichael Goulet-4/+4
2025-03-14Do not suggest using `-Zmacro-backtrace` for builtin macrosEsteban Küber-131/+0
2025-03-12Rollup merge of #138357 - lcnr:goodbye-TypeVerifier-rarw, r=compiler-errorsManish Goregaokar-6/+6
2025-03-12Bless more testtiif-2/+2
2025-03-11Auto merge of #128440 - oli-obk:defines, r=lcnrbors-34/+82
2025-03-11merge `TypeChecker` and `TypeVerifier`lcnr-6/+6
2025-03-11Rollup merge of #137967 - mustartt:fix-aix-test-hangs, r=workingjubileeJakub Beránek-3/+9
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-34/+82
2025-03-08Stabilize `const_vec_string_slice`Martin Habovstiak-1/+1
2025-03-04Fix test hangs on AIXHenry Jiang-3/+9
2025-03-03Don't typeck during WF, instead check outside of WF in check_crateMichael Goulet-6/+6
2025-03-03Check signature WF when lowering MIR bodyMichael Goulet-0/+28