@@ -145,6 +145,7 @@ pub const REGEX_BYTES_NEW: [&str; 4] = ["regex", "re_bytes", "Regex", "new"];
145145pub const REGEX_BYTES_SET_NEW : [ & str ; 5 ] = [ "regex" , "re_set" , "bytes" , "RegexSet" , "new" ] ;
146146pub const REGEX_NEW : [ & str ; 4 ] = [ "regex" , "re_unicode" , "Regex" , "new" ] ;
147147pub const REGEX_SET_NEW : [ & str ; 5 ] = [ "regex" , "re_set" , "unicode" , "RegexSet" , "new" ] ;
148+ /// Preferably use the diagnostic item `sym::result_type` where possible
148149pub const RESULT : [ & str ; 3 ] = [ "core" , "result" , "Result" ] ;
149150pub const RESULT_ERR : [ & str ; 4 ] = [ "core" , "result" , "Result" , "Err" ] ;
150151pub const RESULT_OK : [ & str ; 4 ] = [ "core" , "result" , "Result" , "Ok" ] ;
@@ -180,9 +181,8 @@ pub const SYM_MODULE: [&str; 3] = ["rustc_span", "symbol", "sym"];
180181pub const SYNTAX_CONTEXT : [ & str ; 3 ] = [ "rustc_span" , "hygiene" , "SyntaxContext" ] ;
181182pub const TO_OWNED_METHOD : [ & str ; 4 ] = [ "alloc" , "borrow" , "ToOwned" , "to_owned" ] ;
182183pub const TO_STRING_METHOD : [ & str ; 4 ] = [ "alloc" , "string" , "ToString" , "to_string" ] ;
183- pub const TRANSMUTE : [ & str ; 4 ] = [ "core" , "intrinsics" , "" , "transmute" ] ;
184184pub const TRY_FROM : [ & str ; 4 ] = [ "core" , "convert" , "TryFrom" , "try_from" ] ;
185- pub const TRY_INTO_TRAIT : [ & str ; 3 ] = [ "core" , "convert" , "TryInto" ] ;
185+
186186pub const VEC : [ & str ; 3 ] = [ "alloc" , "vec" , "Vec" ] ;
187187pub const VEC_AS_MUT_SLICE : [ & str ; 4 ] = [ "alloc" , "vec" , "Vec" , "as_mut_slice" ] ;
188188pub const VEC_AS_SLICE : [ & str ; 4 ] = [ "alloc" , "vec" , "Vec" , "as_slice" ] ;
0 commit comments