1
Fork 0

Remove unused symbols

This commit is contained in:
Maybe Waffle 2022-11-13 20:05:32 +00:00
parent 409c3ce441
commit 4ed2bf6802

View file

@ -170,8 +170,6 @@ symbols! {
Count, Count,
Cow, Cow,
Debug, Debug,
DebugStruct,
DebugTuple,
Decodable, Decodable,
Decoder, Decoder,
DecorateLint, DecorateLint,
@ -208,7 +206,6 @@ symbols! {
Input, Input,
Into, Into,
IntoDiagnostic, IntoDiagnostic,
IntoFuture,
IntoIterator, IntoIterator,
IoRead, IoRead,
IoWrite, IoWrite,
@ -253,7 +250,6 @@ symbols! {
Pointer, Pointer,
Poll, Poll,
ProcMacro, ProcMacro,
ProcMacroHack,
ProceduralMasqueradeDummyType, ProceduralMasqueradeDummyType,
Range, Range,
RangeFrom, RangeFrom,
@ -329,7 +325,6 @@ symbols! {
abi_vectorcall, abi_vectorcall,
abi_x86_interrupt, abi_x86_interrupt,
abort, abort,
aborts,
add, add,
add_assign, add_assign,
add_with_overflow, add_with_overflow,
@ -341,7 +336,6 @@ symbols! {
align, align,
align_offset, align_offset,
alignment, alignment,
alignstack,
all, all,
alloc, alloc,
alloc_error_handler, alloc_error_handler,
@ -430,7 +424,6 @@ symbols! {
bool, bool,
borrowck_graphviz_format, borrowck_graphviz_format,
borrowck_graphviz_postflow, borrowck_graphviz_postflow,
borrowck_graphviz_preflow,
box_free, box_free,
box_patterns, box_patterns,
box_syntax, box_syntax,
@ -466,7 +459,6 @@ symbols! {
cfg_target_feature, cfg_target_feature,
cfg_target_has_atomic, cfg_target_has_atomic,
cfg_target_has_atomic_equal_alignment, cfg_target_has_atomic_equal_alignment,
cfg_target_has_atomic_load_store,
cfg_target_thread_local, cfg_target_thread_local,
cfg_target_vendor, cfg_target_vendor,
cfg_version, cfg_version,
@ -491,7 +483,6 @@ symbols! {
cold, cold,
collapse_debuginfo, collapse_debuginfo,
column, column,
compare_and_swap,
compare_exchange, compare_exchange,
compare_exchange_weak, compare_exchange_weak,
compile_error, compile_error,
@ -521,7 +512,6 @@ symbols! {
const_fn_unsize, const_fn_unsize,
const_for, const_for,
const_format_args, const_format_args,
const_generic_defaults,
const_generics, const_generics,
const_generics_defaults, const_generics_defaults,
const_if_match, const_if_match,
@ -540,20 +530,16 @@ symbols! {
const_trait, const_trait,
const_trait_bound_opt_out, const_trait_bound_opt_out,
const_trait_impl, const_trait_impl,
const_transmute,
const_try, const_try,
constant, constant,
constructor, constructor,
contents,
context, context,
convert,
copy, copy,
copy_closures, copy_closures,
copy_nonoverlapping, copy_nonoverlapping,
copysignf32, copysignf32,
copysignf64, copysignf64,
core, core,
core_intrinsics,
core_panic, core_panic,
core_panic_2015_macro, core_panic_2015_macro,
core_panic_macro, core_panic_macro,
@ -591,7 +577,6 @@ symbols! {
debug_assertions, debug_assertions,
debug_struct, debug_struct,
debug_struct_fields_finish, debug_struct_fields_finish,
debug_trait_builder,
debug_tuple, debug_tuple,
debug_tuple_fields_finish, debug_tuple_fields_finish,
debugger_visualizer, debugger_visualizer,
@ -623,7 +608,6 @@ symbols! {
discriminant_type, discriminant_type,
discriminant_value, discriminant_value,
dispatch_from_dyn, dispatch_from_dyn,
display_trait,
div, div,
div_assign, div_assign,
doc, doc,
@ -637,7 +621,6 @@ symbols! {
doc_primitive, doc_primitive,
doc_spotlight, doc_spotlight,
doctest, doctest,
document_private_items,
dotdot: "..", dotdot: "..",
dotdot_in_tuple_patterns, dotdot_in_tuple_patterns,
dotdoteq_in_patterns, dotdoteq_in_patterns,
@ -654,7 +637,6 @@ symbols! {
dyn_star, dyn_star,
dyn_trait, dyn_trait,
e, e,
edition_macro_pats,
edition_panic, edition_panic,
eh_catch_typeinfo, eh_catch_typeinfo,
eh_personality, eh_personality,
@ -667,7 +649,6 @@ symbols! {
encode, encode,
end, end,
env, env,
env_macro,
eprint_macro, eprint_macro,
eprintln_macro, eprintln_macro,
eq, eq,
@ -718,7 +699,6 @@ symbols! {
field_init_shorthand, field_init_shorthand,
file, file,
fill, fill,
finish,
flags, flags,
float, float,
float_to_int_unchecked, float_to_int_unchecked,
@ -727,8 +707,6 @@ symbols! {
fmaf32, fmaf32,
fmaf64, fmaf64,
fmt, fmt,
fmt_as_str,
fmt_internals,
fmul_fast, fmul_fast,
fn_align, fn_align,
fn_must_use, fn_must_use,
@ -743,7 +721,6 @@ symbols! {
format_args_macro, format_args_macro,
format_args_nl, format_args_nl,
format_macro, format_macro,
fp,
freeze, freeze,
freg, freg,
frem_fast, frem_fast,
@ -806,7 +783,6 @@ symbols! {
ignore, ignore,
impl_header_lifetime_elision, impl_header_lifetime_elision,
impl_lint_pass, impl_lint_pass,
impl_macros,
impl_trait_in_bindings, impl_trait_in_bindings,
impl_trait_in_fn_trait_return, impl_trait_in_fn_trait_return,
implied_by, implied_by,
@ -835,7 +811,6 @@ symbols! {
instruction_set, instruction_set,
integer_: "integer", integer_: "integer",
integral, integral,
intel,
into_future, into_future,
into_iter, into_iter,
intra_doc_pointers, intra_doc_pointers,
@ -1048,7 +1023,6 @@ symbols! {
optin_builtin_traits, optin_builtin_traits,
option, option,
option_env, option_env,
option_env_macro,
options, options,
or, or,
or_patterns, or_patterns,
@ -1117,7 +1091,6 @@ symbols! {
proc_dash_macro: "proc-macro", proc_dash_macro: "proc-macro",
proc_macro, proc_macro,
proc_macro_attribute, proc_macro_attribute,
proc_macro_def_site,
proc_macro_derive, proc_macro_derive,
proc_macro_expr, proc_macro_expr,
proc_macro_gen, proc_macro_gen,
@ -1218,9 +1191,6 @@ symbols! {
rust_cold_cc, rust_cold_cc,
rust_eh_catch_typeinfo, rust_eh_catch_typeinfo,
rust_eh_personality, rust_eh_personality,
rust_eh_register_frames,
rust_eh_unregister_frames,
rust_oom,
rustc, rustc,
rustc_allocator, rustc_allocator,
rustc_allocator_zeroed, rustc_allocator_zeroed,
@ -1293,7 +1263,6 @@ symbols! {
rustc_serialize, rustc_serialize,
rustc_skip_array_during_method_dispatch, rustc_skip_array_during_method_dispatch,
rustc_specialization_trait, rustc_specialization_trait,
rustc_stable,
rustc_std_internal_symbol, rustc_std_internal_symbol,
rustc_strict_coherence, rustc_strict_coherence,
rustc_symbol_name, rustc_symbol_name,
@ -1421,7 +1390,6 @@ symbols! {
static_recursion, static_recursion,
staticlib, staticlib,
std, std,
std_inject,
std_panic, std_panic,
std_panic_2015_macro, std_panic_2015_macro,
std_panic_macro, std_panic_macro,
@ -1463,10 +1431,8 @@ symbols! {
target_has_atomic_load_store, target_has_atomic_load_store,
target_os, target_os,
target_pointer_width, target_pointer_width,
target_target_vendor,
target_thread_local, target_thread_local,
target_vendor, target_vendor,
task,
tbm_target_feature, tbm_target_feature,
termination, termination,
termination_trait, termination_trait,
@ -1478,7 +1444,6 @@ symbols! {
test_removed_feature, test_removed_feature,
test_runner, test_runner,
test_unstable_lint, test_unstable_lint,
then_with,
thread, thread,
thread_local, thread_local,
thread_local_macro, thread_local_macro,
@ -1510,7 +1475,6 @@ symbols! {
try_trait_v2, try_trait_v2,
tt, tt,
tuple, tuple,
tuple_from_req,
tuple_indexing, tuple_indexing,
tuple_trait, tuple_trait,
two_phase, two_phase,
@ -1572,7 +1536,6 @@ symbols! {
from crates.io via `Cargo.toml` instead?", from crates.io via `Cargo.toml` instead?",
untagged_unions, untagged_unions,
unused_imports, unused_imports,
unused_qualifications,
unwind, unwind,
unwind_attributes, unwind_attributes,
unwind_safe_trait, unwind_safe_trait,