diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-04-09 13:43:48 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-09 13:43:48 +0100 |
commit | 972e1f4b8ca3118e358ba7bb91d4c0cfd4fc10ca (patch) | |
tree | 9b05cd514d183b04e40554db9624441935cb7f12 /crates/hir_ty/src/primitive.rs | |
parent | a6b65cf5169deb6c7b2c02f50e59234c0924b429 (diff) | |
parent | fbe98047d419ade6c87ccf432eb9534393d20020 (diff) |
Merge #8445
8445: `hir_ty` cleanup r=flodiebold a=flodiebold
Move lots of things around within `hir_ty`. Most notably, all the Chalk-related stuff moves from within `traits/` to the top-level, since Chalk isn't purely a "traits thing" anymore.
Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/hir_ty/src/primitive.rs')
-rw-r--r-- | crates/hir_ty/src/primitive.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/hir_ty/src/primitive.rs b/crates/hir_ty/src/primitive.rs index 2449addfb..d7f48c69a 100644 --- a/crates/hir_ty/src/primitive.rs +++ b/crates/hir_ty/src/primitive.rs | |||
@@ -1,7 +1,4 @@ | |||
1 | //! Defines primitive types, which have a couple of peculiarities: | 1 | //! A few helper functions for dealing with primitives. |
2 | //! | ||
3 | //! * during type inference, they can be uncertain (ie, `let x = 92;`) | ||
4 | //! * they don't belong to any particular crate. | ||
5 | 2 | ||
6 | pub use chalk_ir::{FloatTy, IntTy, UintTy}; | 3 | pub use chalk_ir::{FloatTy, IntTy, UintTy}; |
7 | pub use hir_def::builtin_type::{BuiltinFloat, BuiltinInt, BuiltinUint}; | 4 | pub use hir_def::builtin_type::{BuiltinFloat, BuiltinInt, BuiltinUint}; |