diff options
| author | Maybe Waffle <waffle.lapkin@gmail.com> | 2022-11-28 11:11:45 +0000 |
|---|---|---|
| committer | Maybe Waffle <waffle.lapkin@gmail.com> | 2022-11-28 17:27:20 +0000 |
| commit | e20e506f7df271e933827a2290c0e0a704146443 (patch) | |
| tree | b38d265c8a3acc5b732cff8dbf45506679af0f41 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 8a09420ac48658cad726e0a6997687ceac4151e3 (diff) | |
| download | rust-e20e506f7df271e933827a2290c0e0a704146443.tar.gz rust-e20e506f7df271e933827a2290c0e0a704146443.zip | |
Make `tcx.mk_const` more permissive wrt `kind` argument
- Accept `impl Into` - Implement `From<>` for `ConstKind` Note: this adds a dependency on `derive_more` (MIT license). It allows to derive a lot of traits (like `From` here) that would be otherwise tedious to implement.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
