rust/src/test
Dylan DPC f986c7434a
Rollup merge of #94868 - dtolnay:noblock, r=Dylan-DPC
Format core and std macro rules, removing needless surrounding blocks

Many of the asserting and printing macros in `core` and `std` are written with prehistoric-looking formatting, like this:

335ffbfa54/library/std/src/macros.rs (L96-L101)

In modern Rust style this would conventionally be written as follows instead, always using braces and a trailing semicolon on the macro arms:

af53809c87/library/std/src/macros.rs (L98-L105)

Getting rid of the unneeded braces inside the expansion reduces extraneous indentation in macro-expanded code. For example:

```rust
println!("repro {}", true);
```

```rust
// before:

{
    ::std::io::_print(
        ::core::fmt::Arguments::new_v1(
            &["repro ", "\n"],
            &[::core::fmt::ArgumentV1::new_display(&true)],
        ),
    );
};
```

```rust
// after:

::std::io::_print(
    ::core::fmt::Arguments::new_v1(
        &["repro ", "\n"],
        &[::core::fmt::ArgumentV1::new_display(&true)],
    ),
);
```
2022-03-16 03:34:32 +01:00
..
assembly short-circuit the easy cases in is_copy_modulo_regions 2022-03-10 01:19:02 -08:00
auxiliary
codegen debuginfo: change cpp-like naming for generator environments so that NatVis works for them 2022-03-14 16:52:47 +01:00
codegen-units
debuginfo Rollup merge of #94810 - michaelwoerister:fix-trait-pointer-debuginfo-names, r=wesleywiser 2022-03-15 17:15:52 +01:00
incremental Revert "Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakis" 2022-02-11 07:18:06 +00:00
mir-opt Disable the test on wasm32 2022-03-10 01:19:02 -08:00
pretty Format core and std macro rules, removing needless surrounding blocks 2022-03-11 15:26:51 -08:00
run-make Add --scrape-tests flags so rustdoc can scrape examples from tests 2022-02-11 21:48:59 -08:00
run-make-fulldeps Rollup merge of #94868 - dtolnay:noblock, r=Dylan-DPC 2022-03-16 03:34:32 +01:00
run-pass-valgrind
rustdoc Rollup merge of #94740 - GuillaumeGomez:unify-impl-blocks, r=notriddle 2022-03-10 19:00:08 +01:00
rustdoc-gui Add URL GUI tests 2022-03-15 20:56:14 +01:00
rustdoc-js rustdoc: add test case for multiple traits and erased names 2022-01-26 13:03:31 -07:00
rustdoc-js-std Update macro:print typed-query rustdoc test to include pin! results 2022-02-14 16:56:37 +01:00
rustdoc-json rustdoc-json-types: implementors -> implementations 2022-03-14 00:05:11 +00:00
rustdoc-ui fix typos 2022-03-15 02:00:08 +01:00
ui Rollup merge of #94868 - dtolnay:noblock, r=Dylan-DPC 2022-03-16 03:34:32 +01:00
ui-fulldeps rustc_errors: take self by value in DiagnosticBuilder::cancel. 2022-02-23 06:08:06 +00:00
COMPILER_TESTS.md