rust/compiler/rustc_span
Maybe Waffle 93297bfb05 Add a never type option to make diverging blocks ()
```rust
 #![allow(internal_features)]
 #![feature(never_type, rustc_attrs)]
 #![rustc_never_type_options(diverging_block_default = "unit")]

fn main() {
    let _: u8 = { //~ error: expected `u8`, found `()`
        return;
    };
}
```
2024-03-21 22:09:25 +00:00
..
src Add a never type option to make diverging blocks () 2024-03-21 22:09:25 +00:00
Cargo.toml Optimize Symbol::integer by utilizing itoa in-place formatting 2024-03-06 19:39:36 +01:00