mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-22 02:53:20 +00:00
26 lines
504 B
Rust
26 lines
504 B
Rust
//! This module contains some useful constants.
|
|
|
|
#![deny(missing_docs_in_private_items)]
|
|
|
|
/// List of the built-in types names.
|
|
///
|
|
/// See also [the reference][reference-types] for a list of such types.
|
|
///
|
|
/// [reference-types]: https://doc.rust-lang.org/reference.html#types
|
|
pub const BUILTIN_TYPES: &'static [&'static str] = &[
|
|
"i8",
|
|
"u8",
|
|
"i16",
|
|
"u16",
|
|
"i32",
|
|
"u32",
|
|
"i64",
|
|
"u64",
|
|
"isize",
|
|
"usize",
|
|
"f32",
|
|
"f64",
|
|
"bool",
|
|
"str",
|
|
"char",
|
|
];
|