about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-09-19 16:13:26 +0000
committerbors <bors@rust-lang.org>2020-09-19 16:13:26 +0000
commit59fb88d061544a035f3043b47594b34789204cee (patch)
tree0b8de56e6e2719b155a9bc9f70065e7200b2a370 /compiler/rustc_codegen_llvm/src
parentb3aae050cd7e0c9a9eb6085bd49b02f67dc1396f (diff)
parenta50ec5f144b414d3c14fe04fc07f935c2ea0ab0f (diff)
downloadrust-59fb88d061544a035f3043b47594b34789204cee.tar.gz
rust-59fb88d061544a035f3043b47594b34789204cee.zip
Auto merge of #76327 - lzutao:split-core-num, r=SimonSapin
Split `core/num/mod.rs` to smaller mods

Note for reviewer:
* I split to multiple commits for easier reviewing, but I could git squash them all to one if requested.
* Recommend pulling this change locally and using advanced git diff viewer or this command:
  ```
  git show --reverse --color-moved=dimmed-zebra master..
  ```

---

I split `core/num/mod.rs` to these modules:

* `error`: For error structs like `ParseIntError`.
* blanket `shells` dir: For dummy number type modules: std::i32, std::f32, and the likes. Why? See below.
* `int_macros` and `uint_macros`: Real implementation of all integer types via `int_impl` and `uint_impl`
* `nonzero`: For `NonZero*` types and their implementations.
* `wrapping`: For `Wrapping<T>` types.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions