rust/src/test/ui/consts/rfc-2203-const-array-repeat-exprs
Dylan MacKenzie fcf4bee7d3 Fix tests for RFC 2203 in a const
The previous test was incorrect. `const fn`s are *always* promotable
when inside a `const`, so it should pass. The error was caused by a bug
in `promote_consts`. I've added a failing test outside a `const`
alongside the existing one, which is now run-pass.
2019-11-22 11:01:31 -08:00
..
fn-call-in-const.rs Fix tests for RFC 2203 in a const 2019-11-22 11:01:31 -08:00
fn-call-in-non-const.rs Fix tests for RFC 2203 in a const 2019-11-22 11:01:31 -08:00
fn-call-in-non-const.stderr Fix tests for RFC 2203 in a const 2019-11-22 11:01:31 -08:00
migrate-fail.rs tests: Update and add tests for RFC 2203. 2019-07-07 20:23:28 +01:00
migrate-fail.stderr tests: Update and add tests for RFC 2203. 2019-07-07 20:23:28 +01:00
migrate-pass.rs tests: Update and add tests for RFC 2203. 2019-07-07 20:23:28 +01:00
nll-fail.rs tests: Update and add tests for RFC 2203. 2019-07-07 20:23:28 +01:00
nll-fail.stderr tests: Update and add tests for RFC 2203. 2019-07-07 20:23:28 +01:00
nll-pass.rs tests: Update and add tests for RFC 2203. 2019-07-07 20:23:28 +01:00
run-pass.rs tests: Update and add tests for RFC 2203. 2019-07-07 20:23:28 +01:00
trait-error.rs tests: Update and add tests for RFC 2203. 2019-07-07 20:23:28 +01:00
trait-error.stderr tests: Update and add tests for RFC 2203. 2019-07-07 20:23:28 +01:00