| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -739/+0 | |
| 2022-10-20 | Update tests to match error message changes | b4den | -3/+3 | |
| 2022-10-05 | do not reverse the expected type and found type for ObligationCauseCode of ↵ | Yiming Lei | -1/+1 | |
| IfExpressionWithNoElse this will fix #102397 | ||||
| 2022-09-24 | Note the type when unable to drop values in compile time | Deadbeef | -16/+16 | |
| 2022-02-12 | bless you | Deadbeef | -2/+4 | |
| 2021-10-04 | Stabilize `const_panic` | Jacob Pratt | -39/+4 | |
| 2021-07-29 | Update tests | Jonas Schievink | -5/+14 | |
| 2021-06-15 | Use better error message for hard errors in CTFE | Smitty | -5/+3 | |
| Currently the same message is used for hard errors and soft errors. This makes hard errors use a message that indicates the reality of the situation correctly, since usage of the constant is never allowed when there was a hard error evaluating it. | ||||
| 2021-05-30 | Emit a hard error when a panic occurs during const-eval | Aaron Hill | -5/+2 | |
| Previous, a panic during const evaluation would go through the `const_err` lint. This PR ensures that such a panic always causes compilation to fail. | ||||
| 2021-05-12 | Show macro name in 'this error originates in macro' message | Aaron Hill | -4/+4 | |
| When there are multiple macros in use, it can be difficult to tell which one was responsible for producing an error. | ||||
| 2021-04-29 | remove const_fn feature gate from const tests | Ralf Jung | -1/+0 | |
| 2021-02-14 | Fix UI tests and merge `assert_eq` and `assert_ne` internal functions | Benoît du Garreau | -4/+1 | |
| 2021-02-03 | make const_err a future incompat lint | Ralf Jung | -0/+3 | |
| 2020-11-09 | Add `#[cfg(panic = "...")]` | David Hewitt | -3/+3 | |
| 2020-09-29 | Liveness analysis for everybody | Tomasz Miąsko | -0/+1 | |
| Perform liveness analysis for every body instead of limiting it to fns. | ||||
| 2020-06-28 | Update tests | Dylan MacKenzie | -190/+25 | |
| 2020-06-28 | Update tests | Dylan MacKenzie | -846/+126 | |
| 2020-06-20 | update tests | Christian Poveda | -0/+12 | |
| 2020-06-13 | Add tests for `const_precise_live_drops` | Dylan MacKenzie | -9/+49 | |
| 2020-04-29 | Bless tests | Dylan MacKenzie | -10/+2 | |
| 2020-02-09 | --bless --compare-mode=nll | Matthias Prechtl | -69/+69 | |
| 2020-02-06 | rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. | Eduard-Mihai Burtescu | -10/+14 | |
| 2020-02-06 | rustc: rename -Zexternal-macro-backtrace to -Zmacro-backtrace. | Eduard-Mihai Burtescu | -10/+10 | |
| 2020-01-10 | Remove unnecessary `const_fn` feature gates | Dylan MacKenzie | -30/+27 | |
| This flag opts out of the min-const-fn checks entirely, which is usually not what we want. The few cases where the flag is still necessary have been annotated. | ||||
| 2020-01-05 | Add backticks to various diagnostics | varkor | -3/+3 | |
| 2019-12-13 | Ensure test actually uses dataflow, not simulation | Dylan MacKenzie | -3/+7 | |
| 2019-12-13 | Apply suggestions from review | Dylan MacKenzie | -0/+2 | |
| 2019-12-13 | Fix grammar in test description | ecstatic-morse | -1/+1 | |
| Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com> | ||||
| 2019-12-13 | Bless modified tests | Dylan MacKenzie | -80/+298 | |
| 2019-12-13 | Add qualif smoke tests for const loops | Dylan MacKenzie | -0/+61 | |
| 2019-12-13 | Extend control flow basics tests with loops | Dylan MacKenzie | -9/+52 | |
| 2019-12-12 | Require `allow_internal_unstable` for stable min_const_fn using unstable ↵ | Oliver Scherer | -27/+31 | |
| features | ||||
| 2019-11-27 | Combine similar tests for const match | Joshua Nelson | -22/+11 | |
| See https://github.com/rust-lang/rust/pull/66788#issuecomment-558799307 for context. | ||||
| 2019-11-26 | Rollup merge of #66788 - ecstatic-morse:const-fn-unreachable, r=Centril | Tyler Mandry | -0/+21 | |
| Allow `Unreachable` terminators through `min_const_fn` checks Resolves #66756. This allows `Unreachable` terminators through the `min_const_fn` checks if `#![feature(const_if_match)]` is enabled. We could probably just allow them with no feature flag, but it seems okay to be conservative here. r? @oli-obk | ||||
| 2019-11-26 | Remove test for #66758 | Dylan MacKenzie | -6/+0 | |
| 2019-11-26 | Add regression test for #66756 | Dylan MacKenzie | -0/+27 | |
| 2019-11-26 | Test multiple variants | Joshua Nelson | -0/+2 | |
| Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com> | ||||
| 2019-11-25 | Add wildcard test for const_if_match | Joshua Nelson | -0/+19 | |
| Closes https://github.com/rust-lang/rust/issues/66758 | ||||
| 2019-11-21 | Reorganize, bless and add tests for const control flow | Dylan MacKenzie | -0/+1245 | |
| This creates a new test directory, `ui/consts/control-flow` to hold tests related to control flow in a const context. It also blesses all existing tests with the new error messages, and adds new tests for the `const_if_match` feature. | ||||
