]>
git.proxmox.com Git - rustc.git/blob - src/tools/clippy/clippy_lints/src/utils/paths.rs
1 //! This module contains paths to types and functions Clippy needs to know
4 pub const ANY_TRAIT
: [&str; 3] = ["std", "any", "Any"];
5 pub const ARC
: [&str; 3] = ["alloc", "arc", "Arc"];
6 pub const ASMUT_TRAIT
: [&str; 3] = ["core", "convert", "AsMut"];
7 pub const ASREF_TRAIT
: [&str; 3] = ["core", "convert", "AsRef"];
8 pub const BEGIN_PANIC
: [&str; 3] = ["std", "panicking", "begin_panic"];
9 pub const BEGIN_PANIC_FMT
: [&str; 3] = ["std", "panicking", "begin_panic_fmt"];
10 pub const BINARY_HEAP
: [&str; 3] = ["alloc", "binary_heap", "BinaryHeap"];
11 pub const BORROW_TRAIT
: [&str; 3] = ["core", "borrow", "Borrow"];
12 pub const BOX
: [&str; 3] = ["std", "boxed", "Box"];
13 pub const BOX_NEW
: [&str; 4] = ["std", "boxed", "Box", "new"];
14 pub const BTREEMAP
: [&str; 4] = ["alloc", "btree", "map", "BTreeMap"];
15 pub const BTREEMAP_ENTRY
: [&str; 4] = ["alloc", "btree", "map", "Entry"];
16 pub const BTREESET
: [&str; 4] = ["alloc", "btree", "set", "BTreeSet"];
17 pub const CLONE
: [&str; 4] = ["core", "clone", "Clone", "clone"];
18 pub const CLONE_TRAIT
: [&str; 3] = ["core", "clone", "Clone"];
19 pub const CMP_MAX
: [&str; 3] = ["core", "cmp", "max"];
20 pub const CMP_MIN
: [&str; 3] = ["core", "cmp", "min"];
21 pub const COW
: [&str; 3] = ["alloc", "borrow", "Cow"];
22 pub const CSTRING_NEW
: [&str; 5] = ["std", "ffi", "c_str", "CString", "new"];
23 pub const DEBUG_FMT_METHOD
: [&str; 4] = ["core", "fmt", "Debug", "fmt"];
24 pub const DEFAULT_TRAIT
: [&str; 3] = ["core", "default", "Default"];
25 pub const DISPLAY_FMT_METHOD
: [&str; 4] = ["core", "fmt", "Display", "fmt"];
26 pub const DOUBLE_ENDED_ITERATOR
: [&str; 4] = ["core", "iter", "traits", "DoubleEndedIterator"];
27 pub const DROP
: [&str; 3] = ["core", "mem", "drop"];
28 pub const FMT_ARGUMENTS_NEWV1
: [&str; 4] = ["core", "fmt", "Arguments", "new_v1"];
29 pub const FMT_ARGUMENTV1_NEW
: [&str; 4] = ["core", "fmt", "ArgumentV1", "new"];
30 pub const FROM_FROM
: [&str; 4] = ["core", "convert", "From", "from"];
31 pub const FROM_TRAIT
: [&str; 3] = ["core", "convert", "From"];
32 pub const HASH
: [&str; 2] = ["hash", "Hash"];
33 pub const HASHMAP
: [&str; 5] = ["std", "collections", "hash", "map", "HashMap"];
34 pub const HASHMAP_ENTRY
: [&str; 5] = ["std", "collections", "hash", "map", "Entry"];
35 pub const HASHSET
: [&str; 5] = ["std", "collections", "hash", "set", "HashSet"];
36 pub const INIT
: [&str; 4] = ["core", "intrinsics", "", "init"];
37 pub const INTO
: [&str; 3] = ["core", "convert", "Into"];
38 pub const INTO_ITERATOR
: [&str; 4] = ["core", "iter", "traits", "IntoIterator"];
39 pub const IO_PRINT
: [&str; 4] = ["std", "io", "stdio", "_print"];
40 pub const IO_READ
: [&str; 3] = ["std", "io", "Read"];
41 pub const IO_WRITE
: [&str; 3] = ["std", "io", "Write"];
42 pub const ITERATOR
: [&str; 4] = ["core", "iter", "iterator", "Iterator"];
43 pub const LINKED_LIST
: [&str; 3] = ["alloc", "linked_list", "LinkedList"];
44 pub const LINT
: [&str; 2] = ["lint", "Lint"];
45 pub const LINT_ARRAY
: [&str; 2] = ["lint", "LintArray"];
46 pub const MEM_FORGET
: [&str; 3] = ["core", "mem", "forget"];
47 pub const MEM_UNINIT
: [&str; 3] = ["core", "mem", "uninitialized"];
48 pub const MEM_ZEROED
: [&str; 3] = ["core", "mem", "zeroed"];
49 pub const MUTEX
: [&str; 4] = ["std", "sync", "mutex", "Mutex"];
50 pub const OPEN_OPTIONS
: [&str; 3] = ["std", "fs", "OpenOptions"];
51 pub const OPS_MODULE
: [&str; 2] = ["core", "ops"];
52 pub const OPTION
: [&str; 3] = ["core", "option", "Option"];
53 pub const OPTION_NONE
: [&str; 4] = ["core", "option", "Option", "None"];
54 pub const OPTION_SOME
: [&str; 4] = ["core", "option", "Option", "Some"];
55 pub const PTR_NULL
: [&str; 2] = ["ptr", "null"];
56 pub const PTR_NULL_MUT
: [&str; 2] = ["ptr", "null_mut"];
57 pub const RANGE
: [&str; 3] = ["core", "ops", "Range"];
58 pub const RANGE_ARGUMENT_TRAIT
: [&str; 3] = ["alloc", "range", "RangeArgument"];
59 pub const RANGE_FROM
: [&str; 3] = ["core", "ops", "RangeFrom"];
60 pub const RANGE_FROM_STD
: [&str; 3] = ["std", "ops", "RangeFrom"];
61 pub const RANGE_FULL
: [&str; 3] = ["core", "ops", "RangeFull"];
62 pub const RANGE_FULL_STD
: [&str; 3] = ["std", "ops", "RangeFull"];
63 pub const RANGE_INCLUSIVE
: [&str; 3] = ["core", "ops", "RangeInclusive"];
64 pub const RANGE_INCLUSIVE_STD
: [&str; 3] = ["std", "ops", "RangeInclusive"];
65 pub const RANGE_STD
: [&str; 3] = ["std", "ops", "Range"];
66 pub const RANGE_TO
: [&str; 3] = ["core", "ops", "RangeTo"];
67 pub const RANGE_TO_INCLUSIVE
: [&str; 3] = ["core", "ops", "RangeToInclusive"];
68 pub const RANGE_TO_INCLUSIVE_STD
: [&str; 3] = ["std", "ops", "RangeToInclusive"];
69 pub const RANGE_TO_STD
: [&str; 3] = ["std", "ops", "RangeTo"];
70 pub const RC
: [&str; 3] = ["alloc", "rc", "Rc"];
71 pub const REGEX
: [&str; 3] = ["regex", "re_unicode", "Regex"];
72 pub const REGEX_BUILDER_NEW
: [&str; 5] = ["regex", "re_builder", "unicode", "RegexBuilder", "new"];
73 pub const REGEX_BYTES
: [&str; 3] = ["regex", "re_bytes", "Regex"];
74 pub const REGEX_BYTES_BUILDER_NEW
: [&str; 5] = ["regex", "re_builder", "bytes", "RegexBuilder", "new"];
75 pub const REGEX_BYTES_NEW
: [&str; 4] = ["regex", "re_bytes", "Regex", "new"];
76 pub const REGEX_BYTES_SET_NEW
: [&str; 5] = ["regex", "re_set", "bytes", "RegexSet", "new"];
77 pub const REGEX_NEW
: [&str; 4] = ["regex", "re_unicode", "Regex", "new"];
78 pub const REGEX_SET_NEW
: [&str; 5] = ["regex", "re_set", "unicode", "RegexSet", "new"];
79 pub const REPEAT
: [&str; 3] = ["core", "iter", "repeat"];
80 pub const RESULT
: [&str; 3] = ["core", "result", "Result"];
81 pub const RESULT_ERR
: [&str; 4] = ["core", "result", "Result", "Err"];
82 pub const RESULT_OK
: [&str; 4] = ["core", "result", "Result", "Ok"];
83 pub const SERDE_DE_VISITOR
: [&str; 3] = ["serde", "de", "Visitor"];
84 pub const SLICE_INTO_VEC
: [&str; 4] = ["alloc", "slice", "<impl [T]>", "into_vec"];
85 pub const SLICE_ITER
: [&str; 3] = ["core", "slice", "Iter"];
86 pub const STRING
: [&str; 3] = ["alloc", "string", "String"];
87 pub const TO_OWNED
: [&str; 3] = ["alloc", "borrow", "ToOwned"];
88 pub const TO_STRING
: [&str; 3] = ["alloc", "string", "ToString"];
89 pub const TRANSMUTE
: [&str; 4] = ["core", "intrinsics", "", "transmute"];
90 pub const TRY_INTO_RESULT
: [&str; 4] = ["std", "ops", "Try", "into_result"];
91 pub const UNINIT
: [&str; 4] = ["core", "intrinsics", "", "uninit"];
92 pub const VEC
: [&str; 3] = ["alloc", "vec", "Vec"];
93 pub const VEC_DEQUE
: [&str; 3] = ["alloc", "vec_deque", "VecDeque"];
94 pub const VEC_FROM_ELEM
: [&str; 3] = ["alloc", "vec", "from_elem"];
95 pub const WEAK_ARC
: [&str; 3] = ["alloc", "arc", "Weak"];
96 pub const WEAK_RC
: [&str; 3] = ["alloc", "rc", "Weak"];