rust/tests/pretty
bors 1be24d70ce Auto merge of #125918 - oli-obk:const_block_ice, r=compiler-errors
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-07 09:08:59 +00:00
..
auxiliary
postfix-match
asm.pp
asm.rs
ast-stmt-expr-attr.rs Revert "Rollup merge of #124099 - voidc:disallow-ambiguous-expr-attrs, r=davidtwco" 2024-06-06 20:39:54 +00:00
async.rs
attr-derive.rs
attr-fn-inner.rs
attr-literals.rs
attr-tokens-raw-ident.rs
auto-trait.rs
blank-lines.rs
block-comment-multiple-asterisks.rs
block-comment-trailing-whitespace2.rs
block-comment-trailing-whitespace.rs
block-comment-wchar.pp
block-comment-wchar.rs
block-disambig.rs
cast-lt.pp
cast-lt.rs
closure-reform-pretty.rs
delegation.rs
delimited-token-groups.rs
disamb-stmt-expr.rs
do1.rs
doc-comments.rs
dollar-crate.pp
dollar-crate.rs
empty-impl.rs
empty-lines.rs
enum-variant-vis.rs
example1.rs
example2.pp
example2.rs
expanded-and-path-remap-80832.pp
expanded-and-path-remap-80832.rs
fn-return.rs
fn-types.rs
fn-variadic.rs
for-comment.rs
format-args-str-escape.pp
format-args-str-escape.rs
gat-bounds.rs
hir-fn-variadic.pp Handle safety keyword for extern block inner items 2024-06-04 14:19:42 -03:00
hir-fn-variadic.rs
hir-pretty-loop.pp
hir-pretty-loop.rs
if-attr.rs
import-renames.rs
issue-4264.pp Move the checks for Arguments constructors to inline const 2024-05-24 21:09:15 -04:00
issue-4264.rs
issue-12590-a.rs
issue-12590-b.rs
issue-12590-c.pp
issue-12590-c.rs
issue-19077.rs
issue-25031.rs
issue-30731.rs
issue-31073.pp
issue-31073.rs
issue-68710-field-attr-proc-mac-lost.rs
issue-73626.rs
issue-74745.rs
issue-85089.pp
issue-85089.rs
let.rs
lifetime.rs
macro_rules.rs
macro.rs
match-block-expr.rs
match-naked-expr-medium.rs
match-naked-expr.rs
nested-item-vis-defaultness.rs
offset_of.rs
path-type-bounds.rs
qpath-associated-type-bound.rs
raw-address-of.rs
raw-str-nonexpr.rs
stmt_expr_attributes.rs Auto merge of #125918 - oli-obk:const_block_ice, r=compiler-errors 2024-06-07 09:08:59 +00:00
struct-pattern.rs
struct-tuple.rs
tag-blank-lines.rs
tests-are-sorted.pp
tests-are-sorted.rs
top-level-doc-comments.rs
trait-inner-attr.rs
trait-polarity.rs
trait-safety.rs
unary-op-disambig.rs
use-tree.rs
vec-comments.pp
vec-comments.rs
where-clauses.rs
yeet-expr.rs