2017-08-09 07:30:56 +00:00
|
|
|
//! This module contains paths to types and functions Clippy needs to know
|
|
|
|
//! about.
|
2020-04-10 21:16:48 +00:00
|
|
|
//!
|
|
|
|
//! Whenever possible, please consider diagnostic items over hardcoded paths.
|
|
|
|
//! See <https://github.com/rust-lang/rust-clippy/issues/5393> for more information.
|
2016-04-14 16:13:15 +00:00
|
|
|
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const ANY_TRAIT: [&str; 3] = ["std", "any", "Any"];
|
2020-03-12 00:00:00 +00:00
|
|
|
pub const ARC_PTR_EQ: [&str; 4] = ["alloc", "sync", "Arc", "ptr_eq"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const ASMUT_TRAIT: [&str; 3] = ["core", "convert", "AsMut"];
|
|
|
|
pub const ASREF_TRAIT: [&str; 3] = ["core", "convert", "AsRef"];
|
2020-11-17 20:16:15 +00:00
|
|
|
pub(super) const BEGIN_PANIC: [&str; 3] = ["std", "panicking", "begin_panic"];
|
|
|
|
pub(super) const BEGIN_PANIC_FMT: [&str; 3] = ["std", "panicking", "begin_panic_fmt"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const BINARY_HEAP: [&str; 4] = ["alloc", "collections", "binary_heap", "BinaryHeap"];
|
|
|
|
pub const BORROW_TRAIT: [&str; 3] = ["core", "borrow", "Borrow"];
|
2020-03-12 20:41:13 +00:00
|
|
|
pub const BOX: [&str; 3] = ["alloc", "boxed", "Box"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const BTREEMAP: [&str; 5] = ["alloc", "collections", "btree", "map", "BTreeMap"];
|
2020-10-17 17:45:40 +00:00
|
|
|
pub const BTREEMAP_ENTRY: [&str; 6] = ["alloc", "collections", "btree", "map", "entry", "Entry"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const BTREESET: [&str; 5] = ["alloc", "collections", "btree", "set", "BTreeSet"];
|
|
|
|
pub const CLONE_TRAIT: [&str; 3] = ["core", "clone", "Clone"];
|
|
|
|
pub const CLONE_TRAIT_METHOD: [&str; 4] = ["core", "clone", "Clone", "clone"];
|
|
|
|
pub const CMP_MAX: [&str; 3] = ["core", "cmp", "max"];
|
|
|
|
pub const CMP_MIN: [&str; 3] = ["core", "cmp", "min"];
|
2020-12-06 14:01:03 +00:00
|
|
|
pub const COPY: [&str; 3] = ["core", "intrinsics", "copy_nonoverlapping"];
|
|
|
|
pub const COPY_NONOVERLAPPING: [&str; 3] = ["core", "intrinsics", "copy"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const COW: [&str; 3] = ["alloc", "borrow", "Cow"];
|
2019-12-23 04:48:15 +00:00
|
|
|
pub const CSTRING_AS_C_STR: [&str; 5] = ["std", "ffi", "c_str", "CString", "as_c_str"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const DEFAULT_TRAIT: [&str; 3] = ["core", "default", "Default"];
|
|
|
|
pub const DEFAULT_TRAIT_METHOD: [&str; 4] = ["core", "default", "Default", "default"];
|
2019-12-23 04:48:15 +00:00
|
|
|
pub const DEREF_MUT_TRAIT_METHOD: [&str; 5] = ["core", "ops", "deref", "DerefMut", "deref_mut"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const DEREF_TRAIT_METHOD: [&str; 5] = ["core", "ops", "deref", "Deref", "deref"];
|
|
|
|
pub const DISPLAY_FMT_METHOD: [&str; 4] = ["core", "fmt", "Display", "fmt"];
|
2020-03-03 09:53:14 +00:00
|
|
|
pub const DISPLAY_TRAIT: [&str; 3] = ["core", "fmt", "Display"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const DOUBLE_ENDED_ITERATOR: [&str; 4] = ["core", "iter", "traits", "DoubleEndedIterator"];
|
|
|
|
pub const DROP: [&str; 3] = ["core", "mem", "drop"];
|
|
|
|
pub const DURATION: [&str; 3] = ["core", "time", "Duration"];
|
2020-12-06 14:01:03 +00:00
|
|
|
#[cfg(feature = "internal-lints")]
|
2020-10-28 22:36:07 +00:00
|
|
|
pub const EARLY_CONTEXT: [&str; 2] = ["rustc_lint", "EarlyContext"];
|
2019-10-18 19:09:42 +00:00
|
|
|
pub const EXIT: [&str; 3] = ["std", "process", "exit"];
|
2020-10-28 22:36:07 +00:00
|
|
|
pub const F32_EPSILON: [&str; 4] = ["core", "f32", "<impl f32>", "EPSILON"];
|
|
|
|
pub const F64_EPSILON: [&str; 4] = ["core", "f64", "<impl f64>", "EPSILON"];
|
2020-03-05 02:13:57 +00:00
|
|
|
pub const FILE: [&str; 3] = ["std", "fs", "File"];
|
2020-01-03 06:59:14 +00:00
|
|
|
pub const FILE_TYPE: [&str; 3] = ["std", "fs", "FileType"];
|
2019-08-23 05:26:24 +00:00
|
|
|
pub const FMT_ARGUMENTS_NEW_V1: [&str; 4] = ["core", "fmt", "Arguments", "new_v1"];
|
|
|
|
pub const FMT_ARGUMENTS_NEW_V1_FORMATTED: [&str; 4] = ["core", "fmt", "Arguments", "new_v1_formatted"];
|
|
|
|
pub const FMT_ARGUMENTV1_NEW: [&str; 4] = ["core", "fmt", "ArgumentV1", "new"];
|
2020-10-09 10:45:29 +00:00
|
|
|
pub const FN: [&str; 3] = ["core", "ops", "Fn"];
|
|
|
|
pub const FN_MUT: [&str; 3] = ["core", "ops", "FnMut"];
|
|
|
|
pub const FN_ONCE: [&str; 3] = ["core", "ops", "FnOnce"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const FROM_FROM: [&str; 4] = ["core", "convert", "From", "from"];
|
2020-11-05 13:29:48 +00:00
|
|
|
pub const FROM_ITERATOR: [&str; 5] = ["core", "iter", "traits", "collect", "FromIterator"];
|
2020-05-11 18:23:47 +00:00
|
|
|
pub const FUTURE_FROM_GENERATOR: [&str; 3] = ["core", "future", "from_generator"];
|
2020-10-28 22:36:07 +00:00
|
|
|
pub const HASH: [&str; 3] = ["core", "hash", "Hash"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const HASHMAP: [&str; 5] = ["std", "collections", "hash", "map", "HashMap"];
|
|
|
|
pub const HASHMAP_ENTRY: [&str; 5] = ["std", "collections", "hash", "map", "Entry"];
|
|
|
|
pub const HASHSET: [&str; 5] = ["std", "collections", "hash", "set", "HashSet"];
|
2021-01-15 09:56:44 +00:00
|
|
|
#[cfg(feature = "internal-lints")]
|
|
|
|
pub const IDENT: [&str; 3] = ["rustc_span", "symbol", "Ident"];
|
|
|
|
#[cfg(feature = "internal-lints")]
|
|
|
|
pub const IDENT_AS_STR: [&str; 4] = ["rustc_span", "symbol", "Ident", "as_str"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const INDEX: [&str; 3] = ["core", "ops", "Index"];
|
|
|
|
pub const INDEX_MUT: [&str; 3] = ["core", "ops", "IndexMut"];
|
2020-11-05 13:29:48 +00:00
|
|
|
pub const INSERT_STR: [&str; 4] = ["alloc", "string", "String", "insert_str"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const INTO: [&str; 3] = ["core", "convert", "Into"];
|
|
|
|
pub const INTO_ITERATOR: [&str; 5] = ["core", "iter", "traits", "collect", "IntoIterator"];
|
|
|
|
pub const IO_READ: [&str; 3] = ["std", "io", "Read"];
|
|
|
|
pub const IO_WRITE: [&str; 3] = ["std", "io", "Write"];
|
2020-12-06 14:01:03 +00:00
|
|
|
pub const IPADDR_V4: [&str; 4] = ["std", "net", "IpAddr", "V4"];
|
|
|
|
pub const IPADDR_V6: [&str; 4] = ["std", "net", "IpAddr", "V6"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const ITERATOR: [&str; 5] = ["core", "iter", "traits", "iterator", "Iterator"];
|
2020-12-06 14:01:03 +00:00
|
|
|
#[cfg(feature = "internal-lints")]
|
2021-01-15 09:56:44 +00:00
|
|
|
pub const KW_MODULE: [&str; 3] = ["rustc_span", "symbol", "kw"];
|
|
|
|
#[cfg(feature = "internal-lints")]
|
2020-10-28 22:36:07 +00:00
|
|
|
pub const LATE_CONTEXT: [&str; 2] = ["rustc_lint", "LateContext"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const LINKED_LIST: [&str; 4] = ["alloc", "collections", "linked_list", "LinkedList"];
|
2020-12-06 14:01:03 +00:00
|
|
|
#[cfg(feature = "internal-lints")]
|
2020-10-31 01:41:16 +00:00
|
|
|
pub const LINT: [&str; 2] = ["rustc_lint_defs", "Lint"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const MEM_DISCRIMINANT: [&str; 3] = ["core", "mem", "discriminant"];
|
|
|
|
pub const MEM_FORGET: [&str; 3] = ["core", "mem", "forget"];
|
2020-07-26 19:07:07 +00:00
|
|
|
pub const MEM_MANUALLY_DROP: [&str; 4] = ["core", "mem", "manually_drop", "ManuallyDrop"];
|
2019-08-31 18:25:28 +00:00
|
|
|
pub const MEM_MAYBEUNINIT: [&str; 4] = ["core", "mem", "maybe_uninit", "MaybeUninit"];
|
|
|
|
pub const MEM_MAYBEUNINIT_UNINIT: [&str; 5] = ["core", "mem", "maybe_uninit", "MaybeUninit", "uninit"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const MEM_REPLACE: [&str; 3] = ["core", "mem", "replace"];
|
2020-12-06 14:01:03 +00:00
|
|
|
pub const MEM_SIZE_OF: [&str; 3] = ["core", "mem", "size_of"];
|
|
|
|
pub const MEM_SIZE_OF_VAL: [&str; 3] = ["core", "mem", "size_of_val"];
|
2020-01-30 15:10:19 +00:00
|
|
|
pub const MUTEX_GUARD: [&str; 4] = ["std", "sync", "mutex", "MutexGuard"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const OPEN_OPTIONS: [&str; 3] = ["std", "fs", "OpenOptions"];
|
|
|
|
pub const OPS_MODULE: [&str; 2] = ["core", "ops"];
|
|
|
|
pub const OPTION: [&str; 3] = ["core", "option", "Option"];
|
|
|
|
pub const OPTION_NONE: [&str; 4] = ["core", "option", "Option", "None"];
|
|
|
|
pub const OPTION_SOME: [&str; 4] = ["core", "option", "Option", "Some"];
|
|
|
|
pub const ORD: [&str; 3] = ["core", "cmp", "Ord"];
|
|
|
|
pub const OS_STRING: [&str; 4] = ["std", "ffi", "os_str", "OsString"];
|
2019-12-23 04:48:15 +00:00
|
|
|
pub const OS_STRING_AS_OS_STR: [&str; 5] = ["std", "ffi", "os_str", "OsString", "as_os_str"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const OS_STR_TO_OS_STRING: [&str; 5] = ["std", "ffi", "os_str", "OsStr", "to_os_string"];
|
2020-11-17 20:16:15 +00:00
|
|
|
pub(super) const PANICKING_PANIC: [&str; 3] = ["core", "panicking", "panic"];
|
|
|
|
pub(super) const PANICKING_PANIC_FMT: [&str; 3] = ["core", "panicking", "panic_fmt"];
|
|
|
|
pub(super) const PANICKING_PANIC_STR: [&str; 3] = ["core", "panicking", "panic_str"];
|
|
|
|
pub(super) const PANIC_ANY: [&str; 3] = ["std", "panic", "panic_any"];
|
2020-04-10 04:50:23 +00:00
|
|
|
pub const PARKING_LOT_MUTEX_GUARD: [&str; 2] = ["parking_lot", "MutexGuard"];
|
|
|
|
pub const PARKING_LOT_RWLOCK_READ_GUARD: [&str; 2] = ["parking_lot", "RwLockReadGuard"];
|
|
|
|
pub const PARKING_LOT_RWLOCK_WRITE_GUARD: [&str; 2] = ["parking_lot", "RwLockWriteGuard"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const PATH: [&str; 3] = ["std", "path", "Path"];
|
|
|
|
pub const PATH_BUF: [&str; 3] = ["std", "path", "PathBuf"];
|
2019-12-23 04:48:15 +00:00
|
|
|
pub const PATH_BUF_AS_PATH: [&str; 4] = ["std", "path", "PathBuf", "as_path"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const PATH_TO_PATH_BUF: [&str; 4] = ["std", "path", "Path", "to_path_buf"];
|
2020-08-11 13:43:21 +00:00
|
|
|
pub const POLL: [&str; 4] = ["core", "task", "poll", "Poll"];
|
2020-12-06 14:01:03 +00:00
|
|
|
pub const POLL_PENDING: [&str; 5] = ["core", "task", "poll", "Poll", "Pending"];
|
|
|
|
pub const POLL_READY: [&str; 5] = ["core", "task", "poll", "Poll", "Ready"];
|
2020-03-12 00:00:00 +00:00
|
|
|
pub const PTR_EQ: [&str; 3] = ["core", "ptr", "eq"];
|
2020-10-28 22:36:07 +00:00
|
|
|
pub const PTR_NULL: [&str; 3] = ["core", "ptr", "null"];
|
|
|
|
pub const PTR_NULL_MUT: [&str; 3] = ["core", "ptr", "null_mut"];
|
2020-12-06 14:01:03 +00:00
|
|
|
pub const PTR_SLICE_FROM_RAW_PARTS: [&str; 3] = ["core", "ptr", "slice_from_raw_parts"];
|
|
|
|
pub const PTR_SLICE_FROM_RAW_PARTS_MUT: [&str; 3] = ["core", "ptr", "slice_from_raw_parts_mut"];
|
|
|
|
pub const PTR_SWAP_NONOVERLAPPING: [&str; 3] = ["core", "ptr", "swap_nonoverlapping"];
|
2020-08-28 14:10:16 +00:00
|
|
|
pub const PUSH_STR: [&str; 4] = ["alloc", "string", "String", "push_str"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const RANGE_ARGUMENT_TRAIT: [&str; 3] = ["core", "ops", "RangeBounds"];
|
|
|
|
pub const RC: [&str; 3] = ["alloc", "rc", "Rc"];
|
2020-03-12 00:00:00 +00:00
|
|
|
pub const RC_PTR_EQ: [&str; 4] = ["alloc", "rc", "Rc", "ptr_eq"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const RECEIVER: [&str; 4] = ["std", "sync", "mpsc", "Receiver"];
|
2020-10-28 22:36:07 +00:00
|
|
|
pub const REFCELL_REF: [&str; 3] = ["core", "cell", "Ref"];
|
|
|
|
pub const REFCELL_REFMUT: [&str; 3] = ["core", "cell", "RefMut"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const REGEX_BUILDER_NEW: [&str; 5] = ["regex", "re_builder", "unicode", "RegexBuilder", "new"];
|
|
|
|
pub const REGEX_BYTES_BUILDER_NEW: [&str; 5] = ["regex", "re_builder", "bytes", "RegexBuilder", "new"];
|
|
|
|
pub const REGEX_BYTES_NEW: [&str; 4] = ["regex", "re_bytes", "Regex", "new"];
|
|
|
|
pub const REGEX_BYTES_SET_NEW: [&str; 5] = ["regex", "re_set", "bytes", "RegexSet", "new"];
|
|
|
|
pub const REGEX_NEW: [&str; 4] = ["regex", "re_unicode", "Regex", "new"];
|
|
|
|
pub const REGEX_SET_NEW: [&str; 5] = ["regex", "re_set", "unicode", "RegexSet", "new"];
|
|
|
|
pub const REPEAT: [&str; 3] = ["core", "iter", "repeat"];
|
|
|
|
pub const RESULT: [&str; 3] = ["core", "result", "Result"];
|
|
|
|
pub const RESULT_ERR: [&str; 4] = ["core", "result", "Result", "Err"];
|
|
|
|
pub const RESULT_OK: [&str; 4] = ["core", "result", "Result", "Ok"];
|
2020-01-30 15:10:19 +00:00
|
|
|
pub const RWLOCK_READ_GUARD: [&str; 4] = ["std", "sync", "rwlock", "RwLockReadGuard"];
|
|
|
|
pub const RWLOCK_WRITE_GUARD: [&str; 4] = ["std", "sync", "rwlock", "RwLockWriteGuard"];
|
2020-10-28 22:36:07 +00:00
|
|
|
pub const SERDE_DESERIALIZE: [&str; 3] = ["serde", "de", "Deserialize"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const SERDE_DE_VISITOR: [&str; 3] = ["serde", "de", "Visitor"];
|
2020-12-06 14:01:03 +00:00
|
|
|
pub const SLICE_FROM_RAW_PARTS: [&str; 4] = ["core", "slice", "raw", "from_raw_parts"];
|
|
|
|
pub const SLICE_FROM_RAW_PARTS_MUT: [&str; 4] = ["core", "slice", "raw", "from_raw_parts_mut"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const SLICE_INTO_VEC: [&str; 4] = ["alloc", "slice", "<impl [T]>", "into_vec"];
|
2020-09-15 10:21:40 +00:00
|
|
|
pub const SLICE_ITER: [&str; 4] = ["core", "slice", "iter", "Iter"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const STDERR: [&str; 4] = ["std", "io", "stdio", "stderr"];
|
|
|
|
pub const STDOUT: [&str; 4] = ["std", "io", "stdio", "stdout"];
|
2019-08-11 17:51:43 +00:00
|
|
|
pub const STD_CONVERT_IDENTITY: [&str; 3] = ["std", "convert", "identity"];
|
2020-09-10 15:47:07 +00:00
|
|
|
pub const STD_FS_CREATE_DIR: [&str; 3] = ["std", "fs", "create_dir"];
|
2019-05-17 23:34:52 +00:00
|
|
|
pub const STD_MEM_TRANSMUTE: [&str; 3] = ["std", "mem", "transmute"];
|
|
|
|
pub const STD_PTR_NULL: [&str; 3] = ["std", "ptr", "null"];
|
2020-09-24 12:49:22 +00:00
|
|
|
pub const STRING: [&str; 3] = ["alloc", "string", "String"];
|
2019-12-23 04:48:15 +00:00
|
|
|
pub const STRING_AS_MUT_STR: [&str; 4] = ["alloc", "string", "String", "as_mut_str"];
|
|
|
|
pub const STRING_AS_STR: [&str; 4] = ["alloc", "string", "String", "as_str"];
|
2020-09-24 12:49:22 +00:00
|
|
|
pub const STR_ENDS_WITH: [&str; 4] = ["core", "str", "<impl str>", "ends_with"];
|
2020-11-23 12:51:04 +00:00
|
|
|
pub const STR_FROM_UTF8: [&str; 4] = ["core", "str", "converts", "from_utf8"];
|
2020-09-24 12:49:22 +00:00
|
|
|
pub const STR_LEN: [&str; 4] = ["core", "str", "<impl str>", "len"];
|
|
|
|
pub const STR_STARTS_WITH: [&str; 4] = ["core", "str", "<impl str>", "starts_with"];
|
2020-12-06 14:01:03 +00:00
|
|
|
#[cfg(feature = "internal-lints")]
|
2020-12-20 16:19:49 +00:00
|
|
|
pub const SYMBOL: [&str; 3] = ["rustc_span", "symbol", "Symbol"];
|
|
|
|
#[cfg(feature = "internal-lints")]
|
2021-01-15 09:56:44 +00:00
|
|
|
pub const SYMBOL_AS_STR: [&str; 4] = ["rustc_span", "symbol", "Symbol", "as_str"];
|
|
|
|
#[cfg(feature = "internal-lints")]
|
2020-12-20 16:19:49 +00:00
|
|
|
pub const SYMBOL_INTERN: [&str; 4] = ["rustc_span", "symbol", "Symbol", "intern"];
|
|
|
|
#[cfg(feature = "internal-lints")]
|
2021-01-15 09:56:44 +00:00
|
|
|
pub const SYMBOL_TO_IDENT_STRING: [&str; 4] = ["rustc_span", "symbol", "Symbol", "to_ident_string"];
|
|
|
|
#[cfg(feature = "internal-lints")]
|
2020-12-20 16:19:49 +00:00
|
|
|
pub const SYM_MODULE: [&str; 3] = ["rustc_span", "symbol", "sym"];
|
|
|
|
#[cfg(feature = "internal-lints")]
|
2019-12-31 00:17:56 +00:00
|
|
|
pub const SYNTAX_CONTEXT: [&str; 3] = ["rustc_span", "hygiene", "SyntaxContext"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const TO_OWNED: [&str; 3] = ["alloc", "borrow", "ToOwned"];
|
|
|
|
pub const TO_OWNED_METHOD: [&str; 4] = ["alloc", "borrow", "ToOwned", "to_owned"];
|
|
|
|
pub const TO_STRING: [&str; 3] = ["alloc", "string", "ToString"];
|
|
|
|
pub const TO_STRING_METHOD: [&str; 4] = ["alloc", "string", "ToString", "to_string"];
|
|
|
|
pub const TRANSMUTE: [&str; 4] = ["core", "intrinsics", "", "transmute"];
|
2020-05-28 13:45:24 +00:00
|
|
|
pub const TRY_FROM: [&str; 4] = ["core", "convert", "TryFrom", "try_from"];
|
|
|
|
pub const TRY_INTO_TRAIT: [&str; 3] = ["core", "convert", "TryInto"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const VEC: [&str; 3] = ["alloc", "vec", "Vec"];
|
2019-12-23 04:48:15 +00:00
|
|
|
pub const VEC_AS_MUT_SLICE: [&str; 4] = ["alloc", "vec", "Vec", "as_mut_slice"];
|
|
|
|
pub const VEC_AS_SLICE: [&str; 4] = ["alloc", "vec", "Vec", "as_slice"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const VEC_DEQUE: [&str; 4] = ["alloc", "collections", "vec_deque", "VecDeque"];
|
|
|
|
pub const VEC_FROM_ELEM: [&str; 3] = ["alloc", "vec", "from_elem"];
|
2020-04-01 18:14:05 +00:00
|
|
|
pub const VEC_NEW: [&str; 4] = ["alloc", "vec", "Vec", "new"];
|
2020-06-09 14:36:01 +00:00
|
|
|
pub const VEC_RESIZE: [&str; 4] = ["alloc", "vec", "Vec", "resize"];
|
2019-05-17 21:53:54 +00:00
|
|
|
pub const WEAK_ARC: [&str; 3] = ["alloc", "sync", "Weak"];
|
|
|
|
pub const WEAK_RC: [&str; 3] = ["alloc", "rc", "Weak"];
|
2020-12-06 14:01:03 +00:00
|
|
|
pub const WRITE_BYTES: [&str; 3] = ["core", "intrinsics", "write_bytes"];
|