diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-01-16 17:55:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-16 17:55:24 +0100 |
| commit | ac3108f208f54c795c3324a3081e5038aa76d28b (patch) | |
| tree | 567c9137ced11600cf1c44c0de70295cdd19b379 /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | 4735171667845ae6e09371d8293ace6cc9885e28 (diff) | |
| parent | 604d2083d3921471e5b0d4f90baf61a746ba3603 (diff) | |
| download | rust-ac3108f208f54c795c3324a3081e5038aa76d28b.tar.gz rust-ac3108f208f54c795c3324a3081e5038aa76d28b.zip | |
Rollup merge of #119990 - reitermarkus:nonzero-type-alias, r=dtolnay
Add private `NonZero<T>` type alias. According to step 2 suggested in https://github.com/rust-lang/rust/pull/100428#pullrequestreview-1767139731. This adds a private type alias for `NonZero<T>` so that some parts of the code can already start using `NonZero<T>` syntax. Using `NonZero<T>` for `convert` and other parts which implement `From` doesn't work while it is a type alias, since this results in conflicting implementations.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
