rust/src/test
bors a2ec156a5b Auto merge of #58161 - davidtwco:issue-57960, r=arielb1
Lower constant patterns with ascribed types.

Fixes #57960.

This PR fixes a bug introduced by #55937 which started checking user
type annotations for associated type patterns. Where lowering a
associated constant expression would previously return a
`PatternKind::Constant`, it now returns a `PatternKind::AscribeUserType`
with a `PatternKind::Constant` inside, this PR unwraps that to
access the constant pattern inside and behaves as before.

r? @pnkfelix
2019-02-08 17:13:56 +00:00
..
auxiliary Remove licenses 2018-12-25 21:08:33 -07:00
codegen Test alloca with #[repr(align(x))] on enum 2019-02-02 00:52:38 +01:00
codegen-units Remove licenses 2018-12-25 21:08:33 -07:00
compile-fail Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +01:00
compile-fail-fulldeps/auxiliary Fix lints in tests 2019-01-19 08:10:01 +01:00
debuginfo Update generator upvar debug info 2019-01-27 22:58:59 +01:00
incremental Fix typo bug in DepGraph::try_mark_green(). 2019-01-17 15:32:05 +01:00
mir-opt Don't ignore _ in type casts and ascriptions 2019-01-19 19:33:41 +00:00
pretty Pretty print $crate as crate or crate_name in more cases 2019-01-26 17:11:28 +03:00
run-fail Remove licenses 2018-12-25 21:08:33 -07:00
run-make Provide PTXLinker with fallback to internal target-cpu 2019-01-29 20:55:09 +01:00
run-make-fulldeps Do not ICE in codegen given a extern_type static 2019-02-05 21:20:07 +00:00
run-pass Add more tests for #[repr(align(x))] on enums 2019-01-31 14:18:51 +01:00
run-pass-fulldeps Overhaul syntax::fold::Folder. 2019-02-06 09:06:27 +11:00
run-pass-valgrind Remove licenses 2018-12-25 21:08:33 -07:00
rustdoc Rollup merge of #58033 - euclio:rustdoc-tags, r=QuietMisdreavus 2019-02-07 14:28:34 +01:00
rustdoc-js Remove licenses 2018-12-25 21:08:33 -07:00
rustdoc-ui Auto merge of #56884 - euclio:codeblock-diagnostics, r=QuietMisdreavus 2019-01-20 19:01:38 +00:00
rustfix tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
ui Auto merge of #58161 - davidtwco:issue-57960, r=arielb1 2019-02-08 17:13:56 +00:00
ui-fulldeps Auto merge of #57726 - Zoxc:combine-early-lints, r=estebank 2019-01-26 12:21:03 +00:00
COMPILER_TESTS.md