summary refs log tree commit diff
path: root/src/test/ui/consts
AgeCommit message (Expand)AuthorLines
2022-05-14Auto merge of #95826 - carbotaniuman:miri-permissive-provenance, r=RalfJungbors-2/+2
2022-05-13Rustc changes for permissive provenancecarbotaniuman-2/+2
2022-05-12Auto merge of #95837 - scottmcm:ptr-offset-from-unsigned, r=oli-obkbors-3/+41
2022-05-11Apply CR suggestions; add real tracking issueScott McMurray-1/+2
2022-05-11Rename `unsigned_offset_from` to `sub_ptr`Scott McMurray-1/+1
2022-05-11Add `unsigned_offset_from` on pointersScott McMurray-3/+40
2022-05-12Auto merge of #96150 - est31:unused_macro_rules, r=petrochenkovbors-0/+1
2022-05-05Allow unused rules in the testsuite where the lint triggersest31-0/+1
2022-05-04Auto merge of #96546 - nnethercote:overhaul-MacArgs, r=petrochenkovbors-2/+2
2022-05-05Overhaul `MacArgs::Eq`.Nicholas Nethercote-2/+2
2022-05-04Generate an intermediate temporary for `Drop` constants.Oli Scherer-4/+9
2022-05-04Add regression testOli Scherer-0/+26
2022-04-30Also report the call site of PME errors locally.Oli Scherer-0/+12
2022-04-28Update the diagnostic message to match the new spanOli Scherer-7/+7
2022-04-28Check that repeat expression elements are Copy (ignoring lifetimes) in typeck...Oli Scherer-32/+59
2022-04-26Move some tests to more reasonable placesCaio-0/+34
2022-04-26Revert "add `DefId` to unsafety violations and display function path in E0133"Oli Scherer-5/+6
2022-04-24only show a simple description in E0133 span labelEmil Gardström-3/+3
2022-04-24add `DefId` to unsafety violations and display function path in E0133Emil Gardström-8/+8
2022-04-23Auto merge of #90602 - mbartlett21:const-intoiterator, r=oli-obkbors-4/+4
2022-04-23Auto merge of #95971 - workingjubilee:no-weird-fp-in-const, r=oli-obkbors-30/+181
2022-04-21Update `validate_uninhabited_zsts.rs` test after MIR building changesTomasz Miąsko-34/+55
2022-04-20Rollup merge of #93313 - tmiasko:uninhabited, r=tmandryDylan DPC-47/+21
2022-04-17Rollup merge of #95346 - Aaron1011:stablize-const-extern-fn, r=pnkfelixDylan DPC-52/+19
2022-04-12Ban subnormals and NaNs in const {from,to}_bitsJubilee Young-30/+181
2022-04-12Auto merge of #93408 - liangyongrui:master, r=scottmcmbors-4/+4
2022-04-11Add const eval tests ensuring padding gets correctly marked as deinit on deag...Jakob Degen-0/+37
2022-04-11Bless tests that broke in a trivial way due to change in deaggregationJakob Degen-11/+11
2022-04-11fix Layout struct member naming styleliangyongrui-4/+4
2022-04-09Rollup merge of #95361 - scottmcm:valid-align, r=Mark-SimulacrumDylan DPC-9/+36
2022-04-08Make non-power-of-two alignments a validity error in `Layout`Scott McMurray-9/+36
2022-04-05Auto merge of #94527 - oli-obk:undef_scalars, r=nagisa,erikdesjardinbors-0/+50
2022-04-05mir-interpret now treats unions as non-immediate, even if they have scalar la...Oli Scherer-0/+50
2022-04-04Refer to the TraitRef::identity in the message to be clearerEsteban Kuber-3/+3
2022-04-04Dedup logic and improve output for other types that impl traitEsteban Kuber-11/+11
2022-04-04Fix list lengthEsteban Kuber-0/+12
2022-04-04Mention implementers of unsatisfied traitEsteban Kuber-12/+24
2022-04-02diagnostics: add test case for bogus T:Sized suggestionMichael Howell-0/+24
2022-04-02Rollup merge of #95354 - dtolnay:rustc_const_stable, r=lcnrDylan DPC-2/+2
2022-03-31Adjust feature names that disagree on const stabilization versionDavid Tolnay-2/+2
2022-03-31test const size_of_val_raw on big valueRalf Jung-1/+5
2022-03-31catch overflow in slice size computationRalf Jung-42/+67
2022-03-27Remove duplicated test filesCaio-36/+0
2022-03-26Stablize `const_extern_fn` for "Rust" and "C"Aaron Hill-52/+19
2022-03-24Check if call return type is visibly uninhabited when building MIRTomasz Miąsko-47/+21
2022-03-24Auto merge of #94934 - Lireer:const-prop-lint, r=oli-obkbors-22/+195
2022-03-23Rollup merge of #95221 - RalfJung:check_and_deref_ptr, r=oli-obkMatthias Krüger-8/+8
2022-03-23Remove line instead of just commenting outCarl Scherer-1/+0
2022-03-23separate const prop lint from optimizationsCarl Scherer-22/+196
2022-03-23Auto merge of #94901 - fee1-dead:destructable, r=oli-obkbors-15/+19