@@ -18,8 +18,10 @@ pub const CMP_MAX: [&str; 3] = ["core", "cmp", "max"];
1818pub const CMP_MIN : [ & str ; 3 ] = [ "core" , "cmp" , "min" ] ;
1919pub const COW : [ & str ; 3 ] = [ "alloc" , "borrow" , "Cow" ] ;
2020pub const CSTRING : [ & str ; 4 ] = [ "std" , "ffi" , "c_str" , "CString" ] ;
21+ pub const CSTRING_AS_C_STR : [ & str ; 5 ] = [ "std" , "ffi" , "c_str" , "CString" , "as_c_str" ] ;
2122pub const DEFAULT_TRAIT : [ & str ; 3 ] = [ "core" , "default" , "Default" ] ;
2223pub const DEFAULT_TRAIT_METHOD : [ & str ; 4 ] = [ "core" , "default" , "Default" , "default" ] ;
24+ pub const DEREF_MUT_TRAIT_METHOD : [ & str ; 5 ] = [ "core" , "ops" , "deref" , "DerefMut" , "deref_mut" ] ;
2325pub const DEREF_TRAIT_METHOD : [ & str ; 5 ] = [ "core" , "ops" , "deref" , "Deref" , "deref" ] ;
2426pub const DISPLAY_FMT_METHOD : [ & str ; 4 ] = [ "core" , "fmt" , "Display" , "fmt" ] ;
2527pub const DOUBLE_ENDED_ITERATOR : [ & str ; 4 ] = [ "core" , "iter" , "traits" , "DoubleEndedIterator" ] ;
@@ -63,10 +65,12 @@ pub const OPTION_NONE: [&str; 4] = ["core", "option", "Option", "None"];
6365pub const OPTION_SOME : [ & str ; 4 ] = [ "core" , "option" , "Option" , "Some" ] ;
6466pub const ORD : [ & str ; 3 ] = [ "core" , "cmp" , "Ord" ] ;
6567pub const OS_STRING : [ & str ; 4 ] = [ "std" , "ffi" , "os_str" , "OsString" ] ;
68+ pub const OS_STRING_AS_OS_STR : [ & str ; 5 ] = [ "std" , "ffi" , "os_str" , "OsString" , "as_os_str" ] ;
6669pub const OS_STR_TO_OS_STRING : [ & str ; 5 ] = [ "std" , "ffi" , "os_str" , "OsStr" , "to_os_string" ] ;
6770pub const PARTIAL_ORD : [ & str ; 3 ] = [ "core" , "cmp" , "PartialOrd" ] ;
6871pub const PATH : [ & str ; 3 ] = [ "std" , "path" , "Path" ] ;
6972pub const PATH_BUF : [ & str ; 3 ] = [ "std" , "path" , "PathBuf" ] ;
73+ pub const PATH_BUF_AS_PATH : [ & str ; 4 ] = [ "std" , "path" , "PathBuf" , "as_path" ] ;
7074pub const PATH_TO_PATH_BUF : [ & str ; 4 ] = [ "std" , "path" , "Path" , "to_path_buf" ] ;
7175pub const PTR_NULL : [ & str ; 2 ] = [ "ptr" , "null" ] ;
7276pub const PTR_NULL_MUT : [ & str ; 2 ] = [ "ptr" , "null_mut" ] ;
@@ -105,6 +109,8 @@ pub const STD_CONVERT_IDENTITY: [&str; 3] = ["std", "convert", "identity"];
105109pub const STD_MEM_TRANSMUTE : [ & str ; 3 ] = [ "std" , "mem" , "transmute" ] ;
106110pub const STD_PTR_NULL : [ & str ; 3 ] = [ "std" , "ptr" , "null" ] ;
107111pub const STRING : [ & str ; 3 ] = [ "alloc" , "string" , "String" ] ;
112+ pub const STRING_AS_MUT_STR : [ & str ; 4 ] = [ "alloc" , "string" , "String" , "as_mut_str" ] ;
113+ pub const STRING_AS_STR : [ & str ; 4 ] = [ "alloc" , "string" , "String" , "as_str" ] ;
108114pub const SYNTAX_CONTEXT : [ & str ; 3 ] = [ "rustc_span" , "hygiene" , "SyntaxContext" ] ;
109115pub const TO_OWNED : [ & str ; 3 ] = [ "alloc" , "borrow" , "ToOwned" ] ;
110116pub const TO_OWNED_METHOD : [ & str ; 4 ] = [ "alloc" , "borrow" , "ToOwned" , "to_owned" ] ;
@@ -114,6 +120,8 @@ pub const TRANSMUTE: [&str; 4] = ["core", "intrinsics", "", "transmute"];
114120pub const TRY_FROM_ERROR : [ & str ; 4 ] = [ "std" , "ops" , "Try" , "from_error" ] ;
115121pub const TRY_INTO_RESULT : [ & str ; 4 ] = [ "std" , "ops" , "Try" , "into_result" ] ;
116122pub const VEC : [ & str ; 3 ] = [ "alloc" , "vec" , "Vec" ] ;
123+ pub const VEC_AS_MUT_SLICE : [ & str ; 4 ] = [ "alloc" , "vec" , "Vec" , "as_mut_slice" ] ;
124+ pub const VEC_AS_SLICE : [ & str ; 4 ] = [ "alloc" , "vec" , "Vec" , "as_slice" ] ;
117125pub const VEC_DEQUE : [ & str ; 4 ] = [ "alloc" , "collections" , "vec_deque" , "VecDeque" ] ;
118126pub const VEC_FROM_ELEM : [ & str ; 3 ] = [ "alloc" , "vec" , "from_elem" ] ;
119127pub const WEAK_ARC : [ & str ; 3 ] = [ "alloc" , "sync" , "Weak" ] ;
0 commit comments