rust/tests/ui/unpretty
Matthias Krüger 4b26045b92
Rollup merge of #125158 - Nilstrieb:block-indent, r=compiler-errors
hir pretty: fix block indent

before:
```rust
fn main() {
        {
                {
                        ::std::io::_print(format_arguments::new_const(&["Hello, world!\n"]));
                    };
            }
    }
```
after:
```rust
fn main() {
    {
        {
            ::std::io::_print(format_arguments::new_const(&["Hello, world!\n"]));
        };
    }
}
```

AST pretty does the same.
2024-05-21 00:47:02 +02: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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ast-const-trait-bound.stdout [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
avoid-crash.rs Fix unpretty UI test when /tmp does not exist 2024-03-24 14:00:45 +00:00
avoid-crash.stderr Fix unpretty UI test when /tmp does not exist 2024-03-24 14:00:45 +00:00
bad-literal.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-literal.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bad-literal.stdout hir pretty: fix block indent 2024-05-20 20:30:44 +02:00
box.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
box.stdout hir pretty: fix block indent 2024-05-20 20:30:44 +02:00
expanded-exhaustive.rs Add tests for -Zunpretty=expanded ported from stringify's tests 2024-05-18 10:36:02 -07:00
expanded-exhaustive.stdout Add tests for -Zunpretty=expanded ported from stringify's tests 2024-05-18 10:36:02 -07:00
expanded-interpolation.rs Add tests for -Zunpretty=expanded ported from stringify's tests 2024-05-18 10:36:02 -07:00
expanded-interpolation.stdout Add tests for -Zunpretty=expanded ported from stringify's tests 2024-05-18 10:36:02 -07:00
flattened-format-args.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
flattened-format-args.stdout hir pretty: fix block indent 2024-05-20 20:30:44 +02:00
hir-tree.rs move hir-tree test from run-make to ui test 2024-04-04 18:43:26 +08:00
let-else-hir.rs Add AST pretty-printer tests for let-else 2024-05-12 13:37:00 -07:00
let-else-hir.stdout hir pretty: fix block indent 2024-05-20 20:30:44 +02: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
staged-api-invalid-path-108697.rs try to fix tests on windows where the "file not found" error is different from linux 2024-04-28 11:07:00 +02:00
staged-api-invalid-path-108697.stderr add test for ICE: tcx.resolutions(()) is not supported for local crate -Zunpretty=mir on invalid module path with staged_ap 2024-04-28 10:23:10 +02:00
unpretty-expr-fn-arg.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unpretty-expr-fn-arg.stdout [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00