2016-08-27 23:52:01 +00:00
|
|
|
//! This module contains some useful constants.
|
|
|
|
|
2018-08-01 20:48:41 +00:00
|
|
|
#![deny(clippy::missing_docs_in_private_items)]
|
2016-08-27 23:52:01 +00:00
|
|
|
|
|
|
|
/// List of the built-in types names.
|
|
|
|
///
|
|
|
|
/// See also [the reference][reference-types] for a list of such types.
|
|
|
|
///
|
2018-11-26 00:12:12 +00:00
|
|
|
/// [reference-types]: https://doc.rust-lang.org/reference/types.html
|
2017-10-20 12:41:24 +00:00
|
|
|
pub const BUILTIN_TYPES: &[&str] = &[
|
2018-11-27 20:14:15 +00:00
|
|
|
"i8", "u8", "i16", "u16", "i32", "u32", "i64", "u64", "i128", "u128", "isize", "usize", "f32", "f64", "bool",
|
|
|
|
"str", "char",
|
2017-08-09 07:30:56 +00:00
|
|
|
];
|