aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.h
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-09-26 07:36:56 +0000
committerGitHub <noreply@github.com>2022-09-26 07:36:56 +0000
commit6d98713a7b9cc58573be3e209a27a6c4ce682166 (patch)
treec49ebec6291e03ad4d15ede5deb186025d5b5b9d /gcc/rust/backend/rust-compile-expr.h
parentcfd2938f069598e9be25484f16ac045606c69e72 (diff)
parent138a6260124740208b8f3aff2e38617f43b05fe8 (diff)
parent5a019b1e71affaf474e2878e51fcc5c7d1068d5b (diff)
parent7ebe6693360dceb044fb4eaf6ae83fbb35eef451 (diff)
parentd4da06f721577d3eaf2e21d6c6735d32a69d6ac7 (diff)
downloadgcc-6d98713a7b9cc58573be3e209a27a6c4ce682166.zip
gcc-6d98713a7b9cc58573be3e209a27a6c4ce682166.tar.gz
gcc-6d98713a7b9cc58573be3e209a27a6c4ce682166.tar.bz2
Merge #1527 #1529 #1530 #1534
1527: rust: Add -frust-compile-until option r=CohenArthur a=CohenArthur This option helps ensure that we do not introduce regressions on various parts of the compilation pipeline. For example, a testcase (or testsuite from the `testing` project) might pass attribute checking, expansion and lowering, but fail during typechecking. Should a change suddenly make that testcase fail expansion, we would not be able to notice it. By generating tests that run up until expansion, typechecking, compilation and so forth we ensure that no regressions are added accidentally to already failing tests/testsuites. 1529: const generics: Make sure const generic types are visited properly in all contexts r=CohenArthur a=CohenArthur Closes #1360 1530: const generics: Forbid default values in Functions, Traits and Impls r=CohenArthur a=CohenArthur Fixes #1310 1534: module lowering: Do not append null pointers as items r=CohenArthur a=CohenArthur Some module items do not need to get lowered to HIR such as `macro_rules!` definitions. Hence, module lowering should act the same as crate lowering: Only emplace back the lowered item if it is a valid pointer Fixes #1533 Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>