about summary refs log tree commit diff
path: root/tests/pretty/stmt_expr_attributes.rs
AgeCommit message (Collapse)AuthorLines
2025-03-21fix pretty testlcnr-4/+1
2024-06-07Auto merge of #125918 - oli-obk:const_block_ice, r=compiler-errorsbors-1/+6
Revert: create const block bodies in typeck via query feeding as per the discussion in https://github.com/rust-lang/rust/pull/125806#discussion_r1622563948 It was a mistake to try to shoehorn const blocks and some specific anon consts into the same box and feed them during typeck. It turned out not simplifying anything (my hope was that we could feed `type_of` to start avoiding the huge HIR matcher, but that didn't work out), but instead making a few things more fragile. reverts the const-block-specific parts of https://github.com/rust-lang/rust/pull/124650 `@bors` rollup=never had a small perf impact previously fixes https://github.com/rust-lang/rust/issues/125846 r? `@compiler-errors`
2024-06-07Revert "Create const block DefIds in typeck instead of ast lowering"Oli Scherer-1/+6
This reverts commit ddc5f9b6c1f21da5d4596bf7980185a00984ac42.
2024-06-06Revert "Rollup merge of #124099 - voidc:disallow-ambiguous-expr-attrs, ↵Rémy Rakic-6/+6
r=davidtwco" This reverts commit 57dad1d75e562ff73051c1c43b07eaf65c7dbd74, reversing changes made to 36316df9fe6c3e246153fe6e78967643cf08c148.
2024-05-28Create const block DefIds in typeck instead of ast loweringOli Scherer-6/+1
2024-04-24Fix tests and blessGary Guo-1/+0
2024-04-18Disallow ambiguous attributes on expressionsDominik Stolz-6/+6
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-1/+1
2024-01-22Don't insert spaces before most semicolons in `print_tts`.Nicholas Nethercote-1/+1
This gives better output for code produced by proc macros.
2023-03-12Remove uses of `box_syntax` in rustc and toolsclubby789-2/+0
2023-01-11Move /src/test to /testsAlbert Larsan-0/+271