about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/diagnostic.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-06 07:33:58 +0200
committerGitHub <noreply@github.com>2024-09-06 07:33:58 +0200
commit0180b8fff07801afaece8e788d2aba995757e57e (patch)
tree9219c96a5f1669a3dfa9595a0b84832cdf53bce3 /compiler/rustc_codegen_llvm/src/llvm/diagnostic.rs
parent45d6957f241ee48fe1a149a91d9c9f7f6d7aae4f (diff)
parentf6e8a84eeae8b5f7291999966ab82d495ea7da26 (diff)
downloadrust-0180b8fff07801afaece8e788d2aba995757e57e.tar.gz
rust-0180b8fff07801afaece8e788d2aba995757e57e.zip
Rollup merge of #129969 - GrigorenkoPV:boxed-ty, r=compiler-errors
Make `Ty::boxed_ty` return an `Option`

Looks like a good place to use Rust's type system.

---

Most of https://github.com/rust-lang/rust/blob/4ac7bcbaad8d6fd7a51bdf1b696cbc3ba4c796cf/compiler/rustc_middle/src/ty/sty.rs#L971-L1963 looks like it could be moved to `TyKind` (then I guess  `Ty` should be made to deref to `TyKind`).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/diagnostic.rs')
0 files changed, 0 insertions, 0 deletions