about summary refs log tree commit diff
path: root/src/test/ui/consts
AgeCommit message (Expand)AuthorLines
2020-09-23Bless testsDylan MacKenzie-38/+38
2020-09-24Auto merge of #77083 - KodrAus:revert/const-type-id, r=RalfJungbors-4/+7
2020-09-23Make sure we keep emitting a hard errorOliver Scherer-13/+1
2020-09-23Make sure we report a future incompat error in all casesOliver Scherer-3/+3
2020-09-23Make sure we don't hide errors just because a lint has been emittedOliver Scherer-15/+8
2020-09-23Deduplicate errors in const to pat conversionOliver Scherer-113/+15
2020-09-23Rollup merge of #76898 - Aaron1011:fix/item-def-span, r=oli-obkDylan DPC-13/+7
2020-09-23revert const_type_id stabilizationAshley Mannix-4/+7
2020-09-22Bless testsDylan MacKenzie-122/+142
2020-09-21Rollup merge of #76807 - ecstatic-morse:const-checking-staged-api, r=oli-obkecstatic-morse-6/+63
2020-09-21Record `tcx.def_span` instead of `item.span` in crate metadataAaron Hill-13/+7
2020-09-20Move const tests for `Option` to `library\core`Christiaan Dirkx-12/+0
2020-09-20Stabilize some Option methods as constCDirkx-2/+0
2020-09-20Use precise errors during const to pat conversion instead of a catch-all on t...Oliver Scherer-48/+47
2020-09-20Implement destructuring for all aggregates and for referencesOliver Scherer-24/+2
2020-09-20Auto merge of #74949 - oli-obk:validate_const_eval_raw, r=RalfJungbors-66/+45
2020-09-19cleanup promotion const_kind checksRalf Jung-14/+54
2020-09-19Rollup merge of #76434 - RalfJung:black-box, r=Mark-SimulacrumRalf Jung-18/+13
2020-09-19Reflect the "do not call this query directly" mentality in its nameOliver Scherer-2/+2
2020-09-19Address review commentsOliver Scherer-16/+16
2020-09-19Fix rebase fallout and make the test work with debug infoOliver Scherer-3/+3
2020-09-19We can make const eval sound, it's just super expensiveOliver Scherer-7/+3
2020-09-19Clarify a statement in UB testOliver Scherer-1/+3
2020-09-19Stop using the `const_eval` query for initializers of staticsOliver Scherer-22/+14
2020-09-19Validate constants during `const_eval_raw`Oliver Scherer-28/+17
2020-09-16Test that `const_precise_live_drops` can't be depended upon stablyDylan MacKenzie-0/+57
2020-09-16Bless `miri-unleashed` testsDylan MacKenzie-6/+6
2020-09-12Make all methods of `Duration` constChristiaan Dirkx-67/+0
2020-09-12Rollup merge of #76114 - marmeladema:duration-saturating-ops, r=shepmasterRalf Jung-16/+26
2020-09-08Auto merge of #75585 - RalfJung:demotion, r=oli-obkbors-0/+50
2020-09-08Add saturating methods for `Duration`marmeladema-16/+26
2020-09-07add missing feature flagRalf Jung-0/+1
2020-09-07Separate feature flagsRalf Jung-1/+2
2020-09-07use black_box instead of local optimziation barriers in const tests where pos...Ralf Jung-19/+12
2020-09-07Rollup merge of #76305 - CDirkx:const-tests, r=matkladDylan DPC-46/+0
2020-09-07Rollup merge of #76299 - CDirkx:ip-tests, r=matkladDylan DPC-111/+0
2020-09-06add compile-fail test for &mut promotionRalf Jung-1/+34
2020-09-06do not premote non-ZST mutable references everRalf Jung-0/+17
2020-09-04Move various ui const tests to `library`Christiaan Dirkx-46/+0
2020-09-03Auto merge of #73996 - da-x:short-unique-paths, r=petrochenkovbors-67/+64
2020-09-03Make `Ipv4Addr` and `Ipv6Addr` const tests unit tests under `library`Christiaan Dirkx-111/+0
2020-09-03Rollup merge of #76142 - CDirkx:const-ip, r=ecstatic-morseDylan DPC-0/+58
2020-09-02pretty: trim paths of unique symbolsDan Aloni-67/+64
2020-09-01Make all remaining methods of `std::net::Ipv4Addr` constChristiaan Dirkx-1/+18
2020-09-01Add test for `Ipv4Addr` methods in a const contextChristiaan Dirkx-0/+41
2020-09-01Add trailing newline to `ipv6.rs`CDirkx-1/+1
2020-09-01Add test for `Ipv6Addr` methods in a const contextCDirkx-0/+53
2020-08-31Rollup merge of #76172 - ecstatic-morse:revert-75463, r=RalfJungTyler Mandry-15/+0
2020-08-31Rollup merge of #76139 - CDirkx:cow-is-borrowed, r=ecstatic-morseTyler Mandry-0/+15
2020-09-01Add a test for constCDirkx-0/+15