rust/tests/ui/unpretty
Jacob Pratt f49d69093e
Rollup merge of #145604 - compiler-errors:static-closure, r=fmease
Gate static closures behind a parser feature

I'd like to gate `static ||` closures behind a feature gate, since we shouldn't allow people to take advantage of this syntax if it's currently unstable. Right now, since it's only rejected after ast lowering, it's accessible to macros.

Let's crater this to see if we can claw it back without breaking anyone's code.
2025-08-21 17:57:52 -04:00
..
auxiliary Add tests for -Zunpretty=expanded ported from stringify's tests 2024-05-18 10:36:02 -07:00
ast-const-trait-bound.rs Change const trait bound syntax from ~const to [const] 2025-06-26 13:46:45 +00:00
ast-const-trait-bound.stdout Change const trait bound syntax from ~const to [const] 2025-06-26 13:46:45 +00:00
avoid-crash.rs compiletest: Support matching on diagnostics without a span 2025-03-25 17:33:09 +03:00
avoid-crash.stderr Fix unpretty UI test when /tmp does not exist 2024-03-24 14:00:45 +00:00
bad-literal.rs Explicitly annotate edition for unpretty=expanded and unpretty=hir tests 2025-04-16 11:10:10 +02:00
bad-literal.stderr Explicitly annotate edition for unpretty=expanded and unpretty=hir tests 2025-04-16 11:10:10 +02:00
bad-literal.stdout expand: Micro-optimize prelude injection 2025-07-28 17:35:09 +03:00
box.rs turn rustc_box into an intrinsic 2025-01-03 12:01:31 +01:00
box.stdout turn rustc_box into an intrinsic 2025-01-03 12:01:31 +01:00
debug-fmt-hir.rs Explicitly annotate edition for unpretty=expanded and unpretty=hir tests 2025-04-16 11:10:10 +02:00
debug-fmt-hir.stdout expand: Micro-optimize prelude injection 2025-07-28 17:35:09 +03:00
deprecated-attr.rs Add regression test for issue 142649 2025-06-21 11:09:14 -07:00
deprecated-attr.stdout expand: Micro-optimize prelude injection 2025-07-28 17:35:09 +03:00
diagnostic-attr.rs Explicitly annotate edition for unpretty=expanded and unpretty=hir tests 2025-04-16 11:10:10 +02:00
diagnostic-attr.stdout expand: Micro-optimize prelude injection 2025-07-28 17:35:09 +03:00
exhaustive-asm.expanded.stdout expand: Micro-optimize prelude injection 2025-07-28 17:35:09 +03:00
exhaustive-asm.hir.stdout expand: Micro-optimize prelude injection 2025-07-28 17:35:09 +03:00
exhaustive-asm.rs Improve coverage of HIR pretty printing. 2025-05-02 12:41:02 +10:00
exhaustive.expanded.stdout Rollup merge of #145604 - compiler-errors:static-closure, r=fmease 2025-08-21 17:57:52 -04:00
exhaustive.hir.stderr Gate static coroutines behind a parser feature 2025-08-19 13:12:31 +00:00
exhaustive.hir.stdout Rollup merge of #145604 - compiler-errors:static-closure, r=fmease 2025-08-21 17:57:52 -04:00
exhaustive.rs Rollup merge of #145604 - compiler-errors:static-closure, r=fmease 2025-08-21 17:57:52 -04:00
extern-static.rs Print safety correctly in extern static items 2024-10-24 00:41:27 +00:00
extern-static.stdout Print safety correctly in extern static items 2024-10-24 00:41:27 +00:00
flattened-format-args.rs Explicitly annotate edition for unpretty=expanded and unpretty=hir tests 2025-04-16 11:10:10 +02:00
flattened-format-args.stdout expand: Micro-optimize prelude injection 2025-07-28 17:35:09 +03:00
frontmatter.rs test: Verify frontmatter unpretty behavior 2025-07-09 14:55:53 -05:00
frontmatter.stdout fix: Include frontmatter in -Zunpretty output 2025-07-10 10:26:02 -05:00
hir-tree.rs compiletest: Support matching on non-json lines in compiler output 2025-05-04 18:27:45 +03:00
interpolation-expanded.rs Improve coverage of HIR pretty printing. 2025-05-02 12:41:02 +10:00
interpolation-expanded.stdout expand: Micro-optimize prelude injection 2025-07-28 17:35:09 +03:00
let-else-hir.rs Explicitly annotate edition for unpretty=expanded and unpretty=hir tests 2025-04-16 11:10:10 +02:00
let-else-hir.stdout expand: Micro-optimize prelude injection 2025-07-28 17:35:09 +03:00
mir-unpretty.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mir-unpretty.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
self-hir.rs Explicitly annotate edition for unpretty=expanded and unpretty=hir tests 2025-04-16 11:10:10 +02:00
self-hir.stdout expand: Micro-optimize prelude injection 2025-07-28 17:35:09 +03:00
staged-api-invalid-path-108697.rs Fix test that relies on error language 2025-02-16 09:08:24 +00:00
staged-api-invalid-path-108697.stderr Fix test that relies on error language 2025-02-16 09:08:24 +00:00
unpretty-expr-fn-arg.rs Explicitly annotate edition for unpretty=expanded and unpretty=hir tests 2025-04-16 11:10:10 +02:00
unpretty-expr-fn-arg.stdout expand: Micro-optimize prelude injection 2025-07-28 17:35:09 +03:00
unsafe-attr.rs Add AST unpretty test for unsafe attribute 2024-10-26 13:31:24 +02:00
unsafe-attr.stdout Print unsafety of attribute in AST unpretty 2024-10-26 13:33:36 +02:00