From c0240ec034b7484fe11942fbb2cecf36006e23ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Wed, 19 Jun 2024 10:24:51 +0200 Subject: [PATCH] New upstream version 1.77.2+dfsg1 --- Cargo.lock | 313 +- Cargo.toml | 10 +- README.md | 251 +- RELEASES.md | 136 +- compiler/rustc_abi/Cargo.toml | 2 +- compiler/rustc_abi/src/layout.rs | 1218 +- compiler/rustc_abi/src/lib.rs | 34 +- compiler/rustc_arena/src/lib.rs | 13 + compiler/rustc_ast/Cargo.toml | 2 +- compiler/rustc_ast/src/ast.rs | 169 +- compiler/rustc_ast/src/lib.rs | 2 - compiler/rustc_ast/src/mut_visit.rs | 20 +- compiler/rustc_ast/src/token.rs | 9 - compiler/rustc_ast/src/tokenstream.rs | 31 +- compiler/rustc_ast/src/util/classify.rs | 24 +- compiler/rustc_ast/src/util/literal.rs | 106 +- compiler/rustc_ast/src/visit.rs | 32 +- compiler/rustc_ast_lowering/messages.ftl | 12 +- compiler/rustc_ast_lowering/src/asm.rs | 41 +- compiler/rustc_ast_lowering/src/delegation.rs | 348 + compiler/rustc_ast_lowering/src/errors.rs | 38 +- compiler/rustc_ast_lowering/src/expr.rs | 571 +- compiler/rustc_ast_lowering/src/format.rs | 4 +- compiler/rustc_ast_lowering/src/item.rs | 522 +- compiler/rustc_ast_lowering/src/lib.rs | 329 +- compiler/rustc_ast_lowering/src/pat.rs | 11 +- compiler/rustc_ast_lowering/src/path.rs | 8 +- compiler/rustc_ast_passes/messages.ftl | 35 +- .../rustc_ast_passes/src/ast_validation.rs | 326 +- compiler/rustc_ast_passes/src/errors.rs | 102 +- compiler/rustc_ast_passes/src/feature_gate.rs | 68 +- compiler/rustc_ast_passes/src/lib.rs | 1 - compiler/rustc_ast_passes/src/show_span.rs | 6 +- compiler/rustc_ast_pretty/src/lib.rs | 1 - compiler/rustc_ast_pretty/src/pprust/state.rs | 106 +- .../rustc_ast_pretty/src/pprust/state/expr.rs | 334 +- .../rustc_ast_pretty/src/pprust/state/item.rs | 46 +- compiler/rustc_attr/src/builtin.rs | 159 +- .../rustc_attr/src/session_diagnostics.rs | 75 +- .../rustc_borrowck/src/borrowck_errors.rs | 223 +- .../src/diagnostics/bound_region_errors.rs | 75 +- .../src/diagnostics/conflict_errors.rs | 239 +- .../src/diagnostics/explain_borrow.rs | 6 +- .../rustc_borrowck/src/diagnostics/mod.rs | 90 +- .../src/diagnostics/move_errors.rs | 39 +- .../src/diagnostics/mutability_errors.rs | 41 +- .../src/diagnostics/outlives_suggestion.rs | 3 +- .../src/diagnostics/region_errors.rs | 43 +- .../src/diagnostics/region_name.rs | 131 +- compiler/rustc_borrowck/src/lib.rs | 67 +- compiler/rustc_borrowck/src/nll.rs | 11 +- .../src/polonius/loan_invalidations.rs | 2 +- .../rustc_borrowck/src/region_infer/mod.rs | 20 +- .../src/region_infer/opaque_types.rs | 6 +- .../rustc_borrowck/src/region_infer/values.rs | 189 +- .../rustc_borrowck/src/session_diagnostics.rs | 8 +- .../src/type_check/constraint_conversion.rs | 14 +- .../src/type_check/free_region_relations.rs | 35 +- .../src/type_check/input_output.rs | 50 +- .../src/type_check/liveness/local_use_map.rs | 8 +- .../src/type_check/liveness/mod.rs | 6 +- .../src/type_check/liveness/trace.rs | 15 +- compiler/rustc_borrowck/src/type_check/mod.rs | 175 +- .../rustc_borrowck/src/universal_regions.rs | 35 +- .../src/alloc_error_handler.rs | 2 +- compiler/rustc_builtin_macros/src/asm.rs | 44 +- compiler/rustc_builtin_macros/src/assert.rs | 8 +- .../src/assert/context.rs | 2 +- compiler/rustc_builtin_macros/src/cfg.rs | 8 +- .../src/cfg_accessible.rs | 10 +- compiler/rustc_builtin_macros/src/cfg_eval.rs | 2 +- .../rustc_builtin_macros/src/cmdline_attrs.rs | 2 +- .../rustc_builtin_macros/src/compile_error.rs | 2 +- compiler/rustc_builtin_macros/src/concat.rs | 8 +- .../rustc_builtin_macros/src/concat_bytes.rs | 38 +- .../rustc_builtin_macros/src/concat_idents.rs | 6 +- compiler/rustc_builtin_macros/src/derive.rs | 8 +- .../src/deriving/clone.rs | 12 +- .../src/deriving/cmp/eq.rs | 15 +- .../src/deriving/cmp/ord.rs | 2 +- .../src/deriving/cmp/partial_eq.rs | 3 +- .../src/deriving/cmp/partial_ord.rs | 2 +- .../src/deriving/debug.rs | 2 +- .../src/deriving/decodable.rs | 2 +- .../src/deriving/default.rs | 18 +- .../src/deriving/encodable.rs | 2 +- .../src/deriving/generic/mod.rs | 20 +- .../src/deriving/generic/ty.rs | 4 +- .../rustc_builtin_macros/src/deriving/hash.rs | 4 +- compiler/rustc_builtin_macros/src/env.rs | 10 +- compiler/rustc_builtin_macros/src/errors.rs | 35 +- compiler/rustc_builtin_macros/src/format.rs | 46 +- .../src/global_allocator.rs | 2 +- compiler/rustc_builtin_macros/src/lib.rs | 4 +- .../src/proc_macro_harness.rs | 2 +- .../rustc_builtin_macros/src/source_util.rs | 22 +- compiler/rustc_builtin_macros/src/test.rs | 65 +- .../rustc_builtin_macros/src/trace_macros.rs | 2 +- .../rustc_builtin_macros/src/type_ascribe.rs | 2 +- .../.github/workflows/abi-cafe.yml | 4 +- .../.github/workflows/audit.yml | 2 +- .../.github/workflows/main.yml | 34 +- .../.github/workflows/rustc.yml | 13 +- .../.vscode/settings.json | 3 +- compiler/rustc_codegen_cranelift/Cargo.lock | 144 +- compiler/rustc_codegen_cranelift/Cargo.toml | 14 +- compiler/rustc_codegen_cranelift/Readme.md | 23 + .../build_system/tests.rs | 8 +- .../example/mini_core.rs | 3 - .../example/mini_core_hello_world.rs | 290 +- ...nable-the-exposed_provenance-feature.patch | 22 - ...7-coretests-128bit-atomic-operations.patch | 2 +- .../patches/rand-lock.toml | 23 + .../patches/stdlib-lock.toml | 4 +- .../rustc_codegen_cranelift/rust-toolchain | 2 +- .../scripts/setup_rust_fork.sh | 15 +- .../scripts/test_rustc_tests.sh | 3 +- .../rustc_codegen_cranelift/src/abi/mod.rs | 37 +- compiler/rustc_codegen_cranelift/src/base.rs | 11 +- .../rustc_codegen_cranelift/src/common.rs | 9 +- .../rustc_codegen_cranelift/src/constant.rs | 8 +- .../src/debuginfo/line_info.rs | 10 +- .../src/debuginfo/mod.rs | 11 +- .../rustc_codegen_cranelift/src/driver/aot.rs | 30 +- .../rustc_codegen_cranelift/src/driver/jit.rs | 18 +- .../rustc_codegen_cranelift/src/global_asm.rs | 6 +- .../rustc_codegen_cranelift/src/inline_asm.rs | 42 +- .../src/intrinsics/llvm.rs | 8 +- .../src/intrinsics/llvm_aarch64.rs | 18 +- .../src/intrinsics/llvm_x86.rs | 414 +- .../src/intrinsics/mod.rs | 38 +- .../src/intrinsics/simd.rs | 109 +- compiler/rustc_codegen_cranelift/src/lib.rs | 50 +- .../rustc_codegen_cranelift/src/main_shim.rs | 4 +- .../rustc_codegen_cranelift/src/unsize.rs | 7 +- .../src/value_and_place.rs | 6 +- .../rustc_codegen_cranelift/src/vtable.rs | 2 +- .../rustc_codegen_gcc/example/mini_core.rs | 3 - .../example/mini_core_hello_world.rs | 3 + compiler/rustc_codegen_gcc/src/asm.rs | 7 +- compiler/rustc_codegen_gcc/src/attributes.rs | 2 +- compiler/rustc_codegen_gcc/src/builder.rs | 20 +- compiler/rustc_codegen_gcc/src/consts.rs | 2 +- compiler/rustc_codegen_gcc/src/context.rs | 13 +- compiler/rustc_codegen_gcc/src/errors.rs | 20 +- compiler/rustc_codegen_gcc/src/gcc_util.rs | 6 +- .../rustc_codegen_gcc/src/intrinsic/mod.rs | 8 +- .../rustc_codegen_gcc/src/intrinsic/simd.rs | 4 +- compiler/rustc_codegen_gcc/src/lib.rs | 2 +- compiler/rustc_codegen_gcc/src/type_of.rs | 2 +- .../rustc_codegen_gcc/tests/run/static.rs | 3 - compiler/rustc_codegen_llvm/Cargo.toml | 4 +- compiler/rustc_codegen_llvm/messages.ftl | 3 + compiler/rustc_codegen_llvm/src/abi.rs | 5 +- compiler/rustc_codegen_llvm/src/allocator.rs | 3 +- compiler/rustc_codegen_llvm/src/asm.rs | 5 +- compiler/rustc_codegen_llvm/src/attributes.rs | 13 +- .../rustc_codegen_llvm/src/back/archive.rs | 12 +- compiler/rustc_codegen_llvm/src/back/write.rs | 12 +- compiler/rustc_codegen_llvm/src/builder.rs | 17 +- compiler/rustc_codegen_llvm/src/consts.rs | 6 +- compiler/rustc_codegen_llvm/src/context.rs | 66 +- .../src/coverageinfo/ffi.rs | 20 +- .../src/coverageinfo/map_data.rs | 26 +- .../src/coverageinfo/mapgen.rs | 24 +- .../src/coverageinfo/mod.rs | 8 +- .../src/debuginfo/metadata.rs | 4 +- .../src/debuginfo/metadata/enums/cpp_like.rs | 2 +- .../src/debuginfo/metadata/enums/mod.rs | 2 +- .../src/debuginfo/metadata/enums/native.rs | 2 +- .../rustc_codegen_llvm/src/debuginfo/mod.rs | 9 +- compiler/rustc_codegen_llvm/src/errors.rs | 50 +- compiler/rustc_codegen_llvm/src/intrinsic.rs | 43 +- compiler/rustc_codegen_llvm/src/lib.rs | 4 +- compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 5 +- compiler/rustc_codegen_llvm/src/llvm_util.rs | 8 +- compiler/rustc_codegen_llvm/src/mono_item.rs | 1 + compiler/rustc_codegen_llvm/src/type_of.rs | 35 +- compiler/rustc_codegen_ssa/Cargo.toml | 4 +- compiler/rustc_codegen_ssa/messages.ftl | 2 +- .../src/assert_module_sources.rs | 28 +- .../rustc_codegen_ssa/src/back/archive.rs | 4 +- compiler/rustc_codegen_ssa/src/back/link.rs | 213 +- compiler/rustc_codegen_ssa/src/back/linker.rs | 515 +- .../src/back/symbol_export.rs | 16 +- compiler/rustc_codegen_ssa/src/back/write.rs | 59 +- compiler/rustc_codegen_ssa/src/base.rs | 26 +- .../rustc_codegen_ssa/src/codegen_attrs.rs | 98 +- .../src/debuginfo/type_names.rs | 40 +- compiler/rustc_codegen_ssa/src/errors.rs | 284 +- compiler/rustc_codegen_ssa/src/lib.rs | 4 +- compiler/rustc_codegen_ssa/src/mir/block.rs | 21 +- .../rustc_codegen_ssa/src/mir/constant.rs | 2 +- .../rustc_codegen_ssa/src/mir/debuginfo.rs | 17 +- .../rustc_codegen_ssa/src/mir/intrinsic.rs | 22 +- compiler/rustc_codegen_ssa/src/mir/operand.rs | 19 +- compiler/rustc_codegen_ssa/src/mir/place.rs | 15 +- compiler/rustc_codegen_ssa/src/mir/rvalue.rs | 1 - .../rustc_codegen_ssa/src/target_features.rs | 14 +- .../rustc_codegen_ssa/src/traits/builder.rs | 2 +- compiler/rustc_const_eval/messages.ftl | 38 +- .../rustc_const_eval/src/const_eval/error.rs | 12 +- .../src/const_eval/eval_queries.rs | 68 +- .../src/const_eval/machine.rs | 21 +- .../rustc_const_eval/src/const_eval/mod.rs | 2 +- .../src/const_eval/valtrees.rs | 4 +- compiler/rustc_const_eval/src/errors.rs | 204 +- .../rustc_const_eval/src/interpret/cast.rs | 3 +- .../src/interpret/discriminant.rs | 2 +- .../src/interpret/eval_context.rs | 20 +- .../rustc_const_eval/src/interpret/intern.rs | 564 +- .../src/interpret/intrinsics.rs | 2 +- .../rustc_const_eval/src/interpret/machine.rs | 22 + .../rustc_const_eval/src/interpret/memory.rs | 38 +- .../rustc_const_eval/src/interpret/operand.rs | 12 +- .../rustc_const_eval/src/interpret/place.rs | 25 +- .../src/interpret/projection.rs | 32 +- .../src/interpret/terminator.rs | 8 +- .../src/interpret/validity.rs | 148 +- compiler/rustc_const_eval/src/lib.rs | 7 - .../src/transform/check_consts/check.rs | 235 +- .../src/transform/check_consts/mod.rs | 9 +- .../src/transform/check_consts/ops.rs | 216 +- .../src/transform/check_consts/qualifs.rs | 4 +- .../rustc_const_eval/src/transform/mod.rs | 1 - .../src/transform/promote_consts.rs | 1025 -- .../src/transform/validate.rs | 169 +- .../src/util/caller_location.rs | 1 + compiler/rustc_const_eval/src/util/mod.rs | 4 +- .../rustc_const_eval/src/util/type_name.rs | 2 +- compiler/rustc_data_structures/Cargo.toml | 8 +- .../src/binary_search_util/mod.rs | 25 +- compiler/rustc_data_structures/src/fx.rs | 1 + .../src/graph/dominators/mod.rs | 1 + compiler/rustc_data_structures/src/hashes.rs | 14 +- .../rustc_data_structures/src/jobserver.rs | 5 +- compiler/rustc_data_structures/src/lib.rs | 14 +- compiler/rustc_data_structures/src/marker.rs | 1 - compiler/rustc_data_structures/src/packed.rs | 71 + .../rustc_data_structures/src/profiling.rs | 15 +- compiler/rustc_data_structures/src/sharded.rs | 2 +- .../rustc_data_structures/src/sorted_map.rs | 2 +- compiler/rustc_data_structures/src/sso/map.rs | 2 +- .../src/stable_hasher.rs | 40 +- compiler/rustc_data_structures/src/svh.rs | 2 +- compiler/rustc_data_structures/src/sync.rs | 63 +- .../src/tagged_ptr/impl_tag.rs | 144 - compiler/rustc_data_structures/src/unord.rs | 128 +- compiler/rustc_driver_impl/Cargo.toml | 2 +- compiler/rustc_driver_impl/src/args.rs | 107 +- compiler/rustc_driver_impl/src/lib.rs | 112 +- compiler/rustc_driver_impl/src/pretty.rs | 2 +- compiler/rustc_error_codes/src/error_codes.rs | 656 -- .../src/error_codes/E0379.md | 4 + .../src/error_codes/E0453.md | 4 +- .../src/error_codes/E0640.md | 1 + .../src/error_codes/E0708.md | 6 +- .../src/error_codes/E0733.md | 42 +- .../src/error_codes/E0795.md | 4 +- .../src/error_codes/E0796.md | 26 + .../src/error_codes/E0797.md | 26 + compiler/rustc_error_codes/src/lib.rs | 678 +- compiler/rustc_error_messages/src/lib.rs | 1 - compiler/rustc_errors/Cargo.toml | 4 +- .../src/annotate_snippet_emitter_writer.rs | 38 +- compiler/rustc_errors/src/codes.rs | 39 + compiler/rustc_errors/src/diagnostic.rs | 228 +- .../rustc_errors/src/diagnostic_builder.rs | 672 +- compiler/rustc_errors/src/diagnostic_impls.rs | 196 +- compiler/rustc_errors/src/emitter.rs | 78 +- compiler/rustc_errors/src/json.rs | 49 +- compiler/rustc_errors/src/lib.rs | 930 +- .../rustc_errors/src/markdown/tests/term.rs | 5 +- compiler/rustc_errors/src/registry.rs | 9 +- compiler/rustc_errors/src/translation.rs | 6 +- compiler/rustc_expand/Cargo.toml | 1 - compiler/rustc_expand/messages.ftl | 3 + compiler/rustc_expand/src/base.rs | 157 +- compiler/rustc_expand/src/build.rs | 13 +- compiler/rustc_expand/src/config.rs | 40 +- compiler/rustc_expand/src/errors.rs | 18 +- compiler/rustc_expand/src/expand.rs | 159 +- compiler/rustc_expand/src/lib.rs | 2 - compiler/rustc_expand/src/mbe/diagnostics.rs | 19 +- compiler/rustc_expand/src/mbe/macro_parser.rs | 4 +- compiler/rustc_expand/src/mbe/macro_rules.rs | 109 +- compiler/rustc_expand/src/mbe/metavar_expr.rs | 2 +- compiler/rustc_expand/src/mbe/quoted.rs | 37 +- compiler/rustc_expand/src/mbe/transcribe.rs | 105 +- compiler/rustc_expand/src/module.rs | 12 +- compiler/rustc_expand/src/proc_macro.rs | 32 +- .../rustc_expand/src/proc_macro_server.rs | 17 +- compiler/rustc_expand/src/tests.rs | 4 +- compiler/rustc_feature/src/accepted.rs | 2 + compiler/rustc_feature/src/builtin_attrs.rs | 4 +- compiler/rustc_feature/src/removed.rs | 2 + compiler/rustc_feature/src/unstable.rs | 21 +- compiler/rustc_fluent_macro/Cargo.toml | 2 +- compiler/rustc_fluent_macro/src/fluent.rs | 10 +- compiler/rustc_hir/src/def_path_hash_map.rs | 17 +- compiler/rustc_hir/src/definitions.rs | 49 +- compiler/rustc_hir/src/hir.rs | 230 +- compiler/rustc_hir/src/intravisit.rs | 35 +- compiler/rustc_hir/src/lang_items.rs | 39 +- compiler/rustc_hir/src/lib.rs | 1 - compiler/rustc_hir/src/stable_hash_impls.rs | 7 - compiler/rustc_hir_analysis/Cargo.toml | 2 + compiler/rustc_hir_analysis/messages.ftl | 25 +- .../rustc_hir_analysis/src/astconv/bounds.rs | 123 +- .../rustc_hir_analysis/src/astconv/errors.rs | 93 +- .../src/astconv/generics.rs | 20 +- .../rustc_hir_analysis/src/astconv/lint.rs | 174 +- .../rustc_hir_analysis/src/astconv/mod.rs | 332 +- .../src/astconv/object_safety.rs | 36 +- compiler/rustc_hir_analysis/src/autoderef.rs | 7 +- compiler/rustc_hir_analysis/src/bounds.rs | 18 - .../rustc_hir_analysis/src/check/check.rs | 259 +- .../src/check/compare_impl_item.rs | 76 +- .../src/check/compare_impl_item/refine.rs | 24 +- .../rustc_hir_analysis/src/check/dropck.rs | 30 +- .../rustc_hir_analysis/src/check/entry.rs | 26 +- compiler/rustc_hir_analysis/src/check/errs.rs | 89 + .../rustc_hir_analysis/src/check/intrinsic.rs | 18 +- .../src/check/intrinsicck.rs | 90 +- compiler/rustc_hir_analysis/src/check/mod.rs | 29 +- .../rustc_hir_analysis/src/check/region.rs | 31 +- .../rustc_hir_analysis/src/check/wfcheck.rs | 230 +- .../rustc_hir_analysis/src/check_unused.rs | 8 +- .../src/coherence/builtin.rs | 152 +- .../src/coherence/inherent_impls.rs | 79 +- .../src/coherence/inherent_impls_overlap.rs | 63 +- .../rustc_hir_analysis/src/coherence/mod.rs | 69 +- .../src/coherence/orphan.rs | 16 +- .../src/coherence/unsafety.rs | 36 +- compiler/rustc_hir_analysis/src/collect.rs | 140 +- .../src/collect/generics_of.rs | 23 +- .../src/collect/predicates_of.rs | 38 +- .../src/collect/resolve_bound_vars.rs | 64 +- .../rustc_hir_analysis/src/collect/type_of.rs | 38 +- .../src/collect/type_of/opaque.rs | 119 +- compiler/rustc_hir_analysis/src/errors.rs | 238 +- .../rustc_hir_analysis/src/hir_wf_check.rs | 2 +- .../rustc_hir_analysis/src/impl_wf_check.rs | 54 +- .../src/impl_wf_check/min_specialization.rs | 130 +- compiler/rustc_hir_analysis/src/lib.rs | 87 +- .../src/outlives/implicit_infer.rs | 179 +- .../rustc_hir_analysis/src/outlives/mod.rs | 92 +- .../rustc_hir_analysis/src/outlives/test.rs | 35 +- .../src/structured_errors.rs | 20 +- .../missing_cast_for_variadic_arg.rs | 15 +- .../structured_errors/sized_unsized_cast.rs | 15 +- .../wrong_number_of_generic_args.rs | 14 +- .../rustc_hir_analysis/src/variance/mod.rs | 3 +- .../rustc_hir_analysis/src/variance/test.rs | 13 +- compiler/rustc_hir_pretty/src/lib.rs | 49 +- compiler/rustc_hir_typeck/Cargo.toml | 1 + compiler/rustc_hir_typeck/messages.ftl | 5 - compiler/rustc_hir_typeck/src/_match.rs | 11 +- compiler/rustc_hir_typeck/src/autoderef.rs | 9 +- compiler/rustc_hir_typeck/src/callee.rs | 141 +- compiler/rustc_hir_typeck/src/cast.rs | 119 +- compiler/rustc_hir_typeck/src/check.rs | 116 +- compiler/rustc_hir_typeck/src/closure.rs | 396 +- compiler/rustc_hir_typeck/src/coercion.rs | 16 +- compiler/rustc_hir_typeck/src/demand.rs | 28 +- compiler/rustc_hir_typeck/src/errors.rs | 54 +- compiler/rustc_hir_typeck/src/expr.rs | 282 +- .../rustc_hir_typeck/src/expr_use_visitor.rs | 22 +- compiler/rustc_hir_typeck/src/fallback.rs | 2 +- .../rustc_hir_typeck/src/fn_ctxt/_impl.rs | 71 +- .../src/fn_ctxt/adjust_fulfillment_errors.rs | 11 +- .../rustc_hir_typeck/src/fn_ctxt/checks.rs | 117 +- compiler/rustc_hir_typeck/src/fn_ctxt/mod.rs | 61 +- .../src/fn_ctxt/suggestions.rs | 85 +- .../rustc_hir_typeck/src/gather_locals.rs | 25 +- compiler/rustc_hir_typeck/src/inherited.rs | 3 +- compiler/rustc_hir_typeck/src/intrinsicck.rs | 20 +- compiler/rustc_hir_typeck/src/lib.rs | 91 +- .../src/mem_categorization.rs | 9 +- .../rustc_hir_typeck/src/method/confirm.rs | 14 +- compiler/rustc_hir_typeck/src/method/mod.rs | 25 +- .../src/method/prelude2021.rs | 6 +- compiler/rustc_hir_typeck/src/method/probe.rs | 18 +- .../rustc_hir_typeck/src/method/suggest.rs | 280 +- compiler/rustc_hir_typeck/src/op.rs | 74 +- compiler/rustc_hir_typeck/src/pat.rs | 155 +- compiler/rustc_hir_typeck/src/place_op.rs | 44 +- compiler/rustc_hir_typeck/src/upvar.rs | 12 +- compiler/rustc_hir_typeck/src/writeback.rs | 16 +- .../rustc_incremental/src/assert_dep_graph.rs | 20 +- compiler/rustc_incremental/src/lib.rs | 1 - .../src/persist/dirty_clean.rs | 31 +- .../src/persist/file_format.rs | 14 +- compiler/rustc_incremental/src/persist/fs.rs | 24 +- .../rustc_incremental/src/persist/load.rs | 9 +- .../rustc_incremental/src/persist/save.rs | 12 +- .../src/persist/work_product.rs | 4 +- compiler/rustc_index/src/bit_set.rs | 30 +- compiler/rustc_index/src/interval.rs | 6 + compiler/rustc_index/src/lib.rs | 11 +- compiler/rustc_index/src/vec.rs | 7 + compiler/rustc_index_macros/src/lib.rs | 6 + compiler/rustc_index_macros/src/newtype.rs | 11 +- compiler/rustc_infer/src/errors/mod.rs | 102 +- .../src/errors/note_and_explain.rs | 12 +- compiler/rustc_infer/src/infer/at.rs | 3 +- .../src/infer/canonical/canonicalizer.rs | 91 +- .../src/infer/canonical/query_response.rs | 16 +- .../src/infer/error_reporting/mod.rs | 124 +- .../infer/error_reporting/need_type_info.rs | 82 +- .../nice_region_error/different_lifetimes.rs | 2 +- .../mismatched_static_lifetime.rs | 2 +- .../error_reporting/nice_region_error/mod.rs | 4 +- .../nice_region_error/named_anon_conflict.rs | 8 +- .../nice_region_error/placeholder_error.rs | 14 +- .../nice_region_error/placeholder_relation.rs | 8 +- .../nice_region_error/static_impl_trait.rs | 6 +- .../trait_impl_difference.rs | 2 +- .../src/infer/error_reporting/note.rs | 47 +- .../infer/error_reporting/note_and_explain.rs | 191 +- compiler/rustc_infer/src/infer/freshen.rs | 14 +- compiler/rustc_infer/src/infer/fudge.rs | 11 +- .../src/infer/lexical_region_resolve/mod.rs | 19 +- compiler/rustc_infer/src/infer/mod.rs | 74 +- .../rustc_infer/src/infer/opaque_types.rs | 11 +- .../src/infer/opaque_types/table.rs | 5 +- .../src/infer/outlives/components.rs | 2 +- .../rustc_infer/src/infer/outlives/mod.rs | 18 +- .../src/infer/outlives/obligations.rs | 43 +- .../rustc_infer/src/infer/outlives/verify.rs | 36 +- .../infer/region_constraints/leak_check.rs | 8 +- .../src/infer/region_constraints/mod.rs | 21 +- .../rustc_infer/src/infer/relate/combine.rs | 82 +- .../src/infer/relate/generalize.rs | 31 +- compiler/rustc_infer/src/infer/relate/nll.rs | 4 +- compiler/rustc_infer/src/infer/resolve.rs | 90 +- compiler/rustc_infer/src/lib.rs | 3 +- .../src/traits/error_reporting/mod.rs | 39 +- compiler/rustc_infer/src/traits/mod.rs | 21 +- .../src/traits/structural_impls.rs | 17 +- compiler/rustc_interface/Cargo.toml | 2 +- compiler/rustc_interface/src/callbacks.rs | 6 +- compiler/rustc_interface/src/interface.rs | 26 +- compiler/rustc_interface/src/lib.rs | 6 +- compiler/rustc_interface/src/passes.rs | 35 +- compiler/rustc_interface/src/queries.rs | 15 +- compiler/rustc_interface/src/tests.rs | 16 +- compiler/rustc_interface/src/util.rs | 32 +- compiler/rustc_lexer/src/lib.rs | 5 +- compiler/rustc_lexer/src/unescape.rs | 163 +- compiler/rustc_lexer/src/unescape/tests.rs | 10 +- compiler/rustc_lint/messages.ftl | 20 +- compiler/rustc_lint/src/array_into_iter.rs | 2 +- compiler/rustc_lint/src/async_fn_in_trait.rs | 2 +- compiler/rustc_lint/src/builtin.rs | 165 +- compiler/rustc_lint/src/context.rs | 531 +- .../rustc_lint/src/context/diagnostics.rs | 557 + .../src/deref_into_dyn_supertrait.rs | 2 +- .../rustc_lint/src/drop_forget_useless.rs | 10 +- compiler/rustc_lint/src/early.rs | 10 +- .../src/enum_intrinsics_non_enums.rs | 8 +- compiler/rustc_lint/src/errors.rs | 16 +- compiler/rustc_lint/src/expect.rs | 4 +- .../src/for_loops_over_fallibles.rs | 2 +- compiler/rustc_lint/src/foreign_modules.rs | 12 +- .../src/hidden_unicode_codepoints.rs | 2 +- compiler/rustc_lint/src/internal.rs | 30 +- compiler/rustc_lint/src/invalid_from_utf8.rs | 4 +- compiler/rustc_lint/src/let_underscore.rs | 70 +- compiler/rustc_lint/src/levels.rs | 157 +- compiler/rustc_lint/src/lib.rs | 11 +- compiler/rustc_lint/src/lints.rs | 182 +- compiler/rustc_lint/src/map_unit_fn.rs | 4 +- compiler/rustc_lint/src/methods.rs | 2 +- .../src/multiple_supertrait_upcastable.rs | 2 +- compiler/rustc_lint/src/non_ascii_idents.rs | 35 +- compiler/rustc_lint/src/non_fmt_panic.rs | 17 +- compiler/rustc_lint/src/nonstandard_style.rs | 6 +- compiler/rustc_lint/src/noop_method_call.rs | 6 +- .../src/opaque_hidden_inferred_bound.rs | 15 +- compiler/rustc_lint/src/pass_by_value.rs | 2 +- compiler/rustc_lint/src/ptr_nulls.rs | 8 +- .../rustc_lint/src/redundant_semicolon.rs | 2 +- compiler/rustc_lint/src/reference_casting.rs | 2 +- compiler/rustc_lint/src/traits.rs | 4 +- compiler/rustc_lint/src/types.rs | 51 +- compiler/rustc_lint/src/unit_bindings.rs | 2 +- compiler/rustc_lint/src/unused.rs | 64 +- compiler/rustc_lint_defs/src/builtin.rs | 236 +- compiler/rustc_lint_defs/src/lib.rs | 12 +- .../rustc_llvm/llvm-wrapper/PassWrapper.cpp | 4 +- compiler/rustc_llvm/src/lib.rs | 1 + compiler/rustc_macros/build.rs | 16 + .../src/diagnostics/diagnostic.rs | 60 +- .../src/diagnostics/diagnostic_builder.rs | 86 +- compiler/rustc_macros/src/diagnostics/mod.rs | 9 +- .../src/diagnostics/subdiagnostic.rs | 15 +- .../rustc_macros/src/diagnostics/utils.rs | 6 +- compiler/rustc_macros/src/lib.rs | 3 +- compiler/rustc_macros/src/query.rs | 3 +- compiler/rustc_macros/src/serialize.rs | 46 +- compiler/rustc_metadata/Cargo.toml | 4 +- compiler/rustc_metadata/src/creader.rs | 76 +- .../rustc_metadata/src/dependency_format.rs | 16 +- compiler/rustc_metadata/src/errors.rs | 79 +- compiler/rustc_metadata/src/fs.rs | 16 +- compiler/rustc_metadata/src/lib.rs | 2 - compiler/rustc_metadata/src/locator.rs | 35 +- compiler/rustc_metadata/src/native_libs.rs | 123 +- compiler/rustc_metadata/src/rmeta/decoder.rs | 221 +- .../src/rmeta/decoder/cstore_impl.rs | 51 +- .../src/rmeta/def_path_hash_map.rs | 4 +- compiler/rustc_metadata/src/rmeta/encoder.rs | 240 +- compiler/rustc_metadata/src/rmeta/mod.rs | 107 +- compiler/rustc_metadata/src/rmeta/table.rs | 98 +- compiler/rustc_middle/Cargo.toml | 4 +- compiler/rustc_middle/src/arena.rs | 4 +- compiler/rustc_middle/src/error.rs | 11 +- compiler/rustc_middle/src/hir/map/mod.rs | 117 +- compiler/rustc_middle/src/hir/mod.rs | 30 +- compiler/rustc_middle/src/infer/unify_key.rs | 29 +- compiler/rustc_middle/src/lib.rs | 6 - compiler/rustc_middle/src/lint.rs | 72 +- compiler/rustc_middle/src/macros.rs | 8 +- .../src/middle/codegen_fn_attrs.rs | 6 +- .../rustc_middle/src/middle/lang_items.rs | 2 +- compiler/rustc_middle/src/middle/limits.rs | 2 +- compiler/rustc_middle/src/middle/mod.rs | 15 +- compiler/rustc_middle/src/middle/region.rs | 51 +- .../src/middle/resolve_bound_vars.rs | 6 +- compiler/rustc_middle/src/middle/stability.rs | 23 +- compiler/rustc_middle/src/mir/consts.rs | 4 +- compiler/rustc_middle/src/mir/coverage.rs | 36 +- .../src/mir/interpret/allocation.rs | 5 +- .../rustc_middle/src/mir/interpret/error.rs | 32 +- .../rustc_middle/src/mir/interpret/mod.rs | 11 +- .../rustc_middle/src/mir/interpret/pointer.rs | 6 + .../rustc_middle/src/mir/interpret/queries.rs | 6 +- compiler/rustc_middle/src/mir/mod.rs | 64 +- compiler/rustc_middle/src/mir/pretty.rs | 105 +- compiler/rustc_middle/src/mir/spanview.rs | 642 -- compiler/rustc_middle/src/mir/syntax.rs | 13 +- compiler/rustc_middle/src/mir/tcx.rs | 16 +- compiler/rustc_middle/src/mir/terminator.rs | 79 +- compiler/rustc_middle/src/mir/visit.rs | 11 +- compiler/rustc_middle/src/query/erase.rs | 18 +- compiler/rustc_middle/src/query/keys.rs | 16 +- compiler/rustc_middle/src/query/mod.rs | 128 +- .../rustc_middle/src/query/on_disk_cache.rs | 271 +- compiler/rustc_middle/src/query/plumbing.rs | 16 +- compiler/rustc_middle/src/thir.rs | 13 +- compiler/rustc_middle/src/thir/visit.rs | 50 +- compiler/rustc_middle/src/traits/mod.rs | 32 +- compiler/rustc_middle/src/traits/query.rs | 4 +- compiler/rustc_middle/src/traits/select.rs | 2 - .../rustc_middle/src/traits/solve/inspect.rs | 1 + .../src/traits/solve/inspect/format.rs | 3 + .../src/traits/specialization_graph.rs | 16 +- compiler/rustc_middle/src/ty/adt.rs | 10 +- compiler/rustc_middle/src/ty/closure.rs | 4 +- compiler/rustc_middle/src/ty/consts.rs | 6 +- compiler/rustc_middle/src/ty/consts/int.rs | 2 +- compiler/rustc_middle/src/ty/consts/kind.rs | 2 +- compiler/rustc_middle/src/ty/context.rs | 80 +- compiler/rustc_middle/src/ty/diagnostics.rs | 10 +- compiler/rustc_middle/src/ty/fast_reject.rs | 6 +- compiler/rustc_middle/src/ty/flags.rs | 2 +- compiler/rustc_middle/src/ty/generic_args.rs | 44 +- compiler/rustc_middle/src/ty/generics.rs | 4 +- .../ty/inhabitedness/inhabited_predicate.rs | 75 +- .../rustc_middle/src/ty/inhabitedness/mod.rs | 16 +- compiler/rustc_middle/src/ty/instance.rs | 101 +- compiler/rustc_middle/src/ty/layout.rs | 18 +- compiler/rustc_middle/src/ty/mod.rs | 100 +- compiler/rustc_middle/src/ty/opaque_types.rs | 12 +- compiler/rustc_middle/src/ty/parameterized.rs | 7 +- compiler/rustc_middle/src/ty/print/mod.rs | 2 +- compiler/rustc_middle/src/ty/print/pretty.rs | 220 +- compiler/rustc_middle/src/ty/relate.rs | 6 +- .../rustc_middle/src/ty/structural_impls.rs | 31 +- compiler/rustc_middle/src/ty/sty.rs | 176 +- compiler/rustc_middle/src/ty/trait_def.rs | 22 +- .../rustc_middle/src/ty/typeck_results.rs | 4 +- compiler/rustc_middle/src/ty/util.rs | 116 +- compiler/rustc_middle/src/ty/visit.rs | 7 +- compiler/rustc_middle/src/ty/walk.rs | 2 +- compiler/rustc_middle/src/util/bug.rs | 6 +- .../rustc_middle/src/util/find_self_call.rs | 9 +- compiler/rustc_middle/src/values.rs | 165 +- compiler/rustc_mir_build/Cargo.toml | 1 + compiler/rustc_mir_build/messages.ftl | 13 +- compiler/rustc_mir_build/src/build/block.rs | 20 +- .../rustc_mir_build/src/build/custom/mod.rs | 2 +- .../src/build/custom/parse/instruction.rs | 21 +- .../src/build/expr/as_constant.rs | 31 +- .../src/build/expr/as_operand.rs | 26 +- .../src/build/expr/as_place.rs | 57 +- .../src/build/expr/as_rvalue.rs | 114 +- .../rustc_mir_build/src/build/expr/as_temp.rs | 20 +- .../rustc_mir_build/src/build/expr/into.rs | 105 +- .../rustc_mir_build/src/build/expr/stmt.rs | 46 +- .../rustc_mir_build/src/build/matches/mod.rs | 148 +- .../src/build/matches/simplify.rs | 37 +- .../rustc_mir_build/src/build/matches/test.rs | 10 +- compiler/rustc_mir_build/src/build/mod.rs | 141 +- compiler/rustc_mir_build/src/build/scope.rs | 19 +- .../rustc_mir_build/src/check_unsafety.rs | 146 +- compiler/rustc_mir_build/src/errors.rs | 129 +- compiler/rustc_mir_build/src/lib.rs | 3 +- compiler/rustc_mir_build/src/lints.rs | 2 +- compiler/rustc_mir_build/src/thir/constant.rs | 40 +- compiler/rustc_mir_build/src/thir/cx/expr.rs | 22 +- compiler/rustc_mir_build/src/thir/cx/mod.rs | 68 +- .../src/thir/pattern/check_match.rs | 212 +- .../src/thir/pattern/const_to_pat.rs | 32 +- .../rustc_mir_build/src/thir/pattern/mod.rs | 32 +- compiler/rustc_mir_build/src/thir/print.rs | 25 +- .../rustc_mir_dataflow/src/elaborate_drops.rs | 9 +- .../src/framework/cursor.rs | 2 +- .../src/framework/engine.rs | 10 +- .../src/impls/initialized.rs | 7 + .../rustc_mir_dataflow/src/impls/liveness.rs | 10 +- .../src/impls/storage_liveness.rs | 12 +- compiler/rustc_mir_dataflow/src/lib.rs | 11 +- .../src/move_paths/builder.rs | 6 +- compiler/rustc_mir_dataflow/src/points.rs | 156 + compiler/rustc_mir_dataflow/src/rustc_peek.rs | 22 +- .../src/check_const_item_mutation.rs | 4 +- .../src/check_packed_ref.rs | 2 +- .../rustc_mir_transform/src/check_unsafety.rs | 21 +- .../rustc_mir_transform/src/const_goto.rs | 2 +- .../rustc_mir_transform/src/const_prop.rs | 679 +- .../src/const_prop_lint.rs | 514 +- compiler/rustc_mir_transform/src/coroutine.rs | 112 +- .../src/coverage/counters.rs | 43 +- .../rustc_mir_transform/src/coverage/graph.rs | 240 +- .../rustc_mir_transform/src/coverage/mod.rs | 420 +- .../rustc_mir_transform/src/coverage/spans.rs | 272 +- .../src/coverage/spans/from_mir.rs | 204 +- .../rustc_mir_transform/src/coverage/tests.rs | 6 +- .../src/dead_store_elimination.rs | 18 +- .../src/deduce_param_attrs.rs | 2 +- .../src/deduplicate_blocks.rs | 2 +- compiler/rustc_mir_transform/src/dest_prop.rs | 120 +- .../src/early_otherwise_branch.rs | 2 +- .../src/elaborate_drops.rs | 4 +- compiler/rustc_mir_transform/src/errors.rs | 87 +- .../src/ffi_unwind_calls.rs | 3 +- .../src/function_item_references.rs | 11 +- compiler/rustc_mir_transform/src/gvn.rs | 258 +- compiler/rustc_mir_transform/src/inline.rs | 22 +- .../rustc_mir_transform/src/instsimplify.rs | 4 +- .../rustc_mir_transform/src/jump_threading.rs | 295 +- .../rustc_mir_transform/src/large_enums.rs | 2 +- compiler/rustc_mir_transform/src/lib.rs | 62 +- compiler/rustc_mir_transform/src/lint.rs | 153 + .../src/lower_intrinsics.rs | 24 +- .../src/lower_slice_len.rs | 2 +- .../rustc_mir_transform/src/match_branches.rs | 2 +- compiler/rustc_mir_transform/src/nrvo.rs | 4 +- .../rustc_mir_transform/src/pass_manager.rs | 38 +- .../rustc_mir_transform/src/promote_consts.rs | 953 ++ compiler/rustc_mir_transform/src/ref_prop.rs | 3 +- .../src/remove_storage_markers.rs | 8 +- .../src/remove_unneeded_drops.rs | 2 +- .../src/separate_const_switch.rs | 4 +- compiler/rustc_mir_transform/src/shim.rs | 10 +- compiler/rustc_mir_transform/src/simplify.rs | 92 +- compiler/rustc_mir_transform/src/ssa.rs | 1 + .../src/unreachable_prop.rs | 2 + compiler/rustc_monomorphize/messages.ftl | 3 + compiler/rustc_monomorphize/src/collector.rs | 142 +- compiler/rustc_monomorphize/src/errors.rs | 20 +- compiler/rustc_monomorphize/src/lib.rs | 6 +- .../rustc_monomorphize/src/partitioning.rs | 12 +- .../rustc_monomorphize/src/polymorphize.rs | 2 +- .../src/canonicalizer.rs | 2 +- compiler/rustc_parse/Cargo.toml | 2 +- compiler/rustc_parse/messages.ftl | 37 +- compiler/rustc_parse/src/errors.rs | 224 +- compiler/rustc_parse/src/lexer/mod.rs | 191 +- compiler/rustc_parse/src/lexer/tokentrees.rs | 32 +- .../src/lexer/unescape_error_reporting.rs | 7 +- .../rustc_parse/src/lexer/unicode_chars.rs | 2 +- compiler/rustc_parse/src/lib.rs | 89 +- compiler/rustc_parse/src/parser/attr.rs | 74 +- .../rustc_parse/src/parser/diagnostics.rs | 299 +- compiler/rustc_parse/src/parser/expr.rs | 519 +- compiler/rustc_parse/src/parser/generics.rs | 42 +- compiler/rustc_parse/src/parser/item.rs | 236 +- compiler/rustc_parse/src/parser/mod.rs | 89 +- .../rustc_parse/src/parser/nonterminal.rs | 22 +- compiler/rustc_parse/src/parser/pat.rs | 305 +- compiler/rustc_parse/src/parser/path.rs | 41 +- compiler/rustc_parse/src/parser/stmt.rs | 46 +- compiler/rustc_parse/src/parser/ty.rs | 155 +- compiler/rustc_parse/src/validate_attr.rs | 10 +- compiler/rustc_parse_format/src/lib.rs | 35 +- compiler/rustc_passes/messages.ftl | 5 + compiler/rustc_passes/src/abi_test.rs | 16 +- compiler/rustc_passes/src/check_attr.rs | 278 +- compiler/rustc_passes/src/check_const.rs | 4 +- compiler/rustc_passes/src/dead.rs | 152 +- .../rustc_passes/src/debugger_visualizer.rs | 25 +- compiler/rustc_passes/src/diagnostic_items.rs | 2 +- compiler/rustc_passes/src/entry.rs | 26 +- compiler/rustc_passes/src/errors.rs | 198 +- compiler/rustc_passes/src/hir_id_validator.rs | 2 +- compiler/rustc_passes/src/hir_stats.rs | 17 +- compiler/rustc_passes/src/lang_items.rs | 53 +- compiler/rustc_passes/src/layout_test.rs | 16 +- compiler/rustc_passes/src/lib.rs | 2 - compiler/rustc_passes/src/lib_features.rs | 11 +- compiler/rustc_passes/src/liveness.rs | 84 +- compiler/rustc_passes/src/loops.rs | 37 +- compiler/rustc_passes/src/naked_functions.rs | 16 +- compiler/rustc_passes/src/stability.rs | 55 +- compiler/rustc_passes/src/upvars.rs | 2 +- compiler/rustc_passes/src/weak_lang_items.rs | 12 +- compiler/rustc_pattern_analysis/Cargo.toml | 7 +- .../rustc_pattern_analysis/src/constructor.rs | 164 +- compiler/rustc_pattern_analysis/src/lib.rs | 139 +- compiler/rustc_pattern_analysis/src/lints.rs | 249 +- compiler/rustc_pattern_analysis/src/pat.rs | 239 +- .../rustc_pattern_analysis/src/pat_column.rs | 90 + compiler/rustc_pattern_analysis/src/rustc.rs | 388 +- .../rustc_pattern_analysis/src/usefulness.rs | 495 +- compiler/rustc_privacy/src/errors.rs | 6 +- compiler/rustc_privacy/src/lib.rs | 171 +- compiler/rustc_query_impl/Cargo.toml | 2 +- compiler/rustc_query_impl/src/lib.rs | 11 +- compiler/rustc_query_impl/src/plumbing.rs | 15 +- .../rustc_query_system/src/dep_graph/graph.rs | 18 +- .../src/dep_graph/serialized.rs | 1 + compiler/rustc_query_system/src/error.rs | 3 +- compiler/rustc_query_system/src/ich/hcx.rs | 35 - .../rustc_query_system/src/ich/impls_hir.rs | 22 - .../src/ich/impls_syntax.rs | 8 +- compiler/rustc_query_system/src/ich/mod.rs | 1 - .../rustc_query_system/src/query/caches.rs | 79 +- .../rustc_query_system/src/query/config.rs | 4 +- compiler/rustc_query_system/src/query/job.rs | 10 +- compiler/rustc_query_system/src/query/mod.rs | 21 +- .../rustc_query_system/src/query/plumbing.rs | 74 +- compiler/rustc_query_system/src/values.rs | 13 +- compiler/rustc_resolve/Cargo.toml | 4 +- compiler/rustc_resolve/messages.ftl | 4 + .../rustc_resolve/src/build_reduced_graph.rs | 104 +- compiler/rustc_resolve/src/check_unused.rs | 6 +- compiler/rustc_resolve/src/def_collector.rs | 22 +- compiler/rustc_resolve/src/diagnostics.rs | 212 +- .../src/effective_visibilities.rs | 3 +- compiler/rustc_resolve/src/errors.rs | 75 +- compiler/rustc_resolve/src/ident.rs | 49 +- compiler/rustc_resolve/src/imports.rs | 50 +- compiler/rustc_resolve/src/late.rs | 353 +- .../rustc_resolve/src/late/diagnostics.rs | 141 +- compiler/rustc_resolve/src/lib.rs | 37 +- compiler/rustc_resolve/src/macros.rs | 85 +- compiler/rustc_serialize/src/lib.rs | 2 - compiler/rustc_serialize/src/serialize.rs | 33 +- compiler/rustc_serialize/tests/opaque.rs | 16 +- compiler/rustc_session/Cargo.toml | 2 +- compiler/rustc_session/messages.ftl | 5 +- compiler/rustc_session/src/config.rs | 242 +- compiler/rustc_session/src/config/sigpipe.rs | 4 +- compiler/rustc_session/src/errors.rs | 71 +- compiler/rustc_session/src/lib.rs | 2 - compiler/rustc_session/src/options.rs | 86 +- compiler/rustc_session/src/output.rs | 12 +- compiler/rustc_session/src/parse.rs | 119 +- compiler/rustc_session/src/search_paths.rs | 2 +- compiler/rustc_session/src/session.rs | 486 +- .../rustc_smir/src/rustc_internal/internal.rs | 414 +- compiler/rustc_smir/src/rustc_internal/mod.rs | 164 +- compiler/rustc_smir/src/rustc_smir/alloc.rs | 3 +- compiler/rustc_smir/src/rustc_smir/context.rs | 140 +- .../rustc_smir/src/rustc_smir/convert/abi.rs | 35 +- .../src/rustc_smir/convert/error.rs | 4 +- .../rustc_smir/src/rustc_smir/convert/mir.rs | 88 +- .../rustc_smir/src/rustc_smir/convert/mod.rs | 41 +- .../rustc_smir/src/rustc_smir/convert/ty.rs | 136 +- compiler/rustc_smir/src/rustc_smir/mod.rs | 16 +- compiler/rustc_span/src/def_id.rs | 67 +- compiler/rustc_span/src/edit_distance.rs | 28 + compiler/rustc_span/src/hygiene.rs | 106 +- compiler/rustc_span/src/lib.rs | 456 +- compiler/rustc_span/src/source_map.rs | 73 +- compiler/rustc_span/src/source_map/tests.rs | 6 +- compiler/rustc_span/src/span_encoding.rs | 47 +- compiler/rustc_span/src/symbol.rs | 59 +- compiler/rustc_symbol_mangling/Cargo.toml | 2 +- compiler/rustc_symbol_mangling/src/errors.rs | 13 +- compiler/rustc_symbol_mangling/src/hashed.rs | 43 + compiler/rustc_symbol_mangling/src/legacy.rs | 6 +- compiler/rustc_symbol_mangling/src/lib.rs | 6 +- compiler/rustc_symbol_mangling/src/test.rs | 8 +- compiler/rustc_symbol_mangling/src/typeid.rs | 1 + .../src/typeid/typeid_itanium_cxx_abi.rs | 8 +- compiler/rustc_symbol_mangling/src/v0.rs | 106 +- compiler/rustc_target/Cargo.toml | 2 +- compiler/rustc_target/src/abi/call/mod.rs | 12 +- compiler/rustc_target/src/abi/mod.rs | 4 +- compiler/rustc_target/src/asm/s390x.rs | 29 +- compiler/rustc_target/src/json.rs | 1 - compiler/rustc_target/src/lib.rs | 2 - compiler/rustc_target/src/spec/abi/mod.rs | 38 +- .../rustc_target/src/spec/base/dragonfly.rs | 1 + .../rustc_target/src/spec/base/freebsd.rs | 2 + .../rustc_target/src/spec/base/illumos.rs | 2 +- compiler/rustc_target/src/spec/base/netbsd.rs | 1 + compiler/rustc_target/src/spec/base/wasm.rs | 3 - compiler/rustc_target/src/spec/mod.rs | 86 +- .../src/spec/targets/aarch64_apple_watchos.rs | 2 +- .../spec/targets/aarch64_unknown_illumos.rs | 19 + .../spec/targets/asmjs_unknown_emscripten.rs | 7 - .../spec/targets/hexagon_unknown_none_elf.rs | 27 + .../src/spec/targets/i386_apple_ios.rs | 2 +- .../src/spec/targets/i586_pc_nto_qnx700.rs | 2 +- .../src/spec/targets/i586_unknown_netbsd.rs | 2 +- .../src/spec/targets/i686_apple_darwin.rs | 2 +- .../src/spec/targets/i686_linux_android.rs | 2 +- .../src/spec/targets/i686_pc_windows_gnu.rs | 2 +- .../spec/targets/i686_pc_windows_gnullvm.rs | 2 +- .../src/spec/targets/i686_pc_windows_msvc.rs | 5 +- .../src/spec/targets/i686_unknown_freebsd.rs | 2 +- .../src/spec/targets/i686_unknown_haiku.rs | 2 +- .../src/spec/targets/i686_unknown_hurd_gnu.rs | 4 +- .../spec/targets/i686_unknown_linux_gnu.rs | 2 +- .../spec/targets/i686_unknown_linux_musl.rs | 2 +- .../src/spec/targets/i686_unknown_netbsd.rs | 2 +- .../src/spec/targets/i686_unknown_openbsd.rs | 2 +- .../src/spec/targets/i686_unknown_uefi.rs | 2 +- .../src/spec/targets/i686_uwp_windows_gnu.rs | 2 +- .../src/spec/targets/i686_uwp_windows_msvc.rs | 2 +- .../spec/targets/i686_win7_windows_msvc.rs | 2 +- .../src/spec/targets/i686_wrs_vxworks.rs | 2 +- .../targets/powerpc64_unknown_linux_musl.rs | 2 +- .../spec/targets/riscv32im_risc0_zkvm_elf.rs | 36 + .../spec/targets/riscv32imafc_esp_espidf.rs | 30 + .../spec/targets/wasm32_unknown_emscripten.rs | 5 +- .../src/spec/targets/x86_64_apple_darwin.rs | 4 +- .../src/spec/targets/x86_64_apple_ios.rs | 4 +- .../spec/targets/x86_64_apple_ios_macabi.rs | 4 +- .../src/spec/targets/x86_64_apple_tvos.rs | 4 +- .../spec/targets/x86_64_apple_watchos_sim.rs | 4 +- .../targets/x86_64_fortanix_unknown_sgx.rs | 4 +- .../src/spec/targets/x86_64_linux_android.rs | 4 +- .../src/spec/targets/x86_64_pc_nto_qnx710.rs | 4 +- .../src/spec/targets/x86_64_pc_solaris.rs | 4 +- .../src/spec/targets/x86_64_pc_windows_gnu.rs | 4 +- .../spec/targets/x86_64_pc_windows_gnullvm.rs | 4 +- .../spec/targets/x86_64_pc_windows_msvc.rs | 7 +- .../targets/x86_64_unikraft_linux_musl.rs | 4 +- .../spec/targets/x86_64_unknown_dragonfly.rs | 4 +- .../spec/targets/x86_64_unknown_freebsd.rs | 4 +- .../spec/targets/x86_64_unknown_fuchsia.rs | 7 +- .../src/spec/targets/x86_64_unknown_haiku.rs | 4 +- .../src/spec/targets/x86_64_unknown_hermit.rs | 4 +- .../spec/targets/x86_64_unknown_illumos.rs | 4 +- .../targets/x86_64_unknown_l4re_uclibc.rs | 4 +- .../spec/targets/x86_64_unknown_linux_gnu.rs | 4 +- .../targets/x86_64_unknown_linux_gnux32.rs | 2 +- .../spec/targets/x86_64_unknown_linux_musl.rs | 4 +- .../spec/targets/x86_64_unknown_linux_ohos.rs | 4 +- .../src/spec/targets/x86_64_unknown_netbsd.rs | 4 +- .../src/spec/targets/x86_64_unknown_none.rs | 4 +- .../spec/targets/x86_64_unknown_openbsd.rs | 4 +- .../src/spec/targets/x86_64_unknown_redox.rs | 4 +- .../src/spec/targets/x86_64_unknown_uefi.rs | 4 +- .../spec/targets/x86_64_uwp_windows_gnu.rs | 4 +- .../spec/targets/x86_64_uwp_windows_msvc.rs | 4 +- .../spec/targets/x86_64_win7_windows_msvc.rs | 4 +- .../src/spec/targets/x86_64_wrs_vxworks.rs | 4 +- .../src/spec/targets/x86_64h_apple_darwin.rs | 4 +- .../rustc_target/src/spec/tests/tests_impl.rs | 3 +- compiler/rustc_trait_selection/Cargo.toml | 2 + compiler/rustc_trait_selection/src/errors.rs | 41 +- compiler/rustc_trait_selection/src/infer.rs | 91 +- compiler/rustc_trait_selection/src/lib.rs | 3 +- compiler/rustc_trait_selection/src/regions.rs | 40 + .../src/solve/alias_relate.rs | 35 +- .../src/solve/assembly/mod.rs | 165 +- .../src/solve/assembly/structural_traits.rs | 22 +- .../src/solve/fulfill.rs | 145 +- .../src/solve/inspect/analyse.rs | 3 +- .../src/solve/inspect/build.rs | 5 + .../rustc_trait_selection/src/solve/mod.rs | 41 +- .../src/solve/normalize.rs | 41 +- .../src/solve/normalizes_to/mod.rs | 19 +- .../src/solve/normalizes_to/weak_types.rs | 2 +- .../src/solve/search_graph.rs | 376 +- .../src/solve/trait_goals.rs | 104 +- .../src/traits/auto_trait.rs | 7 +- .../src/traits/coherence.rs | 65 +- .../src/traits/const_evaluatable.rs | 12 +- .../src/traits/engine.rs | 1 + .../traits/error_reporting/infer_ctxt_ext.rs | 10 +- .../error_reporting/on_unimplemented.rs | 134 +- .../src/traits/error_reporting/suggestions.rs | 972 +- .../error_reporting/type_err_ctxt_ext.rs | 509 +- .../src/traits/fulfill.rs | 48 +- .../rustc_trait_selection/src/traits/misc.rs | 5 +- .../rustc_trait_selection/src/traits/mod.rs | 9 +- .../src/traits/object_safety.rs | 10 +- .../src/traits/outlives_bounds.rs | 215 +- .../src/traits/project.rs | 17 +- .../src/traits/query/dropck_outlives.rs | 41 +- .../src/traits/query/evaluate_obligation.rs | 8 +- .../src/traits/query/normalize.rs | 24 +- .../traits/query/type_op/ascribe_user_type.rs | 54 +- .../src/traits/query/type_op/custom.rs | 11 +- .../query/type_op/implied_outlives_bounds.rs | 94 +- .../src/traits/query/type_op/mod.rs | 18 +- .../traits/query/type_op/prove_predicate.rs | 17 + .../src/traits/select/candidate_assembly.rs | 19 +- .../src/traits/select/confirmation.rs | 22 +- .../src/traits/select/mod.rs | 76 +- .../src/traits/specialize/mod.rs | 104 +- .../src/traits/structural_match.rs | 4 +- .../src/traits/structural_normalize.rs | 3 +- .../rustc_trait_selection/src/traits/util.rs | 2 +- .../src/traits/vtable.rs | 2 +- compiler/rustc_traits/src/codegen.rs | 2 +- .../src/implied_outlives_bounds.rs | 18 +- compiler/rustc_traits/src/lib.rs | 1 - .../src/normalize_projection_ty.rs | 2 +- compiler/rustc_transmute/src/layout/tree.rs | 1 + compiler/rustc_transmute/src/lib.rs | 3 +- compiler/rustc_ty_utils/src/abi.rs | 31 +- compiler/rustc_ty_utils/src/consts.rs | 8 +- compiler/rustc_ty_utils/src/errors.rs | 3 +- compiler/rustc_ty_utils/src/instance.rs | 72 +- compiler/rustc_ty_utils/src/layout.rs | 31 +- compiler/rustc_ty_utils/src/lib.rs | 1 - compiler/rustc_ty_utils/src/needs_drop.rs | 4 +- compiler/rustc_ty_utils/src/opaque_types.rs | 215 +- .../rustc_ty_utils/src/structural_match.rs | 16 +- compiler/rustc_type_ir/Cargo.toml | 4 +- compiler/rustc_type_ir/src/codec.rs | 6 +- compiler/rustc_type_ir/src/flags.rs | 53 +- compiler/rustc_type_ir/src/lib.rs | 6 +- compiler/rustc_type_ir/src/ty_kind.rs | 12 +- compiler/stable_mir/src/abi.rs | 1 - compiler/stable_mir/src/compiler_interface.rs | 6 +- compiler/stable_mir/src/lib.rs | 23 +- compiler/stable_mir/src/mir/body.rs | 95 +- compiler/stable_mir/src/mir/visit.rs | 24 +- compiler/stable_mir/src/ty.rs | 21 +- config.example.toml | 13 +- git-commit-hash | 2 +- git-commit-info | 6 +- library/alloc/src/alloc.rs | 6 +- library/alloc/src/boxed.rs | 4 +- library/alloc/src/boxed/thin.rs | 1 - library/alloc/src/collections/btree/map.rs | 817 +- .../alloc/src/collections/btree/map/tests.rs | 135 +- library/alloc/src/collections/btree/node.rs | 29 +- .../alloc/src/collections/btree/set/tests.rs | 2 +- .../alloc/src/collections/vec_deque/mod.rs | 8 +- .../alloc/src/collections/vec_deque/tests.rs | 2 +- library/alloc/src/lib.rs | 7 +- library/alloc/src/raw_vec.rs | 13 +- library/alloc/src/rc.rs | 45 +- library/alloc/src/slice.rs | 4 +- library/alloc/src/str.rs | 2 + library/alloc/src/sync.rs | 99 +- library/alloc/src/sync/tests.rs | 65 +- library/alloc/src/vec/cow.rs | 13 + library/alloc/src/vec/in_place_collect.rs | 4 +- library/alloc/src/vec/into_iter.rs | 104 +- library/alloc/src/vec/mod.rs | 101 +- library/alloc/src/vec/spec_from_iter.rs | 4 +- library/alloc/tests/autotraits.rs | 9 +- library/alloc/tests/lib.rs | 1 - library/alloc/tests/slice.rs | 16 +- library/alloc/tests/vec.rs | 48 +- library/core/benches/ascii.rs | 28 + library/core/benches/iter.rs | 13 + library/core/benches/num/int_pow/mod.rs | 99 + library/core/benches/num/mod.rs | 1 + library/core/benches/slice.rs | 4 +- library/core/src/alloc/global.rs | 2 +- library/core/src/array/mod.rs | 17 +- library/core/src/ascii.rs | 11 + library/core/src/ascii/ascii_char.rs | 16 + library/core/src/async_iter/async_iter.rs | 32 +- library/core/src/async_iter/mod.rs | 2 +- library/core/src/char/convert.rs | 9 +- library/core/src/cmp.rs | 22 +- library/core/src/convert/mod.rs | 1 + library/core/src/error.rs | 2 +- library/core/src/ffi/mod.rs | 64 +- library/core/src/future/future.rs | 2 +- library/core/src/hint.rs | 50 +- library/core/src/intrinsics.rs | 88 +- library/core/src/intrinsics/mir.rs | 60 +- library/core/src/intrinsics/simd.rs | 2 - library/core/src/iter/adapters/cloned.rs | 25 +- library/core/src/iter/adapters/copied.rs | 24 +- library/core/src/iter/adapters/flatten.rs | 8 + library/core/src/iter/adapters/fuse.rs | 4 + library/core/src/iter/adapters/intersperse.rs | 147 +- library/core/src/iter/adapters/map.rs | 4 + library/core/src/iter/adapters/skip.rs | 52 +- library/core/src/iter/adapters/step_by.rs | 16 +- library/core/src/iter/sources/repeat_n.rs | 2 - library/core/src/iter/traits/iterator.rs | 45 +- library/core/src/lib.rs | 9 +- library/core/src/macros/mod.rs | 16 +- library/core/src/macros/panic.md | 2 +- library/core/src/marker.rs | 98 +- library/core/src/mem/mod.rs | 24 +- library/core/src/net/ip_addr.rs | 40 +- library/core/src/net/mod.rs | 2 +- library/core/src/num/int_macros.rs | 578 +- library/core/src/num/mod.rs | 28 +- library/core/src/num/nonzero.rs | 2749 ++--- library/core/src/num/overflow_panic.rs | 51 + library/core/src/num/uint_macros.rs | 458 +- library/core/src/ops/arith.rs | 16 +- library/core/src/ops/async_function.rs | 108 + library/core/src/ops/bit.rs | 20 +- library/core/src/ops/coroutine.rs | 1 + library/core/src/ops/deref.rs | 2 +- library/core/src/ops/index.rs | 2 +- library/core/src/ops/mod.rs | 4 + library/core/src/ops/range.rs | 4 +- library/core/src/option.rs | 15 +- library/core/src/panic.rs | 14 +- library/core/src/panic/unwind_safe.rs | 4 +- library/core/src/panicking.rs | 18 +- library/core/src/pin.rs | 1416 ++- library/core/src/primitive_docs.rs | 44 +- library/core/src/ptr/const_ptr.rs | 18 +- library/core/src/ptr/metadata.rs | 16 +- library/core/src/ptr/mod.rs | 10 +- library/core/src/ptr/mut_ptr.rs | 18 +- library/core/src/ptr/non_null.rs | 10 +- library/core/src/result.rs | 2 +- library/core/src/slice/ascii.rs | 41 +- library/core/src/slice/cmp.rs | 12 +- library/core/src/slice/index.rs | 2 +- library/core/src/slice/iter.rs | 91 +- library/core/src/slice/iter/macros.rs | 4 +- library/core/src/slice/mod.rs | 413 +- library/core/src/str/converts.rs | 40 +- library/core/src/str/iter.rs | 25 + library/core/src/str/mod.rs | 132 +- library/core/src/sync/atomic.rs | 13 +- library/core/src/task/wake.rs | 17 +- library/core/src/tuple.rs | 145 +- library/core/tests/any.rs | 2 +- library/core/tests/array.rs | 4 +- library/core/tests/ascii.rs | 10 + library/core/tests/async_iter/mod.rs | 16 + library/core/tests/atomic.rs | 2 +- library/core/tests/cell.rs | 16 +- library/core/tests/error.rs | 2 +- library/core/tests/fmt/mod.rs | 8 +- library/core/tests/hash/mod.rs | 6 +- library/core/tests/intrinsics.rs | 6 +- library/core/tests/iter/adapters/chain.rs | 15 +- library/core/tests/iter/adapters/flatten.rs | 2 +- library/core/tests/iter/adapters/step_by.rs | 29 +- library/core/tests/iter/adapters/take.rs | 5 +- library/core/tests/iter/adapters/zip.rs | 2 +- library/core/tests/iter/range.rs | 10 + library/core/tests/iter/traits/iterator.rs | 13 +- library/core/tests/lib.rs | 10 +- library/core/tests/net/ip_addr.rs | 30 +- library/core/tests/option.rs | 40 +- library/core/tests/ptr.rs | 54 +- library/core/tests/slice.rs | 60 +- library/core/tests/time.rs | 24 +- library/panic_abort/src/lib.rs | 5 + library/panic_abort/src/zkvm.rs | 24 + library/panic_unwind/src/seh.rs | 4 + library/proc_macro/src/lib.rs | 24 + library/rtstartup/rsbegin.rs | 1 + library/rtstartup/rsend.rs | 1 + library/std/Cargo.toml | 6 +- library/std/build.rs | 1 + library/std/src/alloc.rs | 6 +- library/std/src/backtrace.rs | 6 +- library/std/src/collections/hash/map.rs | 107 + library/std/src/collections/hash/set.rs | 70 + library/std/src/collections/hash/set/tests.rs | 2 +- library/std/src/f32.rs | 4 +- library/std/src/f64.rs | 4 +- library/std/src/fs.rs | 26 +- library/std/src/fs/tests.rs | 6 +- library/std/src/io/buffered/bufreader.rs | 1 + library/std/src/io/error.rs | 36 +- library/std/src/io/error/tests.rs | 4 +- library/std/src/io/impls.rs | 5 +- library/std/src/io/mod.rs | 38 +- library/std/src/io/stdio.rs | 11 +- library/std/src/io/util.rs | 10 + library/std/src/lib.rs | 10 +- library/std/src/num.rs | 13 +- library/std/src/num/benches.rs | 9 - library/std/src/os/linux/process.rs | 3 +- library/std/src/os/unix/fs.rs | 2 +- library/std/src/os/unix/net/listener.rs | 27 +- library/std/src/os/windows/fs.rs | 2 +- library/std/src/os/windows/process.rs | 56 +- library/std/src/os/xous/ffi.rs | 22 +- library/std/src/os/xous/services.rs | 6 + library/std/src/os/xous/services/dns.rs | 28 + library/std/src/os/xous/services/log.rs | 11 + library/std/src/os/xous/services/net.rs | 95 + library/std/src/panic.rs | 2 +- library/std/src/panicking.rs | 2 + library/std/src/process.rs | 79 + library/std/src/sync/lazy_lock.rs | 21 +- library/std/src/sync/mutex.rs | 4 +- library/std/src/sync/rwlock.rs | 4 +- library/std/src/sys/cmath/builtins.rs | 35 + library/std/src/sys/cmath/mod.rs | 11 + library/std/src/sys/cmath/windows.rs | 94 + library/std/src/sys/common/alloc.rs | 58 - library/std/src/sys/hermit/alloc.rs | 31 - library/std/src/sys/hermit/fs.rs | 468 - library/std/src/sys/hermit/mod.rs | 207 - library/std/src/sys/hermit/net.rs | 372 - library/std/src/sys/hermit/os.rs | 206 - library/std/src/sys/hermit/stdio.rs | 120 - library/std/src/sys/hermit/thread.rs | 112 - library/std/src/sys/mod.rs | 129 +- library/std/src/sys/os_str/bytes.rs | 287 + .../{unix/os_str => os_str/bytes}/tests.rs | 0 library/std/src/sys/os_str/mod.rs | 12 + .../sys/{windows/os_str.rs => os_str/wtf8.rs} | 0 library/std/src/sys/pal/common/alloc.rs | 58 + library/std/src/sys/{ => pal}/common/mod.rs | 0 .../sys/{ => pal}/common/small_c_string.rs | 0 library/std/src/sys/{ => pal}/common/tests.rs | 0 .../common/thread_local/fast_local.rs | 2 + .../sys/{ => pal}/common/thread_local/mod.rs | 0 .../{ => pal}/common/thread_local/os_local.rs | 0 .../common/thread_local/static_local.rs | 2 + library/std/src/sys/pal/hermit/alloc.rs | 31 + library/std/src/sys/{ => pal}/hermit/args.rs | 0 library/std/src/sys/{ => pal}/hermit/env.rs | 0 library/std/src/sys/{ => pal}/hermit/fd.rs | 2 +- library/std/src/sys/pal/hermit/fs.rs | 466 + library/std/src/sys/{ => pal}/hermit/futex.rs | 0 .../std/src/sys/{ => pal}/hermit/memchr.rs | 0 library/std/src/sys/pal/hermit/mod.rs | 203 + library/std/src/sys/pal/hermit/net.rs | 372 + library/std/src/sys/pal/hermit/os.rs | 206 + library/std/src/sys/pal/hermit/stdio.rs | 120 + library/std/src/sys/pal/hermit/thread.rs | 112 + .../sys/{ => pal}/hermit/thread_local_dtor.rs | 0 library/std/src/sys/{ => pal}/hermit/time.rs | 6 +- library/std/src/sys/{ => pal}/itron/abi.rs | 0 .../std/src/sys/{ => pal}/itron/condvar.rs | 0 library/std/src/sys/{ => pal}/itron/error.rs | 0 library/std/src/sys/{ => pal}/itron/mutex.rs | 0 library/std/src/sys/{ => pal}/itron/spin.rs | 0 library/std/src/sys/{ => pal}/itron/task.rs | 0 library/std/src/sys/{ => pal}/itron/thread.rs | 0 .../src/sys/{ => pal}/itron/thread_parking.rs | 0 library/std/src/sys/{ => pal}/itron/time.rs | 0 .../std/src/sys/{ => pal}/itron/time/tests.rs | 0 library/std/src/sys/pal/mod.rs | 126 + library/std/src/sys/{ => pal}/sgx/abi/entry.S | 0 library/std/src/sys/{ => pal}/sgx/abi/mem.rs | 0 library/std/src/sys/{ => pal}/sgx/abi/mod.rs | 0 .../std/src/sys/{ => pal}/sgx/abi/panic.rs | 0 .../std/src/sys/{ => pal}/sgx/abi/reloc.rs | 0 .../std/src/sys/{ => pal}/sgx/abi/thread.rs | 0 .../std/src/sys/{ => pal}/sgx/abi/tls/mod.rs | 0 .../sys/{ => pal}/sgx/abi/tls/sync_bitset.rs | 0 .../sgx/abi/tls/sync_bitset/tests.rs | 0 .../src/sys/pal/sgx/abi/usercalls/alloc.rs | 819 ++ .../sys/{ => pal}/sgx/abi/usercalls/mod.rs | 0 .../sys/{ => pal}/sgx/abi/usercalls/raw.rs | 0 .../sys/{ => pal}/sgx/abi/usercalls/tests.rs | 0 library/std/src/sys/pal/sgx/alloc.rs | 98 + library/std/src/sys/{ => pal}/sgx/args.rs | 0 library/std/src/sys/{ => pal}/sgx/condvar.rs | 0 library/std/src/sys/{ => pal}/sgx/env.rs | 0 library/std/src/sys/{ => pal}/sgx/fd.rs | 0 library/std/src/sys/{ => pal}/sgx/memchr.rs | 0 library/std/src/sys/pal/sgx/mod.rs | 171 + library/std/src/sys/{ => pal}/sgx/mutex.rs | 0 library/std/src/sys/{ => pal}/sgx/net.rs | 0 library/std/src/sys/{ => pal}/sgx/os.rs | 0 library/std/src/sys/{ => pal}/sgx/path.rs | 0 library/std/src/sys/{ => pal}/sgx/rwlock.rs | 0 .../std/src/sys/{ => pal}/sgx/rwlock/tests.rs | 0 library/std/src/sys/{ => pal}/sgx/stdio.rs | 0 library/std/src/sys/{ => pal}/sgx/thread.rs | 0 .../src/sys/{ => pal}/sgx/thread_local_key.rs | 0 .../src/sys/{ => pal}/sgx/thread_parking.rs | 0 library/std/src/sys/{ => pal}/sgx/time.rs | 0 .../src/sys/{ => pal}/sgx/waitqueue/mod.rs | 0 .../sys/{ => pal}/sgx/waitqueue/spin_mutex.rs | 0 .../sgx/waitqueue/spin_mutex/tests.rs | 0 .../src/sys/{ => pal}/sgx/waitqueue/tests.rs | 0 .../{ => pal}/sgx/waitqueue/unsafe_list.rs | 0 .../sgx/waitqueue/unsafe_list/tests.rs | 0 library/std/src/sys/{ => pal}/solid/abi/fs.rs | 0 .../std/src/sys/{ => pal}/solid/abi/mod.rs | 0 .../src/sys/{ => pal}/solid/abi/sockets.rs | 0 library/std/src/sys/{ => pal}/solid/alloc.rs | 0 library/std/src/sys/{ => pal}/solid/env.rs | 0 library/std/src/sys/{ => pal}/solid/error.rs | 0 library/std/src/sys/{ => pal}/solid/fs.rs | 0 library/std/src/sys/{ => pal}/solid/io.rs | 0 library/std/src/sys/{ => pal}/solid/memchr.rs | 0 library/std/src/sys/pal/solid/mod.rs | 93 + library/std/src/sys/pal/solid/net.rs | 435 + library/std/src/sys/{ => pal}/solid/os.rs | 0 library/std/src/sys/{ => pal}/solid/path.rs | 0 library/std/src/sys/{ => pal}/solid/rwlock.rs | 0 library/std/src/sys/{ => pal}/solid/stdio.rs | 0 .../sys/{ => pal}/solid/thread_local_dtor.rs | 0 .../sys/{ => pal}/solid/thread_local_key.rs | 0 library/std/src/sys/{ => pal}/solid/time.rs | 0 library/std/src/sys/{ => pal}/teeos/alloc.rs | 0 .../src/sys/{ => pal}/teeos/locks/condvar.rs | 0 .../std/src/sys/{ => pal}/teeos/locks/mod.rs | 0 .../src/sys/{ => pal}/teeos/locks/rwlock.rs | 0 library/std/src/sys/pal/teeos/mod.rs | 163 + library/std/src/sys/{ => pal}/teeos/net.rs | 0 library/std/src/sys/{ => pal}/teeos/os.rs | 0 library/std/src/sys/{ => pal}/teeos/rand.rs | 0 library/std/src/sys/{ => pal}/teeos/stdio.rs | 0 library/std/src/sys/{ => pal}/teeos/thread.rs | 0 .../sys/{ => pal}/teeos/thread_local_dtor.rs | 0 library/std/src/sys/pal/uefi/alloc.rs | 49 + library/std/src/sys/pal/uefi/args.rs | 158 + library/std/src/sys/{ => pal}/uefi/env.rs | 0 library/std/src/sys/{ => pal}/uefi/helpers.rs | 0 library/std/src/sys/pal/uefi/mod.rs | 238 + library/std/src/sys/{ => pal}/uefi/os.rs | 0 library/std/src/sys/{ => pal}/uefi/path.rs | 0 library/std/src/sys/{ => pal}/uefi/stdio.rs | 0 library/std/src/sys/{ => pal}/uefi/tests.rs | 0 library/std/src/sys/{ => pal}/unix/alloc.rs | 0 library/std/src/sys/{ => pal}/unix/android.rs | 0 library/std/src/sys/pal/unix/args.rs | 289 + library/std/src/sys/{ => pal}/unix/env.rs | 0 library/std/src/sys/{ => pal}/unix/fd.rs | 0 .../std/src/sys/{ => pal}/unix/fd/tests.rs | 0 library/std/src/sys/pal/unix/fs.rs | 2162 ++++ library/std/src/sys/{ => pal}/unix/futex.rs | 0 library/std/src/sys/{ => pal}/unix/io.rs | 0 .../std/src/sys/{ => pal}/unix/kernel_copy.rs | 0 .../sys/{ => pal}/unix/kernel_copy/tests.rs | 0 library/std/src/sys/{ => pal}/unix/l4re.rs | 0 .../sys/{ => pal}/unix/locks/fuchsia_mutex.rs | 0 .../sys/{ => pal}/unix/locks/futex_condvar.rs | 0 .../sys/{ => pal}/unix/locks/futex_mutex.rs | 0 .../sys/{ => pal}/unix/locks/futex_rwlock.rs | 0 .../std/src/sys/{ => pal}/unix/locks/mod.rs | 0 .../{ => pal}/unix/locks/pthread_condvar.rs | 0 .../sys/{ => pal}/unix/locks/pthread_mutex.rs | 0 .../{ => pal}/unix/locks/pthread_rwlock.rs | 0 library/std/src/sys/{ => pal}/unix/memchr.rs | 0 library/std/src/sys/pal/unix/mod.rs | 440 + library/std/src/sys/pal/unix/net.rs | 591 + library/std/src/sys/{ => pal}/unix/os.rs | 0 .../std/src/sys/{ => pal}/unix/os/tests.rs | 0 library/std/src/sys/{ => pal}/unix/path.rs | 0 library/std/src/sys/{ => pal}/unix/pipe.rs | 0 .../std/src/sys/{ => pal}/unix/process/mod.rs | 0 .../{ => pal}/unix/process/process_common.rs | 2 +- .../unix/process/process_common/tests.rs | 0 .../{ => pal}/unix/process/process_fuchsia.rs | 0 .../{ => pal}/unix/process/process_unix.rs | 12 +- .../pal/unix/process/process_unix/tests.rs | 116 + .../unix/process/process_unsupported.rs | 7 +- .../process_unsupported/wait_status.rs | 5 +- .../process_unsupported/wait_status/tests.rs | 0 .../{ => pal}/unix/process/process_vxworks.rs | 7 +- .../src/sys/{ => pal}/unix/process/zircon.rs | 0 library/std/src/sys/{ => pal}/unix/rand.rs | 25 +- .../src/sys/{ => pal}/unix/stack_overflow.rs | 2 +- library/std/src/sys/{ => pal}/unix/stdio.rs | 0 library/std/src/sys/pal/unix/thread.rs | 992 ++ .../sys/{ => pal}/unix/thread_local_dtor.rs | 9 +- .../sys/{ => pal}/unix/thread_local_key.rs | 0 .../{ => pal}/unix/thread_parking/darwin.rs | 0 .../sys/{ => pal}/unix/thread_parking/mod.rs | 0 .../{ => pal}/unix/thread_parking/netbsd.rs | 0 .../{ => pal}/unix/thread_parking/pthread.rs | 0 library/std/src/sys/{ => pal}/unix/time.rs | 0 library/std/src/sys/{ => pal}/unix/weak.rs | 0 .../src/sys/{ => pal}/unsupported/alloc.rs | 0 .../std/src/sys/{ => pal}/unsupported/args.rs | 0 .../src/sys/{ => pal}/unsupported/common.rs | 0 .../std/src/sys/{ => pal}/unsupported/env.rs | 0 .../std/src/sys/{ => pal}/unsupported/fs.rs | 0 .../std/src/sys/{ => pal}/unsupported/io.rs | 0 .../{ => pal}/unsupported/locks/condvar.rs | 0 .../sys/{ => pal}/unsupported/locks/mod.rs | 0 .../sys/{ => pal}/unsupported/locks/mutex.rs | 0 .../sys/{ => pal}/unsupported/locks/rwlock.rs | 0 library/std/src/sys/pal/unsupported/mod.rs | 25 + library/std/src/sys/pal/unsupported/net.rs | 367 + .../std/src/sys/{ => pal}/unsupported/once.rs | 0 .../std/src/sys/{ => pal}/unsupported/os.rs | 0 .../std/src/sys/{ => pal}/unsupported/pipe.rs | 0 .../src/sys/{ => pal}/unsupported/process.rs | 0 .../src/sys/{ => pal}/unsupported/stdio.rs | 0 .../src/sys/{ => pal}/unsupported/thread.rs | 0 .../unsupported/thread_local_dtor.rs | 0 .../{ => pal}/unsupported/thread_local_key.rs | 0 .../{ => pal}/unsupported/thread_parking.rs | 0 .../std/src/sys/{ => pal}/unsupported/time.rs | 0 library/std/src/sys/{ => pal}/wasi/args.rs | 0 library/std/src/sys/{ => pal}/wasi/env.rs | 0 library/std/src/sys/{ => pal}/wasi/fd.rs | 0 library/std/src/sys/{ => pal}/wasi/fs.rs | 0 library/std/src/sys/{ => pal}/wasi/io.rs | 0 library/std/src/sys/pal/wasi/mod.rs | 194 + library/std/src/sys/pal/wasi/net.rs | 541 + library/std/src/sys/pal/wasi/os.rs | 301 + library/std/src/sys/{ => pal}/wasi/stdio.rs | 0 library/std/src/sys/{ => pal}/wasi/thread.rs | 0 library/std/src/sys/{ => pal}/wasi/time.rs | 0 library/std/src/sys/{ => pal}/wasm/alloc.rs | 0 .../src/sys/{ => pal}/wasm/atomics/futex.rs | 0 .../src/sys/{ => pal}/wasm/atomics/thread.rs | 0 library/std/src/sys/{ => pal}/wasm/env.rs | 0 library/std/src/sys/pal/wasm/mod.rs | 77 + library/std/src/sys/pal/windows/alloc.rs | 249 + .../src/sys/{ => pal}/windows/alloc/tests.rs | 0 library/std/src/sys/pal/windows/api.rs | 157 + library/std/src/sys/pal/windows/args.rs | 460 + library/std/src/sys/pal/windows/args/tests.rs | 91 + library/std/src/sys/{ => pal}/windows/c.rs | 4 +- .../sys/{ => pal}/windows/c/windows_sys.lst | 0 .../sys/{ => pal}/windows/c/windows_sys.rs | 0 .../std/src/sys/{ => pal}/windows/compat.rs | 0 library/std/src/sys/{ => pal}/windows/env.rs | 0 library/std/src/sys/pal/windows/fs.rs | 1560 +++ .../std/src/sys/{ => pal}/windows/handle.rs | 0 .../src/sys/{ => pal}/windows/handle/tests.rs | 0 library/std/src/sys/pal/windows/io.rs | 147 + .../std/src/sys/pal/windows/locks/condvar.rs | 50 + .../src/sys/{ => pal}/windows/locks/mod.rs | 0 .../src/sys/{ => pal}/windows/locks/mutex.rs | 0 .../src/sys/{ => pal}/windows/locks/rwlock.rs | 0 .../std/src/sys/{ => pal}/windows/memchr.rs | 0 library/std/src/sys/pal/windows/mod.rs | 355 + library/std/src/sys/pal/windows/net.rs | 497 + library/std/src/sys/{ => pal}/windows/os.rs | 0 .../std/src/sys/{ => pal}/windows/os/tests.rs | 0 library/std/src/sys/{ => pal}/windows/path.rs | 0 .../src/sys/{ => pal}/windows/path/tests.rs | 0 library/std/src/sys/{ => pal}/windows/pipe.rs | 0 .../std/src/sys/{ => pal}/windows/process.rs | 0 .../sys/{ => pal}/windows/process/tests.rs | 0 library/std/src/sys/{ => pal}/windows/rand.rs | 0 .../sys/{ => pal}/windows/stack_overflow.rs | 0 .../{ => pal}/windows/stack_overflow_uwp.rs | 0 library/std/src/sys/pal/windows/stdio.rs | 462 + .../src/sys/{ => pal}/windows/stdio/tests.rs | 0 .../std/src/sys/{ => pal}/windows/thread.rs | 0 .../{ => pal}/windows/thread_local_dtor.rs | 0 .../sys/{ => pal}/windows/thread_local_key.rs | 0 .../windows/thread_local_key/tests.rs | 0 .../sys/{ => pal}/windows/thread_parking.rs | 0 library/std/src/sys/{ => pal}/windows/time.rs | 0 library/std/src/sys/pal/xous/alloc.rs | 70 + library/std/src/sys/pal/xous/locks/condvar.rs | 148 + .../std/src/sys/{ => pal}/xous/locks/mod.rs | 0 .../std/src/sys/{ => pal}/xous/locks/mutex.rs | 20 +- library/std/src/sys/pal/xous/locks/rwlock.rs | 74 + library/std/src/sys/pal/xous/mod.rs | 29 + library/std/src/sys/pal/xous/net/dns.rs | 127 + library/std/src/sys/pal/xous/net/mod.rs | 84 + .../std/src/sys/pal/xous/net/tcplistener.rs | 247 + library/std/src/sys/pal/xous/net/tcpstream.rs | 435 + library/std/src/sys/pal/xous/net/udp.rs | 471 + library/std/src/sys/{ => pal}/xous/os.rs | 0 library/std/src/sys/pal/xous/stdio.rs | 133 + library/std/src/sys/pal/xous/thread.rs | 148 + .../std/src/sys/pal/xous/thread_local_key.rs | 215 + .../std/src/sys/pal/xous/thread_parking.rs | 112 + library/std/src/sys/{ => pal}/xous/time.rs | 0 library/std/src/sys/pal/zkvm/abi.rs | 55 + library/std/src/sys/pal/zkvm/alloc.rs | 15 + library/std/src/sys/pal/zkvm/args.rs | 80 + library/std/src/sys/pal/zkvm/env.rs | 9 + library/std/src/sys/pal/zkvm/mod.rs | 93 + library/std/src/sys/pal/zkvm/os.rs | 139 + library/std/src/sys/pal/zkvm/stdio.rs | 64 + .../std/src/sys/pal/zkvm/thread_local_key.rs | 23 + .../std/src/sys/sgx/abi/usercalls/alloc.rs | 813 -- library/std/src/sys/sgx/alloc.rs | 98 - library/std/src/sys/sgx/mod.rs | 175 - library/std/src/sys/solid/mod.rs | 97 - library/std/src/sys/solid/net.rs | 435 - library/std/src/sys/teeos/mod.rs | 167 - library/std/src/sys/uefi/alloc.rs | 49 - library/std/src/sys/uefi/args.rs | 158 - library/std/src/sys/uefi/mod.rs | 242 - library/std/src/sys/unix/args.rs | 282 - library/std/src/sys/unix/cmath.rs | 37 - library/std/src/sys/unix/fs.rs | 2162 ---- library/std/src/sys/unix/mod.rs | 443 - library/std/src/sys/unix/net.rs | 591 - library/std/src/sys/unix/os_str.rs | 288 - .../sys/unix/process/process_unix/tests.rs | 100 - library/std/src/sys/unix/thread.rs | 1012 -- library/std/src/sys/unsupported/mod.rs | 29 - library/std/src/sys/unsupported/net.rs | 370 - library/std/src/sys/wasi/mod.rs | 198 - library/std/src/sys/wasi/net.rs | 544 - library/std/src/sys/wasi/os.rs | 301 - library/std/src/sys/wasm/mod.rs | 81 - library/std/src/sys/windows/alloc.rs | 247 - library/std/src/sys/windows/api.rs | 157 - library/std/src/sys/windows/args.rs | 379 - library/std/src/sys/windows/args/tests.rs | 91 - library/std/src/sys/windows/cmath.rs | 96 - library/std/src/sys/windows/fs.rs | 1528 --- library/std/src/sys/windows/io.rs | 161 - library/std/src/sys/windows/locks/condvar.rs | 50 - library/std/src/sys/windows/mod.rs | 357 - library/std/src/sys/windows/net.rs | 497 - library/std/src/sys/windows/stdio.rs | 462 - library/std/src/sys/xous/alloc.rs | 62 - library/std/src/sys/xous/locks/condvar.rs | 111 - library/std/src/sys/xous/locks/rwlock.rs | 72 - library/std/src/sys/xous/mod.rs | 36 - library/std/src/sys/xous/stdio.rs | 131 - library/std/src/sys/xous/thread.rs | 144 - library/std/src/sys/xous/thread_local_key.rs | 190 - library/std/src/sys/xous/thread_parking.rs | 94 - library/std/src/sys_common/once/mod.rs | 1 + library/std/src/thread/local.rs | 56 +- library/std/tests/process_spawning.rs | 2 +- library/std/tests/thread.rs | 22 + library/test/Cargo.toml | 3 - library/test/src/console.rs | 3 +- library/test/src/lib.rs | 24 +- library/unwind/src/lib.rs | 8 +- src/bootstrap/Cargo.lock | 343 +- src/bootstrap/Cargo.toml | 43 +- src/bootstrap/bootstrap.py | 43 +- src/bootstrap/configure.py | 1 - src/bootstrap/src/bin/main.rs | 83 +- src/bootstrap/src/core/build_steps/check.rs | 15 +- src/bootstrap/src/core/build_steps/compile.rs | 182 +- src/bootstrap/src/core/build_steps/dist.rs | 85 +- src/bootstrap/src/core/build_steps/doc.rs | 1 + src/bootstrap/src/core/build_steps/install.rs | 16 +- src/bootstrap/src/core/build_steps/run.rs | 5 +- src/bootstrap/src/core/build_steps/setup.rs | 2 +- .../build_steps/setup/tests.rs} | 0 src/bootstrap/src/core/build_steps/test.rs | 79 +- src/bootstrap/src/core/build_steps/tool.rs | 157 +- src/bootstrap/src/core/builder.rs | 56 +- .../builder.rs => core/builder/tests.rs} | 0 src/bootstrap/src/core/config/config.rs | 37 +- src/bootstrap/src/core/config/flags.rs | 4 + src/bootstrap/src/core/config/mod.rs | 2 + src/bootstrap/src/core/config/tests.rs | 233 + src/bootstrap/src/core/sanity.rs | 10 +- src/bootstrap/src/lib.rs | 41 +- src/bootstrap/src/tests/config.rs | 228 - src/bootstrap/src/tests/helpers.rs | 59 - src/bootstrap/src/utils/change_tracker.rs | 18 + .../src/utils/change_tracker/tests.rs | 10 + src/bootstrap/src/utils/helpers.rs | 20 +- src/bootstrap/src/utils/helpers/tests.rs | 116 + src/bootstrap/src/utils/metrics.rs | 2 +- .../disabled/dist-x86_64-haiku/Dockerfile | 2 + .../host-x86_64/dist-powerpc-linux/Dockerfile | 2 +- .../x86_64-gnu-integration/Dockerfile | 4 + .../x86_64-gnu-integration/build-fuchsia.sh | 2 +- .../host-x86_64/x86_64-gnu-llvm-17/Dockerfile | 1 + .../x86_64-gnu-tools/browser-ui-test.version | 2 +- .../x86_64-gnu-tools/checktools.sh | 2 - src/ci/docker/run.sh | 137 +- src/ci/github-actions/ci.yml | 18 +- src/ci/run.sh | 28 +- src/ci/scripts/dump-environment.sh | 16 + src/ci/scripts/install-ninja.sh | 4 +- src/ci/scripts/select-xcode.sh | 4 +- src/doc/edition-guide/src/SUMMARY.md | 1 + .../src/rust-2021/c-string-literals.md | 72 + .../src/unsorted/speed-vs-size.md | 6 + src/doc/nomicon/src/subtyping.md | 9 +- .../reference/src/expressions/literal-expr.md | 225 +- src/doc/reference/src/inline-assembly.md | 2 +- src/doc/reference/src/patterns.md | 12 + src/doc/reference/src/tokens.md | 150 +- src/doc/rust-by-example/src/attribute.md | 2 +- .../rust-by-example/src/conversion/string.md | 9 +- .../src/custom_types/structs.md | 3 +- .../error/multiple_error_types/wrap_error.md | 4 + src/doc/rust-by-example/src/hello/print.md | 1 - src/doc/rust-by-example/src/meta/doc.md | 9 +- src/doc/rust-by-example/src/std/str.md | 2 +- src/doc/rust-by-example/src/types/alias.md | 2 +- src/doc/rust.css | 22 + .../rustc-dev-guide/.github/workflows/ci.yml | 6 +- .../.github/workflows/date-check.yml | 4 +- src/doc/rustc-dev-guide/CODE_OF_CONDUCT.md | 2 +- .../examples/rustc-driver-example.rs | 17 +- .../rustc-driver-getting-diagnostics.rs | 78 +- .../rustc-driver-interacting-with-the-ast.rs | 15 +- src/doc/rustc-dev-guide/src/SUMMARY.md | 2 + .../rustc-dev-guide/src/about-this-guide.md | 2 +- .../src/appendix/background.md | 2 +- .../src/building/bootstrapping.md | 3 +- .../src/building/new-target.md | 2 +- .../src/building/prerequisites.md | 2 +- .../rustc-dev-guide/src/building/suggested.md | 2 +- .../rustc-dev-guide/src/compiler-debugging.md | 18 - src/doc/rustc-dev-guide/src/constants.md | 6 +- src/doc/rustc-dev-guide/src/contributing.md | 25 +- src/doc/rustc-dev-guide/src/diagnostics.md | 2 +- .../src/diagnostics/translation.md | 79 +- .../rustc-dev-guide/src/getting-started.md | 2 +- src/doc/rustc-dev-guide/src/hir.md | 8 + src/doc/rustc-dev-guide/src/identifiers.md | 2 +- .../rustc-dev-guide/src/incrcomp-debugging.md | 36 +- .../src/llvm-coverage-instrumentation.md | 30 + src/doc/rustc-dev-guide/src/mir/debugging.md | 5 - src/doc/rustc-dev-guide/src/mir/index.md | 2 +- .../src/panic-implementation.md | 7 +- .../src/pat-exhaustive-checking.md | 146 +- src/doc/rustc-dev-guide/src/rustbot.md | 5 +- .../src/rustc-driver-getting-diagnostics.md | 2 +- .../rustc-driver-interacting-with-the-ast.md | 2 +- .../src/rustdoc-internals/search.md | 244 + src/doc/rustc-dev-guide/src/salsa.md | 10 +- src/doc/rustc-dev-guide/src/sanitizers.md | 6 +- .../src/solve/trait-solving.md | 2 +- .../rustc-dev-guide/src/tests/compiletest.md | 6 +- src/doc/rustc-dev-guide/src/tests/perf.md | 12 +- src/doc/rustc-dev-guide/src/tests/running.md | 6 +- .../src/tests/suggest-tests.md | 2 +- src/doc/rustc-dev-guide/src/thir.md | 9 +- .../src/traits/canonicalization.md | 8 +- src/doc/rustc-dev-guide/src/traits/unsize.md | 9 +- src/doc/rustc-dev-guide/src/ty.md | 22 +- .../rustc-dev-guide/src/unsafety-checking.md | 79 + src/doc/rustc-dev-guide/src/walkthrough.md | 15 +- src/doc/rustc/src/SUMMARY.md | 2 + src/doc/rustc/src/command-line-arguments.md | 2 +- src/doc/rustc/src/platform-support.md | 28 +- .../csky-unknown-linux-gnuabiv2.md | 1 + src/doc/rustc/src/platform-support/esp-idf.md | 1 + .../hexagon-unknown-none-elf.md | 267 + .../riscv32im-risc0-zkvm-elf.md | 86 + .../riscv32imac-unknown-none-elf.md | 8 +- .../src/platform-support/unknown-uefi.md | 32 +- .../wasm32-wasi-preview1-threads.md | 2 +- src/doc/rustc/src/target-tier-policy.md | 2 + .../rustdoc/src/how-to-write-documentation.md | 16 + src/doc/rustdoc/src/lints.md | 4 +- .../rustdoc/src/read-documentation/search.md | 47 +- src/doc/style-guide/src/README.md | 84 + src/doc/style-guide/src/cargo.md | 6 +- src/doc/style-guide/src/editions.md | 6 + src/doc/style-guide/src/expressions.md | 55 +- src/doc/style-guide/src/items.md | 23 +- .../src/compiler-flags/check-cfg.md | 241 +- .../src/compiler-flags/env-set.md | 45 + .../unstable-book/src/compiler-flags/env.md | 45 - .../src/compiler-flags/remap-path-scope.md | 2 +- .../src/compiler-flags/shell-argfiles.md | 11 + .../asm-experimental-arch.md | 5 +- .../src/library-features/core-panic.md | 5 - src/etc/completions/x.py.fish | 2 + src/etc/completions/x.py.ps1 | 2 + src/etc/completions/x.py.sh | 8 +- src/etc/completions/x.py.zsh | 2 + src/etc/natvis/libcore.natvis | 39 +- src/etc/rust_analyzer_settings.json | 1 + src/librustdoc/clean/auto_trait.rs | 2 +- src/librustdoc/clean/blanket_impl.rs | 1 - src/librustdoc/clean/inline.rs | 4 +- src/librustdoc/clean/mod.rs | 87 +- src/librustdoc/clean/render_macro_matchers.rs | 4 +- src/librustdoc/clean/types.rs | 10 +- src/librustdoc/clean/utils.rs | 138 +- src/librustdoc/config.rs | 36 +- src/librustdoc/core.rs | 31 +- src/librustdoc/doctest.rs | 19 +- src/librustdoc/externalfiles.rs | 2 +- src/librustdoc/html/format.rs | 4 +- src/librustdoc/html/markdown.rs | 13 +- src/librustdoc/html/markdown/tests.rs | 60 +- src/librustdoc/html/render/context.rs | 3 +- src/librustdoc/html/render/mod.rs | 190 +- src/librustdoc/html/render/print_item.rs | 115 +- src/librustdoc/html/render/search_index.rs | 32 +- src/librustdoc/html/render/span_map.rs | 52 +- src/librustdoc/html/sources.rs | 2 +- src/librustdoc/html/static/css/noscript.css | 4 +- src/librustdoc/html/static/css/rustdoc.css | 198 +- src/librustdoc/html/static/js/externs.js | 56 + src/librustdoc/html/static/js/main.js | 9 +- src/librustdoc/html/static/js/search.js | 398 +- src/librustdoc/html/static/js/src-script.js | 44 +- src/librustdoc/html/static/js/storage.js | 10 +- src/librustdoc/html/templates/item_union.html | 14 +- src/librustdoc/html/templates/page.html | 17 +- src/librustdoc/json/conversions.rs | 5 + src/librustdoc/lib.rs | 20 +- src/librustdoc/lint.rs | 4 +- .../passes/check_custom_code_classes.rs | 7 +- .../passes/check_doc_test_visibility.rs | 4 +- .../passes/collect_intra_doc_links.rs | 114 +- src/librustdoc/passes/collect_trait_impls.rs | 2 +- src/librustdoc/passes/lint/bare_urls.rs | 2 +- .../passes/lint/check_code_block_syntax.rs | 8 +- src/librustdoc/passes/lint/html_tags.rs | 2 +- .../passes/lint/redundant_explicit_links.rs | 6 +- .../passes/lint/unescaped_backticks.rs | 2 +- src/librustdoc/passes/stripper.rs | 31 +- src/librustdoc/scrape_examples.rs | 4 +- src/librustdoc/theme.rs | 2 +- src/rustdoc-json-types/lib.rs | 3 +- src/stage0.json | 634 +- src/tools/build-manifest/src/main.rs | 1 + src/tools/cargo/.github/renovate.json5 | 10 +- src/tools/cargo/.github/workflows/main.yml | 16 +- src/tools/cargo/CHANGELOG.md | 220 +- src/tools/cargo/Cargo.lock | 546 +- src/tools/cargo/Cargo.toml | 71 +- src/tools/cargo/benches/benchsuite/Cargo.toml | 1 - src/tools/cargo/benches/capture/Cargo.toml | 1 - .../cargo/crates/cargo-platform/Cargo.toml | 8 +- .../cargo/crates/cargo-test-macro/Cargo.toml | 5 +- .../cargo/crates/cargo-test-macro/src/lib.rs | 4 +- .../crates/cargo-test-support/Cargo.toml | 1 - .../containers/sshd/Dockerfile | 2 +- .../crates/cargo-test-support/src/lib.rs | 3 +- .../crates/cargo-test-support/src/registry.rs | 9 + .../crates/cargo-util-schemas/Cargo.toml | 22 + .../crates/cargo-util-schemas/LICENSE-APACHE | 1 + .../crates/cargo-util-schemas/LICENSE-MIT | 1 + .../crates/cargo-util-schemas/src/core/mod.rs | 10 + .../src}/core/package_id_spec.rs | 113 +- .../src/core/partial_version.rs | 187 + .../src}/core/source_kind.rs | 0 .../cargo-util-schemas/src/lib.rs} | 0 .../cargo-util-schemas/src}/manifest.rs | 166 +- .../src/restricted_names.rs | 251 + src/tools/cargo/crates/cargo-util/Cargo.toml | 8 +- src/tools/cargo/crates/cargo-util/src/du.rs | 7 + src/tools/cargo/crates/crates-io/Cargo.toml | 7 +- src/tools/cargo/crates/crates-io/lib.rs | 4 +- src/tools/cargo/crates/home/Cargo.toml | 7 +- src/tools/cargo/crates/mdman/Cargo.toml | 1 - src/tools/cargo/crates/mdman/doc/out/mdman.md | 1 - src/tools/cargo/crates/mdman/src/format/md.rs | 6 +- .../cargo/crates/mdman/src/format/text.rs | 6 +- src/tools/cargo/crates/mdman/src/hbs.rs | 90 +- .../cargo/crates/mdman/tests/compare/links.md | 1 + .../crates/mdman/tests/compare/options.md | 1 + .../cargo/crates/mdman/tests/compare/vars.md | 1 + .../cargo/crates/resolver-tests/Cargo.toml | 2 +- .../cargo/crates/resolver-tests/src/lib.rs | 2 +- .../rustfix/{Changelog.md => CHANGELOG.md} | 0 src/tools/cargo/crates/rustfix/Cargo.toml | 10 +- .../crates/rustfix/{Readme.md => README.md} | 0 .../cargo/crates/rustfix/examples/fix-json.rs | 5 +- src/tools/cargo/crates/rustfix/src/lib.rs | 75 +- .../tests/everything/use-insert.fixed.rs | 9 + .../rustfix/tests/everything/use-insert.json | 3 + .../rustfix/tests/everything/use-insert.rs | 7 + .../crates/rustfix/tests/parse_and_replace.rs | 72 +- .../cargo/crates/semver-check/Cargo.toml | 1 - .../cargo/crates/xtask-build-man/Cargo.toml | 1 - .../cargo/crates/xtask-bump-check/Cargo.toml | 1 - .../crates/xtask-bump-check/src/xtask.rs | 1 + .../cargo/crates/xtask-stale-label/Cargo.toml | 1 - .../cargo-credential-1password/Cargo.toml | 7 +- .../cargo-credential-libsecret/Cargo.toml | 7 +- .../Cargo.toml | 7 +- .../cargo-credential-wincred/Cargo.toml | 7 +- .../credential/cargo-credential/Cargo.toml | 7 +- .../examples/stdout-redirected.rs | 2 +- .../cargo-credential/tests/examples.rs | 2 +- src/tools/cargo/publish.py | 1 + src/tools/cargo/src/bin/cargo/cli.rs | 42 +- src/tools/cargo/src/bin/cargo/commands/add.rs | 8 +- src/tools/cargo/src/bin/cargo/commands/doc.rs | 2 + .../cargo/src/bin/cargo/commands/install.rs | 6 +- .../cargo/src/bin/cargo/commands/rustdoc.rs | 24 +- .../cargo/src/bin/cargo/commands/test.rs | 2 +- src/tools/cargo/src/bin/cargo/main.rs | 2 +- .../src/cargo/core/compiler/build_config.rs | 4 +- .../src/cargo/core/compiler/compilation.rs | 8 +- .../compiler/context/compilation_files.rs | 15 +- .../src/cargo/core/compiler/context/mod.rs | 47 +- .../src/cargo/core/compiler/custom_build.rs | 221 +- .../core/compiler/fingerprint/dirty_reason.rs | 2 +- .../cargo/core/compiler/future_incompat.rs | 14 +- .../cargo/src/cargo/core/compiler/mod.rs | 90 +- .../cargo/src/cargo/core/compiler/rustdoc.rs | 25 + .../cargo/src/cargo/core/compiler/timings.rs | 2 +- .../cargo/core/compiler/unit_dependencies.rs | 2 +- src/tools/cargo/src/cargo/core/features.rs | 269 +- .../src/cargo/core/global_cache_tracker.rs | 5 +- src/tools/cargo/src/cargo/core/manifest.rs | 4 +- src/tools/cargo/src/cargo/core/mod.rs | 2 +- src/tools/cargo/src/cargo/core/package.rs | 8 +- src/tools/cargo/src/cargo/core/profiles.rs | 96 +- .../cargo/src/cargo/core/resolver/errors.rs | 3 +- .../src/cargo/core/resolver/version_prefs.rs | 14 +- src/tools/cargo/src/cargo/core/source_id.rs | 13 +- src/tools/cargo/src/cargo/core/summary.rs | 4 +- src/tools/cargo/src/cargo/core/workspace.rs | 4 +- src/tools/cargo/src/cargo/lib.rs | 7 +- .../src/cargo/ops/cargo_add/crate_spec.rs | 2 +- .../cargo/src/cargo/ops/cargo_add/mod.rs | 4 +- .../cargo/src/cargo/ops/cargo_compile/mod.rs | 25 +- .../src/cargo/ops/cargo_compile/packages.rs | 2 +- src/tools/cargo/src/cargo/ops/cargo_doc.rs | 67 +- .../src/cargo/ops/cargo_generate_lockfile.rs | 2 +- .../cargo/src/cargo/ops/cargo_install.rs | 4 +- src/tools/cargo/src/cargo/ops/cargo_new.rs | 152 +- .../src/cargo/ops/cargo_output_metadata.rs | 40 +- src/tools/cargo/src/cargo/ops/fix.rs | 276 +- src/tools/cargo/src/cargo/ops/mod.rs | 2 +- src/tools/cargo/src/cargo/ops/resolve.rs | 2 +- src/tools/cargo/src/cargo/ops/tree/mod.rs | 4 +- src/tools/cargo/src/cargo/ops/vendor.rs | 2 + src/tools/cargo/src/cargo/sources/git/mod.rs | 13 +- .../cargo/src/cargo/sources/git/oxide.rs | 7 +- .../cargo/src/cargo/sources/git/source.rs | 107 +- .../cargo/src/cargo/sources/git/utils.rs | 103 +- .../cargo/src/cargo/sources/registry/index.rs | 2 +- .../cargo/src/cargo/sources/registry/mod.rs | 6 +- .../src/cargo/sources/registry/remote.rs | 3 +- .../cargo/src/cargo/util/command_prelude.rs | 6 +- src/tools/cargo/src/cargo/util/config/mod.rs | 14 +- .../cargo/src/cargo/util/config/target.rs | 6 +- .../cargo/src/cargo/util/diagnostic_server.rs | 2 +- .../cargo/src/cargo/util/machine_message.rs | 12 +- src/tools/cargo/src/cargo/util/mod.rs | 29 +- src/tools/cargo/src/cargo/util/semver_ext.rs | 26 +- .../cargo/src/cargo/util/toml/embedded.rs | 784 +- src/tools/cargo/src/cargo/util/toml/mod.rs | 154 +- .../cargo/src/cargo/util/toml/targets.rs | 23 +- .../cargo/src/cargo/util_schemas/core/mod.rs | 6 - .../cargo/util_schemas/restricted_names.rs | 218 - src/tools/cargo/src/cargo/util_semver.rs | 195 - src/tools/cargo/src/doc/contrib/src/team.md | 4 +- src/tools/cargo/src/doc/man/cargo-add.md | 16 + src/tools/cargo/src/doc/man/cargo-install.md | 6 +- src/tools/cargo/src/doc/man/cargo-metadata.md | 31 +- src/tools/cargo/src/doc/man/cargo-pkgid.md | 15 +- src/tools/cargo/src/doc/man/cargo-rustc.md | 1 + src/tools/cargo/src/doc/man/cargo-rustdoc.md | 2 + .../src/doc/man/generated_txt/cargo-add.txt | 17 + .../doc/man/generated_txt/cargo-install.txt | 11 +- .../doc/man/generated_txt/cargo-metadata.txt | 35 +- .../src/doc/man/generated_txt/cargo-pkgid.txt | 18 +- .../doc/man/generated_txt/cargo-rustdoc.txt | 12 + .../doc/man/includes/options-output-format.md | 9 + .../cargo/src/doc/src/commands/cargo-add.md | 20 +- .../cargo/src/doc/src/commands/cargo-bench.md | 22 - .../cargo/src/doc/src/commands/cargo-build.md | 24 - .../cargo/src/doc/src/commands/cargo-check.md | 23 - .../cargo/src/doc/src/commands/cargo-clean.md | 9 - .../cargo/src/doc/src/commands/cargo-doc.md | 21 - .../cargo/src/doc/src/commands/cargo-fetch.md | 8 - .../cargo/src/doc/src/commands/cargo-fix.md | 22 - .../src/commands/cargo-generate-lockfile.md | 6 - .../cargo/src/doc/src/commands/cargo-init.md | 5 - .../src/doc/src/commands/cargo-install.md | 24 +- .../doc/src/commands/cargo-locate-project.md | 5 - .../cargo/src/doc/src/commands/cargo-login.md | 5 - .../src/doc/src/commands/cargo-logout.md | 5 - .../src/doc/src/commands/cargo-metadata.md | 38 +- .../cargo/src/doc/src/commands/cargo-new.md | 5 - .../cargo/src/doc/src/commands/cargo-owner.md | 7 - .../src/doc/src/commands/cargo-package.md | 14 - .../cargo/src/doc/src/commands/cargo-pkgid.md | 21 +- .../src/doc/src/commands/cargo-publish.md | 15 - .../src/doc/src/commands/cargo-remove.md | 7 - .../cargo/src/doc/src/commands/cargo-run.md | 18 - .../cargo/src/doc/src/commands/cargo-rustc.md | 21 - .../src/doc/src/commands/cargo-rustdoc.md | 27 +- .../src/doc/src/commands/cargo-search.md | 6 - .../cargo/src/doc/src/commands/cargo-test.md | 24 - .../cargo/src/doc/src/commands/cargo-tree.md | 10 - .../src/doc/src/commands/cargo-uninstall.md | 5 - .../src/doc/src/commands/cargo-update.md | 6 - .../src/doc/src/commands/cargo-vendor.md | 6 - .../doc/src/commands/cargo-verify-project.md | 5 - .../cargo/src/doc/src/commands/cargo-yank.md | 7 - src/tools/cargo/src/doc/src/faq.md | 44 +- .../src/reference/build-script-examples.md | 34 +- .../src/doc/src/reference/build-scripts.md | 92 +- .../src/doc/src/reference/external-tools.md | 22 +- .../cargo/src/doc/src/reference/manifest.md | 12 +- .../src/doc/src/reference/registry-web-api.md | 2 +- .../cargo/src/doc/src/reference/resolver.md | 24 +- .../src/reference/specifying-dependencies.md | 2 +- .../cargo/src/doc/src/reference/unstable.md | 55 +- src/tools/cargo/src/etc/man/cargo-add.1 | 18 + src/tools/cargo/src/etc/man/cargo-install.1 | 6 +- src/tools/cargo/src/etc/man/cargo-metadata.1 | 30 +- src/tools/cargo/src/etc/man/cargo-pkgid.1 | 11 +- src/tools/cargo/src/etc/man/cargo-rustdoc.1 | 16 + src/tools/cargo/tests/build-std/main.rs | 4 +- .../cargo/tests/testsuite/alt_registry.rs | 61 +- src/tools/cargo/tests/testsuite/bad_config.rs | 90 +- src/tools/cargo/tests/testsuite/bench.rs | 2 +- .../cargo/tests/testsuite/binary_name.rs | 2 +- src/tools/cargo/tests/testsuite/build.rs | 116 +- .../cargo/tests/testsuite/build_script.rs | 357 +- .../cargo/tests/testsuite/build_script_env.rs | 8 +- .../testsuite/build_script_extra_link_arg.rs | 42 +- .../tests/testsuite/cargo/help/stdout.log | 2 +- src/tools/cargo/tests/testsuite/cargo/mod.rs | 1 + .../cargo/tests/testsuite/cargo/z_help/mod.rs | 13 + .../tests/testsuite/cargo/z_help/stderr.log | 0 .../tests/testsuite/cargo/z_help/stdout.log | 38 + .../git_multiple_packages_features/in | 1 + .../git_multiple_packages_features/mod.rs | 63 + .../out/Cargo.toml | 8 + .../git_multiple_packages_features/stderr.log | 5 + .../git_multiple_packages_features/stdout.log | 0 .../tests/testsuite/cargo_add/help/stdout.log | 4 +- .../cargo_add/invalid_manifest/stderr.log | 16 +- .../cargo/tests/testsuite/cargo_add/mod.rs | 1 + .../cargo/tests/testsuite/cargo_features.rs | 14 +- .../testsuite/cargo_install/help/stdout.log | 4 +- .../in/Cargo.toml | 9 + .../mod.rs | 2 +- .../out/Cargo.toml | 9 +- .../out/bar/Cargo.toml | 8 + .../out/{foo => bar}/src/main.rs | 0 .../out/foo/Cargo.toml | 21 - .../stderr.log | 2 +- .../testsuite/cargo_rustdoc/help/stdout.log | 1 + .../testsuite/cargo_test/help/stdout.log | 2 +- src/tools/cargo/tests/testsuite/check_cfg.rs | 36 +- src/tools/cargo/tests/testsuite/clean.rs | 2 +- src/tools/cargo/tests/testsuite/config.rs | 6 +- .../cargo/tests/testsuite/cross_compile.rs | 14 +- .../cargo/tests/testsuite/custom_target.rs | 2 +- src/tools/cargo/tests/testsuite/dep_info.rs | 2 +- .../cargo/tests/testsuite/diagnostics.rs | 32 + src/tools/cargo/tests/testsuite/doc.rs | 10 +- src/tools/cargo/tests/testsuite/features.rs | 60 +- src/tools/cargo/tests/testsuite/features2.rs | 12 +- .../tests/testsuite/features_namespaced.rs | 16 +- src/tools/cargo/tests/testsuite/fix.rs | 181 +- .../cargo/tests/testsuite/fix_n_times.rs | 510 + src/tools/cargo/tests/testsuite/freshness.rs | 20 +- .../tests/testsuite/future_incompat_report.rs | 2 +- src/tools/cargo/tests/testsuite/git.rs | 40 +- .../cargo/tests/testsuite/git_shallow.rs | 97 +- .../tests/testsuite/global_cache_tracker.rs | 2 +- src/tools/cargo/tests/testsuite/help.rs | 65 +- .../testsuite/inheritable_workspace_fields.rs | 61 +- src/tools/cargo/tests/testsuite/install.rs | 10 +- src/tools/cargo/tests/testsuite/jobserver.rs | 167 +- src/tools/cargo/tests/testsuite/lints.rs | 100 +- src/tools/cargo/tests/testsuite/main.rs | 3 + .../cargo/tests/testsuite/member_errors.rs | 27 +- src/tools/cargo/tests/testsuite/messages.rs | 4 +- src/tools/cargo/tests/testsuite/metabuild.rs | 6 +- src/tools/cargo/tests/testsuite/metadata.rs | 482 +- src/tools/cargo/tests/testsuite/new.rs | 3 +- src/tools/cargo/tests/testsuite/offline.rs | 5 +- src/tools/cargo/tests/testsuite/patch.rs | 7 +- src/tools/cargo/tests/testsuite/pkgid.rs | 143 + .../tests/testsuite/precise_pre_release.rs | 60 + src/tools/cargo/tests/testsuite/proc_macro.rs | 5 + .../cargo/tests/testsuite/profile_config.rs | 2 +- .../cargo/tests/testsuite/profile_custom.rs | 53 +- .../tests/testsuite/profile_overrides.rs | 4 +- .../tests/testsuite/profile_trim_paths.rs | 21 +- src/tools/cargo/tests/testsuite/profiles.rs | 104 +- src/tools/cargo/tests/testsuite/pub_priv.rs | 57 +- .../cargo/tests/testsuite/read_manifest.rs | 2 +- src/tools/cargo/tests/testsuite/run.rs | 18 +- .../cargo/tests/testsuite/rust_version.rs | 60 +- src/tools/cargo/tests/testsuite/rustdoc.rs | 83 + src/tools/cargo/tests/testsuite/script.rs | 12 +- src/tools/cargo/tests/testsuite/test.rs | 52 +- src/tools/cargo/tests/testsuite/unit_graph.rs | 8 +- src/tools/cargo/tests/testsuite/update.rs | 116 +- .../cargo/tests/testsuite/warn_on_failure.rs | 4 +- src/tools/cargo/tests/testsuite/workspaces.rs | 36 +- src/tools/cargo/triagebot.toml | 7 +- src/tools/clippy/.github/workflows/clippy.yml | 2 +- .../clippy/.github/workflows/clippy_bors.yml | 10 +- .../clippy/.github/workflows/clippy_dev.yml | 2 +- src/tools/clippy/.github/workflows/deploy.yml | 4 +- src/tools/clippy/.github/workflows/remark.yml | 2 +- src/tools/clippy/CHANGELOG.md | 77 +- src/tools/clippy/COPYRIGHT | 2 +- src/tools/clippy/Cargo.toml | 2 +- src/tools/clippy/LICENSE-APACHE | 2 +- src/tools/clippy/LICENSE-MIT | 2 +- src/tools/clippy/README.md | 4 +- src/tools/clippy/book/src/README.md | 2 +- src/tools/clippy/book/src/SUMMARY.md | 1 + .../continuous_integration/github_actions.md | 2 +- .../book/src/continuous_integration/gitlab.md | 16 + .../book/src/development/macro_expansions.md | 2 +- .../book/src/development/type_checking.md | 4 +- .../clippy/book/src/lint_configuration.md | 27 +- src/tools/clippy/clippy.toml | 4 +- src/tools/clippy/clippy_config/Cargo.toml | 2 +- src/tools/clippy/clippy_config/src/conf.rs | 94 +- src/tools/clippy/clippy_config/src/lib.rs | 1 + .../clippy/clippy_config/src/metadata.rs | 3 + src/tools/clippy/clippy_config/src/msrvs.rs | 16 +- src/tools/clippy/clippy_config/src/types.rs | 6 + src/tools/clippy/clippy_dev/Cargo.toml | 4 +- src/tools/clippy/clippy_dev/src/new_lint.rs | 2 +- .../clippy/clippy_dev/src/update_lints.rs | 5 +- src/tools/clippy/clippy_lints/Cargo.toml | 4 +- .../src/arc_with_non_send_sync.rs | 8 +- .../src/assertions_on_constants.rs | 15 +- .../clippy_lints/src/async_yields_async.rs | 102 +- .../clippy_lints/src/await_holding_invalid.rs | 19 +- .../clippy_lints/src/blocks_in_conditions.rs | 5 + .../clippy/clippy_lints/src/cargo/mod.rs | 6 +- .../src/cargo/multiple_crate_versions.rs | 19 +- .../clippy_lints/src/casts/cast_sign_loss.rs | 141 +- .../src/casts/unnecessary_cast.rs | 4 +- src/tools/clippy/clippy_lints/src/copies.rs | 3 +- .../clippy/clippy_lints/src/declared_lints.rs | 14 +- .../src/default_constructed_unit_structs.rs | 2 +- .../src/default_instead_of_iter_empty.rs | 13 +- .../src/default_numeric_fallback.rs | 53 +- .../src/default_union_representation.rs | 2 +- .../clippy/clippy_lints/src/dereference.rs | 1 + src/tools/clippy/clippy_lints/src/derive.rs | 10 +- .../clippy_lints/src/doc/missing_headers.rs | 2 +- .../src/doc/needless_doctest_main.rs | 8 +- .../src/empty_structs_with_brackets.rs | 102 - .../clippy_lints/src/empty_with_brackets.rs | 152 + src/tools/clippy/clippy_lints/src/entry.rs | 4 +- .../clippy_lints/src/equatable_if_let.rs | 3 +- .../clippy_lints/src/format_push_string.rs | 2 +- .../clippy/clippy_lints/src/from_over_into.rs | 11 +- .../src/if_then_some_else_none.rs | 7 +- .../clippy_lints/src/implicit_hasher.rs | 4 +- .../clippy_lints/src/implicit_return.rs | 2 +- .../src/implicit_saturating_add.rs | 3 +- .../src/implicit_saturating_sub.rs | 3 +- .../src/implied_bounds_in_impls.rs | 2 +- .../clippy_lints/src/indexing_slicing.rs | 19 +- .../src/ineffective_open_options.rs | 2 +- .../clippy/clippy_lints/src/inherent_impl.rs | 5 +- .../clippy_lints/src/instant_subtraction.rs | 5 +- .../clippy_lints/src/item_name_repetitions.rs | 5 + .../src/iter_without_into_iter.rs | 15 +- src/tools/clippy/clippy_lints/src/len_zero.rs | 9 +- src/tools/clippy/clippy_lints/src/lib.rs | 22 +- .../clippy_lints/src/lines_filter_map_ok.rs | 3 +- .../src/loops/explicit_iter_loop.rs | 2 +- .../clippy_lints/src/loops/infinite_loop.rs | 2 +- .../clippy_lints/src/loops/manual_flatten.rs | 2 +- .../clippy_lints/src/loops/manual_memcpy.rs | 2 +- .../src/loops/needless_range_loop.rs | 4 +- .../clippy_lints/src/loops/same_item_push.rs | 2 +- .../src/loops/while_let_on_iterator.rs | 2 +- .../clippy_lints/src/manual_async_fn.rs | 20 +- .../clippy/clippy_lints/src/manual_bits.rs | 3 +- .../clippy/clippy_lints/src/manual_clamp.rs | 4 +- .../clippy_lints/src/manual_hash_one.rs | 2 +- .../clippy_lints/src/manual_let_else.rs | 2 +- .../clippy_lints/src/manual_range_patterns.rs | 2 +- .../clippy/clippy_lints/src/manual_strip.rs | 2 +- .../src/matches/collapsible_match.rs | 12 +- .../clippy_lints/src/matches/manual_utils.rs | 4 +- .../src/matches/match_like_matches.rs | 23 +- .../src/matches/match_same_arms.rs | 11 +- .../clippy/clippy_lints/src/matches/mod.rs | 22 +- .../src/matches/needless_match.rs | 17 +- .../src/matches/redundant_guards.rs | 50 +- .../src/matches/redundant_pattern_match.rs | 150 +- .../clippy/clippy_lints/src/mem_replace.rs | 15 +- .../clippy_lints/src/methods/drain_collect.rs | 7 +- .../clippy_lints/src/methods/filter_map.rs | 92 +- .../clippy_lints/src/methods/get_first.rs | 3 +- .../clippy_lints/src/methods/iter_filter.rs | 197 + .../clippy_lints/src/methods/iter_kv_map.rs | 1 - .../clippy_lints/src/methods/iter_nth_zero.rs | 2 +- .../iter_on_single_or_empty_collections.rs | 12 +- .../src/methods/iter_out_of_bounds.rs | 2 +- .../src/methods/iter_overeager_cloned.rs | 8 +- .../src/methods/join_absolute_paths.rs | 2 +- .../src/methods/manual_is_variant_and.rs | 59 + .../methods/manual_saturating_arithmetic.rs | 2 +- .../clippy_lints/src/methods/map_clone.rs | 150 +- .../clippy/clippy_lints/src/methods/mod.rs | 259 +- .../clippy_lints/src/methods/open_options.rs | 230 +- .../src/methods/option_as_ref_cloned.rs | 24 + .../src/methods/option_as_ref_deref.rs | 2 +- .../src/methods/option_map_or_err_ok.rs | 2 +- .../src/methods/option_map_or_none.rs | 6 +- .../src/methods/option_map_unwrap_or.rs | 4 +- .../clippy_lints/src/methods/or_fun_call.rs | 3 +- .../src/methods/path_ends_with_ext.rs | 2 +- .../src/methods/redundant_as_str.rs | 9 +- .../src/methods/result_map_or_else_none.rs | 2 +- .../src/methods/search_is_some.rs | 8 +- .../src/methods/seek_from_current.rs | 3 +- .../seek_to_start_instead_of_rewind.rs | 3 +- .../src/methods/single_char_pattern.rs | 2 +- .../clippy_lints/src/methods/str_split.rs | 38 + .../src/methods/unnecessary_fold.rs | 5 +- .../src/methods/unnecessary_join.rs | 2 +- .../src/methods/unnecessary_sort_by.rs | 4 +- .../src/methods/unnecessary_to_owned.rs | 78 +- .../clippy_lints/src/methods/useless_asref.rs | 131 +- .../clippy/clippy_lints/src/methods/utils.rs | 1 + .../src/methods/vec_resize_to_zero.rs | 3 +- .../clippy_lints/src/min_ident_chars.rs | 4 +- .../src/missing_asserts_for_indexing.rs | 25 +- .../clippy_lints/src/missing_const_for_fn.rs | 2 +- .../src/missing_enforced_import_rename.rs | 14 +- .../src/mixed_read_write_in_expression.rs | 4 +- src/tools/clippy/clippy_lints/src/mut_key.rs | 3 +- .../clippy/clippy_lints/src/mutex_atomic.rs | 26 +- .../clippy/clippy_lints/src/needless_bool.rs | 38 +- .../clippy_lints/src/needless_continue.rs | 6 +- .../src/needless_pass_by_ref_mut.rs | 77 +- .../src/needless_question_mark.rs | 32 +- .../clippy/clippy_lints/src/no_effect.rs | 195 +- .../clippy/clippy_lints/src/non_copy_const.rs | 3 +- .../src/non_octal_unix_permissions.rs | 12 +- .../src/operators/arithmetic_side_effects.rs | 57 +- .../clippy_lints/src/operators/identity_op.rs | 208 +- .../clippy_lints/src/operators/ptr_eq.rs | 8 +- .../src/operators/verbose_bit_mask.rs | 5 +- .../clippy_lints/src/option_if_let_else.rs | 1 + .../clippy_lints/src/pub_underscore_fields.rs | 83 + .../clippy/clippy_lints/src/question_mark.rs | 42 +- .../clippy_lints/src/read_zero_byte_vec.rs | 118 +- .../clippy_lints/src/redundant_async_block.rs | 18 +- .../clippy_lints/src/redundant_clone.rs | 4 +- .../src/redundant_closure_call.rs | 28 +- .../clippy/clippy_lints/src/redundant_else.rs | 2 +- src/tools/clippy/clippy_lints/src/returns.rs | 2 +- .../src/semicolon_if_nothing_returned.rs | 6 + .../clippy/clippy_lints/src/serde_api.rs | 2 +- .../clippy/clippy_lints/src/single_call_fn.rs | 12 +- .../src/suspicious_operation_groupings.rs | 2 +- ...ead_local_initializer_can_be_made_const.rs | 127 + .../clippy/clippy_lints/src/trait_bounds.rs | 14 +- .../src/transmute/eager_transmute.rs | 119 + .../clippy/clippy_lints/src/transmute/mod.rs | 61 +- .../src/transmute/transmute_int_to_char.rs | 5 +- .../transmute/transmute_int_to_non_zero.rs | 56 +- .../src/transmute/transmute_ref_to_ref.rs | 8 +- .../src/transmute/transmute_undefined_repr.rs | 18 +- .../clippy_lints/src/transmute/utils.rs | 18 +- .../clippy/clippy_lints/src/types/mod.rs | 18 +- .../src/types/redundant_allocation.rs | 2 +- .../clippy/clippy_lints/src/types/vec_box.rs | 6 +- .../src/unconditional_recursion.rs | 421 + .../src/undocumented_unsafe_blocks.rs | 14 +- .../src/uninhabited_references.rs | 6 +- .../src/unit_types/let_unit_value.rs | 21 +- .../clippy_lints/src/unnested_or_patterns.rs | 4 +- .../clippy/clippy_lints/src/unused_async.rs | 26 +- .../clippy_lints/src/unused_io_amount.rs | 304 +- src/tools/clippy/clippy_lints/src/use_self.rs | 2 +- .../clippy/clippy_lints/src/utils/author.rs | 33 +- .../almost_standard_lint_formulation.rs | 2 +- .../internal_lints/compiler_lint_functions.rs | 1 - .../src/utils/internal_lints/invalid_paths.rs | 4 +- src/tools/clippy/clippy_lints/src/vec.rs | 17 +- .../clippy_lints/src/wildcard_imports.rs | 2 +- .../clippy_lints/src/zero_sized_map_values.rs | 4 +- src/tools/clippy/clippy_utils/Cargo.toml | 2 +- .../clippy/clippy_utils/src/ast_utils.rs | 20 +- src/tools/clippy/clippy_utils/src/attrs.rs | 29 +- src/tools/clippy/clippy_utils/src/consts.rs | 2 +- .../clippy/clippy_utils/src/diagnostics.rs | 12 +- .../clippy/clippy_utils/src/eager_or_lazy.rs | 13 +- src/tools/clippy/clippy_utils/src/higher.rs | 20 +- .../clippy/clippy_utils/src/hir_utils.rs | 36 +- src/tools/clippy/clippy_utils/src/lib.rs | 22 +- src/tools/clippy/clippy_utils/src/macros.rs | 2 +- .../clippy_utils/src/mir/possible_borrower.rs | 2 +- src/tools/clippy/clippy_utils/src/paths.rs | 8 + .../clippy_utils/src/qualify_min_const_fn.rs | 2 +- src/tools/clippy/clippy_utils/src/sugg.rs | 2 +- src/tools/clippy/clippy_utils/src/ty.rs | 33 +- .../clippy_utils/src/ty/type_certainty/mod.rs | 6 +- src/tools/clippy/clippy_utils/src/visitors.rs | 5 +- .../clippy/declare_clippy_lint/Cargo.toml | 2 +- src/tools/clippy/rust-toolchain | 2 +- src/tools/clippy/rustc_tools_util/README.md | 2 +- .../12145_with_dashes/Cargo.stderr | 6 + .../12145_with_dashes/Cargo.toml | 14 + .../12145_with_dashes/src/main.rs | 3 + .../12176_allow_duplicate_crates/Cargo.toml | 10 + .../12176_allow_duplicate_crates/clippy.toml | 1 + .../12176_allow_duplicate_crates/src/main.rs | 3 + .../ui-internal/check_formulation.stderr | 4 +- .../tests/ui-internal/disallow_span_lint.rs | 27 + .../ui-internal/disallow_span_lint.stderr | 17 + .../ui-internal/disallow_struct_span_lint.rs | 27 - .../disallow_struct_span_lint.stderr | 17 - .../all_pub_fields/clippy.toml | 1 + .../exported/clippy.toml | 1 + ...ub_underscore_fields.all_pub_fields.stderr | 60 + .../pub_underscore_fields.exported.stderr | 12 + .../pub_underscore_fields.rs | 66 + .../ui-toml/suppress_lint_in_const/test.rs | 3 +- .../suppress_lint_in_const/test.stderr | 18 +- .../ui-toml/toml_unknown_key/clippy.toml | 3 + .../toml_unknown_key/conf_unknown_key.rs | 1 + .../toml_unknown_key/conf_unknown_key.stderr | 83 +- src/tools/clippy/tests/ui/as_conversions.rs | 2 +- .../tests/ui/assertions_on_constants.rs | 7 + .../tests/ui/assertions_on_constants.stderr | 10 +- .../clippy/tests/ui/author/blocks.stdout | 10 +- src/tools/clippy/tests/ui/author/loop.rs | 6 +- .../tests/ui/author/macro_in_closure.stdout | 4 +- .../tests/ui/author/macro_in_loop.stdout | 2 + .../tests/ui/auxiliary/proc_macro_attr.rs | 34 +- .../tests/ui/blocks_in_conditions.fixed | 14 + .../clippy/tests/ui/blocks_in_conditions.rs | 14 + .../clippy/tests/ui/bool_comparison.fixed | 9 + src/tools/clippy/tests/ui/bool_comparison.rs | 9 + .../clippy/tests/ui/bool_comparison.stderr | 20 +- .../auxiliary/helper.rs | 1 - .../branches_sharing_code/shared_at_bottom.rs | 8 +- .../shared_at_bottom.stderr | 18 +- .../ui/branches_sharing_code/shared_at_top.rs | 8 +- .../shared_at_top.stderr | 6 +- .../branches_sharing_code/valid_if_blocks.rs | 12 +- .../valid_if_blocks.stderr | 18 +- src/tools/clippy/tests/ui/cast.rs | 49 + src/tools/clippy/tests/ui/cast.stderr | 74 +- .../clippy/tests/ui/collapsible_if.fixed | 3 +- src/tools/clippy/tests/ui/collapsible_if.rs | 3 +- .../clippy/tests/ui/collapsible_if.stderr | 18 +- .../clippy/tests/ui/crashes/ice-11939.rs | 14 + .../clippy/tests/ui/crashes/ice-12253.rs | 5 + src/tools/clippy/tests/ui/crashes/ice-5497.rs | 2 + .../clippy/tests/ui/crashes/ice-5497.stderr | 2 +- .../clippy/tests/ui/crashes/ice-6251.stderr | 2 +- .../clippy/tests/ui/crashes/ice-6252.stderr | 2 - src/tools/clippy/tests/ui/crashes/ice-6254.rs | 2 - .../clippy/tests/ui/crashes/ice-6254.stderr | 15 - .../clippy/tests/ui/crashes/ice-8821.fixed | 10 - src/tools/clippy/tests/ui/crashes/ice-8821.rs | 2 - .../clippy/tests/ui/crashes/ice-8821.stderr | 11 - .../clippy/tests/ui/crashes/ice-9041.stderr | 2 +- ...default_instead_of_iter_empty_no_std.fixed | 28 + .../default_instead_of_iter_empty_no_std.rs | 28 + ...efault_instead_of_iter_empty_no_std.stderr | 17 + .../ui/default_numeric_fallback_f64.fixed | 4 +- .../tests/ui/default_numeric_fallback_f64.rs | 2 - .../ui/default_numeric_fallback_f64.stderr | 26 +- .../ui/default_numeric_fallback_i32.fixed | 76 +- .../tests/ui/default_numeric_fallback_i32.rs | 74 +- .../ui/default_numeric_fallback_i32.stderr | 44 +- .../ui/derive_partial_eq_without_eq.fixed | 32 + .../tests/ui/derive_partial_eq_without_eq.rs | 32 + .../clippy/tests/ui/doc/doc-fixable.fixed | 4 +- src/tools/clippy/tests/ui/doc/doc-fixable.rs | 4 +- .../clippy/tests/ui/eager_transmute.fixed | 105 + src/tools/clippy/tests/ui/eager_transmute.rs | 105 + .../clippy/tests/ui/eager_transmute.stderr | 191 + .../empty_enum_variants_with_brackets.fixed | 27 + .../ui/empty_enum_variants_with_brackets.rs | 27 + .../empty_enum_variants_with_brackets.stderr | 36 + src/tools/clippy/tests/ui/format.fixed | 1 - src/tools/clippy/tests/ui/format.rs | 1 - src/tools/clippy/tests/ui/format.stderr | 30 +- .../ui/from_iter_instead_of_collect.fixed | 2 +- .../tests/ui/from_iter_instead_of_collect.rs | 2 +- .../clippy/tests/ui/from_over_into.fixed | 8 + src/tools/clippy/tests/ui/from_over_into.rs | 8 + .../clippy/tests/ui/from_over_into.stderr | 16 +- src/tools/clippy/tests/ui/get_unwrap.fixed | 3 +- src/tools/clippy/tests/ui/get_unwrap.rs | 3 +- src/tools/clippy/tests/ui/get_unwrap.stderr | 62 +- src/tools/clippy/tests/ui/identity_op.fixed | 94 +- src/tools/clippy/tests/ui/identity_op.rs | 94 +- src/tools/clippy/tests/ui/identity_op.stderr | 154 +- .../clippy/tests/ui/if_same_then_else.rs | 28 +- .../clippy/tests/ui/if_same_then_else.stderr | 69 +- .../clippy/tests/ui/if_same_then_else2.rs | 18 +- .../clippy/tests/ui/if_same_then_else2.stderr | 37 +- .../clippy/tests/ui/if_then_some_else_none.rs | 6 + .../tests/ui/if_then_some_else_none.stderr | 10 +- .../clippy/tests/ui/indexing_slicing_index.rs | 3 + .../tests/ui/indexing_slicing_index.stderr | 35 +- .../tests/ui/ineffective_open_options.fixed | 9 +- .../tests/ui/ineffective_open_options.rs | 9 +- .../clippy/tests/ui/infinite_loops.stderr | 30 +- .../clippy/tests/ui/into_iter_without_iter.rs | 39 + .../tests/ui/into_iter_without_iter.stderr | 38 +- .../clippy/tests/ui/iter_filter_is_ok.fixed | 205 + .../clippy/tests/ui/iter_filter_is_ok.rs | 205 + .../clippy/tests/ui/iter_filter_is_ok.stderr | 77 + .../clippy/tests/ui/iter_filter_is_some.fixed | 240 + .../clippy/tests/ui/iter_filter_is_some.rs | 240 + .../tests/ui/iter_filter_is_some.stderr | 65 + .../clippy/tests/ui/iter_without_into_iter.rs | 31 + .../tests/ui/iter_without_into_iter.stderr | 40 +- .../tests/ui/join_absolute_paths.stderr | 8 +- .../clippy/tests/ui/let_underscore_lock.rs | 1 + src/tools/clippy/tests/ui/let_unit.fixed | 50 +- src/tools/clippy/tests/ui/let_unit.rs | 48 +- src/tools/clippy/tests/ui/let_unit.stderr | 56 +- .../tests/ui/manual_is_variant_and.fixed | 51 + .../clippy/tests/ui/manual_is_variant_and.rs | 57 + .../tests/ui/manual_is_variant_and.stderr | 82 + .../ui/manual_let_else_question_mark.fixed | 21 + .../tests/ui/manual_let_else_question_mark.rs | 23 + .../ui/manual_let_else_question_mark.stderr | 10 +- src/tools/clippy/tests/ui/manual_ok_or.stderr | 2 +- .../ui/manual_saturating_arithmetic.stderr | 48 +- src/tools/clippy/tests/ui/map_clone.fixed | 57 + src/tools/clippy/tests/ui/map_clone.rs | 57 + src/tools/clippy/tests/ui/map_clone.stderr | 68 +- src/tools/clippy/tests/ui/match_same_arms2.rs | 4 +- .../clippy/tests/ui/match_same_arms2.stderr | 5 +- .../clippy/tests/ui/mem_replace_no_std.fixed | 82 + .../clippy/tests/ui/mem_replace_no_std.rs | 82 + .../clippy/tests/ui/mem_replace_no_std.stderr | 50 + src/tools/clippy/tests/ui/modulo_one.rs | 3 +- src/tools/clippy/tests/ui/modulo_one.stderr | 8 +- .../clippy/tests/ui/must_use_candidates.fixed | 7 +- .../clippy/tests/ui/must_use_candidates.rs | 7 +- .../tests/ui/must_use_candidates.stderr | 10 +- src/tools/clippy/tests/ui/mutex_atomic.rs | 19 +- src/tools/clippy/tests/ui/mutex_atomic.stderr | 30 +- src/tools/clippy/tests/ui/needless_if.fixed | 1 + src/tools/clippy/tests/ui/needless_if.rs | 1 + src/tools/clippy/tests/ui/needless_if.stderr | 14 +- .../tests/ui/needless_question_mark.fixed | 4 + .../clippy/tests/ui/needless_question_mark.rs | 4 + .../tests/ui/needless_question_mark.stderr | 8 +- .../clippy/tests/ui/needless_raw_string.fixed | 1 - .../clippy/tests/ui/needless_raw_string.rs | 1 - .../tests/ui/needless_raw_string.stderr | 14 +- .../tests/ui/needless_raw_string_hashes.fixed | 1 - .../tests/ui/needless_raw_string_hashes.rs | 1 - .../ui/needless_raw_string_hashes.stderr | 30 +- src/tools/clippy/tests/ui/no_effect.rs | 2 + src/tools/clippy/tests/ui/no_effect.stderr | 16 +- .../tests/ui/non_octal_unix_permissions.fixed | 4 + .../tests/ui/non_octal_unix_permissions.rs | 4 + .../ui/non_octal_unix_permissions.stderr | 2 +- src/tools/clippy/tests/ui/nonminimal_bool.rs | 7 +- .../clippy/tests/ui/nonminimal_bool.stderr | 26 +- .../clippy/tests/ui/numbered_fields.fixed | 1 - src/tools/clippy/tests/ui/numbered_fields.rs | 1 - .../clippy/tests/ui/numbered_fields.stderr | 4 +- src/tools/clippy/tests/ui/open_options.rs | 38 +- src/tools/clippy/tests/ui/open_options.stderr | 34 +- .../tests/ui/open_options_fixable.fixed | 7 + .../clippy/tests/ui/open_options_fixable.rs | 7 + .../tests/ui/open_options_fixable.stderr | 14 + .../tests/ui/option_as_ref_cloned.fixed | 21 + .../clippy/tests/ui/option_as_ref_cloned.rs | 21 + .../tests/ui/option_as_ref_cloned.stderr | 37 + .../tests/ui/option_as_ref_deref.stderr | 36 +- .../clippy/tests/ui/option_filter_map.fixed | 6 + .../clippy/tests/ui/option_filter_map.rs | 8 + .../clippy/tests/ui/option_filter_map.stderr | 16 +- .../clippy/tests/ui/option_if_let_else.fixed | 1 - .../clippy/tests/ui/option_if_let_else.rs | 1 - .../clippy/tests/ui/option_if_let_else.stderr | 50 +- .../tests/ui/option_map_or_err_ok.stderr | 2 +- .../clippy/tests/ui/option_map_or_none.stderr | 10 +- src/tools/clippy/tests/ui/ptr_eq_no_std.fixed | 49 + src/tools/clippy/tests/ui/ptr_eq_no_std.rs | 49 + .../clippy/tests/ui/ptr_eq_no_std.stderr | 17 + .../clippy/tests/ui/read_zero_byte_vec.rs | 29 +- .../clippy/tests/ui/read_zero_byte_vec.stderr | 34 +- .../clippy/tests/ui/redundant_as_str.fixed | 2 +- src/tools/clippy/tests/ui/redundant_as_str.rs | 2 +- .../tests/ui/redundant_async_block.fixed | 8 +- .../clippy/tests/ui/redundant_async_block.rs | 8 +- ...dundant_pattern_matching_if_let_true.fixed | 38 + .../redundant_pattern_matching_if_let_true.rs | 38 + ...undant_pattern_matching_if_let_true.stderr | 47 + .../redundant_pattern_matching_ipaddr.fixed | 6 + .../ui/redundant_pattern_matching_ipaddr.rs | 6 + .../redundant_pattern_matching_ipaddr.stderr | 44 +- .../ui/redundant_pattern_matching_poll.fixed | 6 + .../ui/redundant_pattern_matching_poll.rs | 6 + .../ui/redundant_pattern_matching_poll.stderr | 44 +- src/tools/clippy/tests/ui/regex.rs | 2 +- .../clippy/tests/ui/result_filter_map.fixed | 27 + .../clippy/tests/ui/result_filter_map.rs | 35 + .../clippy/tests/ui/result_filter_map.stderr | 41 + .../tests/ui/result_map_or_into_option.stderr | 6 +- .../clippy/tests/ui/same_item_push.stderr | 10 +- src/tools/clippy/tests/ui/same_name_method.rs | 1 + .../clippy/tests/ui/same_name_method.stderr | 16 +- .../clippy/tests/ui/search_is_some.stderr | 4 +- .../ui/search_is_some_fixable_none.stderr | 86 +- .../ui/search_is_some_fixable_some.stderr | 94 +- .../ui/seek_to_start_instead_of_rewind.fixed | 3 + .../ui/seek_to_start_instead_of_rewind.rs | 3 + .../ui/seek_to_start_instead_of_rewind.stderr | 2 +- .../ui/semicolon_if_nothing_returned.fixed | 34 + .../tests/ui/semicolon_if_nothing_returned.rs | 34 + .../ui/semicolon_if_nothing_returned.stderr | 10 +- src/tools/clippy/tests/ui/single_call_fn.rs | 11 + .../clippy/tests/ui/single_char_pattern.fixed | 2 + .../clippy/tests/ui/single_char_pattern.rs | 2 + .../tests/ui/single_char_pattern.stderr | 120 +- src/tools/clippy/tests/ui/str_split.fixed | 145 + src/tools/clippy/tests/ui/str_split.rs | 145 + src/tools/clippy/tests/ui/str_split.stderr | 65 + src/tools/clippy/tests/ui/struct_fields.rs | 24 +- .../clippy/tests/ui/struct_fields.stderr | 28 +- ..._local_initializer_can_be_made_const.fixed | 44 + ...ead_local_initializer_can_be_made_const.rs | 44 + ...local_initializer_can_be_made_const.stderr | 41 + .../ui/trait_duplication_in_bounds.fixed | 31 +- .../tests/ui/trait_duplication_in_bounds.rs | 31 +- src/tools/clippy/tests/ui/transmute.rs | 13 - src/tools/clippy/tests/ui/transmute.stderr | 61 +- .../tests/ui/transmute_int_to_char.fixed | 15 + .../clippy/tests/ui/transmute_int_to_char.rs | 15 + .../tests/ui/transmute_int_to_char.stderr | 17 + .../ui/transmute_int_to_char_no_std.fixed | 27 + .../tests/ui/transmute_int_to_char_no_std.rs | 27 + .../ui/transmute_int_to_char_no_std.stderr | 17 + .../clippy/tests/ui/transmute_ref_to_ref.rs | 2 +- .../tests/ui/transmute_ref_to_ref.stderr | 4 +- .../tests/ui/transmute_ref_to_ref_no_std.rs | 30 + .../ui/transmute_ref_to_ref_no_std.stderr | 26 + .../tests/ui/unconditional_recursion.rs | 350 + .../tests/ui/unconditional_recursion.stderr | 361 + .../tests/ui/unknown_clippy_lints.fixed | 6 +- .../clippy/tests/ui/unknown_clippy_lints.rs | 4 +- .../tests/ui/unknown_clippy_lints.stderr | 20 +- .../clippy/tests/ui/unnecessary_join.stderr | 4 +- .../tests/ui/unnecessary_lazy_eval.fixed | 13 + .../clippy/tests/ui/unnecessary_lazy_eval.rs | 13 + .../tests/ui/unnecessary_lazy_eval.stderr | 126 +- .../tests/ui/unnecessary_safety_comment.rs | 21 + .../tests/ui/unnecessary_sort_by.stderr | 24 +- .../ui/unnecessary_to_owned_on_split.fixed | 37 + .../tests/ui/unnecessary_to_owned_on_split.rs | 37 + .../ui/unnecessary_to_owned_on_split.stderr | 59 + .../clippy/tests/ui/unreadable_literal.fixed | 1 - .../clippy/tests/ui/unreadable_literal.rs | 1 - .../clippy/tests/ui/unreadable_literal.stderr | 20 +- src/tools/clippy/tests/ui/unused_io_amount.rs | 87 + .../clippy/tests/ui/unused_io_amount.stderr | 141 +- src/tools/clippy/tests/ui/useless_asref.fixed | 50 +- src/tools/clippy/tests/ui/useless_asref.rs | 50 +- .../clippy/tests/ui/useless_asref.stderr | 66 +- .../clippy/tests/ui/useless_conversion.fixed | 4 +- .../clippy/tests/ui/useless_conversion.rs | 4 +- src/tools/clippy/tests/ui/vec.fixed | 7 + src/tools/clippy/tests/ui/vec.rs | 7 + src/tools/clippy/triagebot.toml | 2 - src/tools/compiletest/src/common.rs | 4 + src/tools/compiletest/src/errors.rs | 2 +- src/tools/compiletest/src/header.rs | 37 +- src/tools/compiletest/src/header/cfg.rs | 13 +- src/tools/compiletest/src/header/needs.rs | 2 +- src/tools/compiletest/src/header/tests.rs | 65 +- src/tools/compiletest/src/lib.rs | 3 + src/tools/compiletest/src/main.rs | 9 + src/tools/compiletest/src/runtest.rs | 53 +- src/tools/compiletest/src/runtest/tests.rs | 72 + src/tools/error_index_generator/Cargo.toml | 1 - src/tools/error_index_generator/main.rs | 8 +- src/tools/generate-windows-sys/src/main.rs | 2 +- src/tools/lint-docs/src/groups.rs | 1 + src/tools/miropt-test-tools/src/lib.rs | 11 +- src/tools/rust-analyzer/.cargo/config.toml | 2 +- src/tools/rust-analyzer/.editorconfig | 1 + src/tools/rust-analyzer/Cargo.lock | 248 +- src/tools/rust-analyzer/Cargo.toml | 99 +- .../rust-analyzer/crates/base-db/Cargo.toml | 7 +- .../crates/base-db/src/change.rs | 18 +- .../crates/base-db/src/fixture.rs | 644 -- .../rust-analyzer/crates/base-db/src/input.rs | 115 +- .../rust-analyzer/crates/base-db/src/lib.rs | 50 +- .../rust-analyzer/crates/base-db/src/span.rs | 208 - src/tools/rust-analyzer/crates/cfg/Cargo.toml | 5 +- .../rust-analyzer/crates/cfg/src/cfg_expr.rs | 22 - src/tools/rust-analyzer/crates/cfg/src/lib.rs | 8 +- .../rust-analyzer/crates/cfg/src/tests.rs | 10 +- .../rust-analyzer/crates/flycheck/Cargo.toml | 9 +- .../rust-analyzer/crates/hir-def/Cargo.toml | 16 +- .../rust-analyzer/crates/hir-def/src/attr.rs | 134 +- .../crates/hir-def/src/attr/tests.rs | 10 +- .../rust-analyzer/crates/hir-def/src/body.rs | 23 +- .../crates/hir-def/src/body/lower.rs | 150 +- .../crates/hir-def/src/body/pretty.rs | 50 +- .../crates/hir-def/src/body/scope.rs | 3 +- .../crates/hir-def/src/body/tests.rs | 3 +- .../crates/hir-def/src/child_by_source.rs | 27 +- .../rust-analyzer/crates/hir-def/src/data.rs | 21 +- .../crates/hir-def/src/data/adt.rs | 207 +- .../rust-analyzer/crates/hir-def/src/db.rs | 189 +- .../crates/hir-def/src/dyn_map/keys.rs | 2 +- .../crates/hir-def/src/expander.rs | 72 +- .../crates/hir-def/src/find_path.rs | 214 +- .../crates/hir-def/src/generics.rs | 239 +- .../rust-analyzer/crates/hir-def/src/hir.rs | 7 +- .../crates/hir-def/src/hir/format_args.rs | 2 +- .../crates/hir-def/src/hir/type_ref.rs | 31 +- .../crates/hir-def/src/import_map.rs | 606 +- .../crates/hir-def/src/item_scope.rs | 97 +- .../crates/hir-def/src/item_tree.rs | 123 +- .../crates/hir-def/src/item_tree/lower.rs | 48 +- .../crates/hir-def/src/item_tree/pretty.rs | 102 +- .../crates/hir-def/src/item_tree/tests.rs | 71 +- .../crates/hir-def/src/lang_item.rs | 72 +- .../rust-analyzer/crates/hir-def/src/lib.rs | 371 +- .../rust-analyzer/crates/hir-def/src/lower.rs | 2 +- .../builtin_derive_macro.rs | 83 +- .../macro_expansion_tests/builtin_fn_macro.rs | 44 +- .../hir-def/src/macro_expansion_tests/mbe.rs | 38 +- .../macro_expansion_tests/mbe/meta_syntax.rs | 4 +- .../macro_expansion_tests/mbe/metavar_expr.rs | 78 +- .../hir-def/src/macro_expansion_tests/mod.rs | 41 +- .../src/macro_expansion_tests/proc_macros.rs | 6 +- .../crates/hir-def/src/nameres.rs | 33 +- .../hir-def/src/nameres/attr_resolution.rs | 70 +- .../crates/hir-def/src/nameres/collector.rs | 295 +- .../crates/hir-def/src/nameres/diagnostics.rs | 17 + .../hir-def/src/nameres/path_resolution.rs | 59 +- .../crates/hir-def/src/nameres/proc_macro.rs | 10 +- .../crates/hir-def/src/nameres/tests.rs | 3 +- .../hir-def/src/nameres/tests/incremental.rs | 7 +- .../hir-def/src/nameres/tests/macros.rs | 60 +- .../rust-analyzer/crates/hir-def/src/path.rs | 6 +- .../crates/hir-def/src/path/lower.rs | 2 +- .../crates/hir-def/src/pretty.rs | 15 +- .../crates/hir-def/src/resolver.rs | 29 +- .../rust-analyzer/crates/hir-def/src/src.rs | 21 +- .../crates/hir-def/src/test_db.rs | 3 +- .../rust-analyzer/crates/hir-def/src/trace.rs | 2 + .../crates/hir-def/src/visibility.rs | 62 +- .../crates/hir-expand/Cargo.toml | 6 +- .../crates/hir-expand/src/ast_id_map.rs | 46 +- .../crates/hir-expand/src/attrs.rs | 95 +- .../hir-expand/src/builtin_attr_macro.rs | 35 +- .../hir-expand/src/builtin_derive_macro.rs | 163 +- .../crates/hir-expand/src/builtin_fn_macro.rs | 199 +- .../crates/hir-expand/src/change.rs | 42 + .../rust-analyzer/crates/hir-expand/src/db.rs | 324 +- .../crates/hir-expand/src/declarative.rs | 177 + .../crates/hir-expand/src/eager.rs | 26 +- .../crates/hir-expand/src/files.rs | 7 +- .../crates/hir-expand/src/fixup.rs | 79 +- .../crates/hir-expand/src/hygiene.rs | 83 +- .../crates/hir-expand/src/lib.rs | 239 +- .../crates/hir-expand/src/mod_path.rs | 125 +- .../crates/hir-expand/src/name.rs | 27 +- .../crates/hir-expand/src/proc_macro.rs | 58 +- .../crates/hir-expand/src/quote.rs | 47 +- .../crates/hir-expand/src/span.rs | 124 - .../crates/hir-expand/src/span_map.rs | 96 + .../rust-analyzer/crates/hir-ty/Cargo.toml | 24 +- .../crates/hir-ty/src/builder.rs | 14 +- .../crates/hir-ty/src/chalk_db.rs | 56 +- .../crates/hir-ty/src/chalk_ext.rs | 10 +- .../crates/hir-ty/src/consteval.rs | 27 +- .../crates/hir-ty/src/consteval/tests.rs | 3 +- .../rust-analyzer/crates/hir-ty/src/db.rs | 46 +- .../crates/hir-ty/src/diagnostics.rs | 2 +- .../hir-ty/src/diagnostics/decl_check.rs | 10 +- .../crates/hir-ty/src/diagnostics/expr.rs | 82 +- .../hir-ty/src/diagnostics/match_check.rs | 103 +- .../match_check/deconstruct_pat.rs | 1098 -- .../diagnostics/match_check/pat_analysis.rs | 475 + .../src/diagnostics/match_check/usefulness.rs | 824 -- .../crates/hir-ty/src/display.rs | 108 +- .../rust-analyzer/crates/hir-ty/src/infer.rs | 127 +- .../crates/hir-ty/src/infer/cast.rs | 1 - .../crates/hir-ty/src/infer/closure.rs | 97 +- .../crates/hir-ty/src/infer/coerce.rs | 4 +- .../crates/hir-ty/src/infer/expr.rs | 123 +- .../crates/hir-ty/src/infer/mutability.rs | 2 +- .../crates/hir-ty/src/infer/pat.rs | 13 +- .../crates/hir-ty/src/infer/path.rs | 14 +- .../crates/hir-ty/src/infer/unify.rs | 9 +- .../crates/hir-ty/src/inhabitedness.rs | 19 +- .../crates/hir-ty/src/interner.rs | 204 +- .../rust-analyzer/crates/hir-ty/src/layout.rs | 41 +- .../crates/hir-ty/src/layout/adt.rs | 21 +- .../crates/hir-ty/src/layout/target.rs | 2 +- .../crates/hir-ty/src/layout/tests.rs | 44 +- .../crates/hir-ty/src/layout/tests/closure.rs | 15 +- .../rust-analyzer/crates/hir-ty/src/lib.rs | 274 +- .../rust-analyzer/crates/hir-ty/src/lower.rs | 118 +- .../crates/hir-ty/src/mapping.rs | 10 +- .../crates/hir-ty/src/method_resolution.rs | 140 +- .../rust-analyzer/crates/hir-ty/src/mir.rs | 77 +- .../crates/hir-ty/src/mir/borrowck.rs | 36 +- .../crates/hir-ty/src/mir/eval.rs | 394 +- .../crates/hir-ty/src/mir/eval/shim.rs | 54 +- .../crates/hir-ty/src/mir/eval/shim/simd.rs | 4 +- .../crates/hir-ty/src/mir/eval/tests.rs | 13 +- .../crates/hir-ty/src/mir/lower.rs | 252 +- .../crates/hir-ty/src/mir/lower/as_place.rs | 98 +- .../hir-ty/src/mir/lower/pattern_matching.rs | 103 +- .../crates/hir-ty/src/mir/monomorphization.rs | 4 +- .../crates/hir-ty/src/mir/pretty.rs | 26 +- .../crates/hir-ty/src/test_db.rs | 7 +- .../rust-analyzer/crates/hir-ty/src/tests.rs | 41 +- .../crates/hir-ty/src/tests/coercion.rs | 3 +- .../crates/hir-ty/src/tests/incremental.rs | 3 +- .../crates/hir-ty/src/tests/macros.rs | 34 +- .../crates/hir-ty/src/tests/patterns.rs | 46 +- .../crates/hir-ty/src/tests/regression.rs | 58 +- .../crates/hir-ty/src/tests/simple.rs | 80 +- .../crates/hir-ty/src/tests/traits.rs | 73 +- .../rust-analyzer/crates/hir-ty/src/tls.rs | 5 +- .../rust-analyzer/crates/hir-ty/src/utils.rs | 26 +- src/tools/rust-analyzer/crates/hir/Cargo.toml | 7 +- .../rust-analyzer/crates/hir/src/attrs.rs | 165 +- src/tools/rust-analyzer/crates/hir/src/db.rs | 24 +- .../crates/hir/src/diagnostics.rs | 9 +- .../rust-analyzer/crates/hir/src/display.rs | 11 +- .../rust-analyzer/crates/hir/src/from_id.rs | 4 +- .../crates/hir/src/has_source.rs | 2 +- src/tools/rust-analyzer/crates/hir/src/lib.rs | 394 +- .../rust-analyzer/crates/hir/src/semantics.rs | 44 +- .../crates/hir/src/semantics/source_to_def.rs | 15 +- .../crates/hir/src/source_analyzer.rs | 109 +- .../rust-analyzer/crates/hir/src/symbols.rs | 29 +- .../crates/ide-assists/Cargo.toml | 4 + .../src/handlers/add_missing_match_arms.rs | 4 +- .../src/handlers/add_turbo_fish.rs | 4 +- .../ide-assists/src/handlers/auto_import.rs | 61 +- .../ide-assists/src/handlers/bool_to_enum.rs | 237 +- .../src/handlers/change_visibility.rs | 2 +- .../src/handlers/convert_integer_literal.rs | 2 +- .../src/handlers/convert_let_else_to_match.rs | 1 + .../src/handlers/convert_match_to_let_else.rs | 4 +- .../convert_nested_function_to_closure.rs | 4 +- .../src/handlers/convert_to_guarded_return.rs | 34 +- .../convert_tuple_return_type_to_struct.rs | 2 +- .../src/handlers/destructure_tuple_binding.rs | 8 +- .../src/handlers/extract_function.rs | 52 +- .../src/handlers/extract_module.rs | 23 +- .../extract_struct_from_enum_variant.rs | 118 +- .../src/handlers/extract_type_alias.rs | 2 +- .../src/handlers/extract_variable.rs | 229 +- .../src/handlers/flip_trait_bound.rs | 4 +- .../src/handlers/generate_constant.rs | 23 +- .../src/handlers/generate_delegate_methods.rs | 49 +- .../src/handlers/generate_delegate_trait.rs | 947 +- .../generate_documentation_template.rs | 2 +- .../src/handlers/generate_enum_is_method.rs | 10 +- .../src/handlers/generate_enum_variant.rs | 6 +- .../handlers/generate_from_impl_for_enum.rs | 2 +- .../src/handlers/generate_function.rs | 300 +- .../src/handlers/generate_getter_or_setter.rs | 18 +- .../ide-assists/src/handlers/generate_impl.rs | 4 +- .../handlers/generate_is_empty_from_len.rs | 2 +- .../src/handlers/generate_mut_trait_impl.rs | 4 +- .../src/handlers/generate_trait_from_impl.rs | 36 +- .../ide-assists/src/handlers/inline_call.rs | 279 +- .../src/handlers/inline_const_as_literal.rs | 20 +- .../ide-assists/src/handlers/inline_macro.rs | 2 +- .../src/handlers/introduce_named_generic.rs | 40 +- .../ide-assists/src/handlers/merge_imports.rs | 214 +- .../src/handlers/merge_nested_if.rs | 246 + .../src/handlers/promote_local_to_const.rs | 89 +- .../ide-assists/src/handlers/qualify_path.rs | 9 +- .../src/handlers/remove_parentheses.rs | 2 +- .../src/handlers/remove_unused_imports.rs | 194 +- .../replace_derive_with_manual_impl.rs | 1 - .../src/handlers/replace_if_let_with_match.rs | 2 +- .../replace_is_method_with_if_let_method.rs | 36 +- .../src/handlers/replace_method_eager_lazy.rs | 2 +- .../replace_qualified_name_with_use.rs | 2 +- .../replace_turbofish_with_explicit_type.rs | 4 +- .../ide-assists/src/handlers/sort_items.rs | 2 - .../src/handlers/unnecessary_async.rs | 6 +- .../ide-assists/src/handlers/unwrap_block.rs | 2 +- .../crates/ide-assists/src/lib.rs | 38 +- .../crates/ide-assists/src/tests.rs | 97 +- .../crates/ide-assists/src/tests/generated.rs | 19 +- .../crates/ide-assists/src/tests/sourcegen.rs | 2 +- .../crates/ide-assists/src/utils.rs | 24 +- .../src/utils/gen_trait_fn_body.rs | 4 +- .../ide-assists/src/utils/suggest_name.rs | 64 +- .../crates/ide-completion/Cargo.toml | 4 + .../crates/ide-completion/src/completions.rs | 12 +- .../src/completions/attribute.rs | 9 +- .../src/completions/attribute/macro_use.rs | 35 + .../ide-completion/src/completions/dot.rs | 39 +- .../src/completions/env_vars.rs | 2 +- .../src/completions/extern_abi.rs | 5 +- .../ide-completion/src/completions/field.rs | 28 +- .../src/completions/flyimport.rs | 53 +- .../src/completions/fn_param.rs | 2 +- .../src/completions/item_list.rs | 2 +- .../src/completions/item_list/trait_impl.rs | 12 +- .../ide-completion/src/completions/postfix.rs | 4 +- .../ide-completion/src/completions/record.rs | 18 +- .../ide-completion/src/completions/snippet.rs | 4 +- .../ide-completion/src/completions/use_.rs | 4 +- .../crates/ide-completion/src/context.rs | 17 +- .../ide-completion/src/context/analysis.rs | 74 +- .../crates/ide-completion/src/item.rs | 22 +- .../crates/ide-completion/src/lib.rs | 5 +- .../crates/ide-completion/src/render.rs | 112 +- .../ide-completion/src/render/function.rs | 42 +- .../ide-completion/src/render/literal.rs | 10 +- .../ide-completion/src/render/macro_.rs | 4 +- .../crates/ide-completion/src/tests.rs | 5 +- .../ide-completion/src/tests/attribute.rs | 79 + .../ide-completion/src/tests/flyimport.rs | 1 + .../ide-completion/src/tests/use_tree.rs | 27 + .../rust-analyzer/crates/ide-db/Cargo.toml | 9 +- .../crates/ide-db/src/active_parameter.rs | 24 +- .../crates/ide-db/src/apply_change.rs | 150 +- .../rust-analyzer/crates/ide-db/src/defs.rs | 172 +- .../crates/ide-db/src/documentation.rs | 16 +- .../crates/ide-db/src/generated/lints.rs | 1529 +-- .../ide-db/src/imports/import_assets.rs | 95 +- .../crates/ide-db/src/imports/insert_use.rs | 112 +- .../ide-db/src/imports/insert_use/tests.rs | 250 +- .../ide-db/src/imports/merge_imports.rs | 348 +- .../crates/ide-db/src/items_locator.rs | 39 +- .../rust-analyzer/crates/ide-db/src/lib.rs | 39 +- .../crates/ide-db/src/path_transform.rs | 53 +- .../rust-analyzer/crates/ide-db/src/rename.rs | 17 +- .../rust-analyzer/crates/ide-db/src/search.rs | 10 +- .../crates/ide-db/src/source_change.rs | 4 +- .../crates/ide-db/src/symbol_index.rs | 129 +- .../test_symbol_index_collection.txt | 142 +- .../rust-analyzer/crates/ide-db/src/traits.rs | 3 +- .../crates/ide-diagnostics/Cargo.toml | 4 + .../src/handlers/break_outside_of_loop.rs | 2 +- .../src/handlers/expected_function.rs | 2 +- .../src/handlers/inactive_code.rs | 2 +- .../src/handlers/incoherent_impl.rs | 4 +- .../src/handlers/incorrect_case.rs | 4 +- .../src/handlers/invalid_derive_target.rs | 2 +- .../src/handlers/macro_error.rs | 2 +- .../src/handlers/malformed_derive.rs | 2 +- .../src/handlers/mismatched_arg_count.rs | 14 +- .../src/handlers/missing_fields.rs | 9 +- .../src/handlers/missing_match_arms.rs | 2 +- .../src/handlers/missing_unsafe.rs | 2 +- .../src/handlers/moved_out_of_ref.rs | 2 +- .../src/handlers/mutability_errors.rs | 2 +- .../src/handlers/no_such_field.rs | 32 +- .../src/handlers/private_assoc_item.rs | 2 +- .../src/handlers/private_field.rs | 2 +- .../replace_filter_map_next_with_find_map.rs | 2 +- .../src/handlers/trait_impl_orphan.rs | 5 +- .../trait_impl_redundant_assoc_item.rs | 234 +- .../src/handlers/type_mismatch.rs | 8 +- .../src/handlers/typed_hole.rs | 2 +- .../src/handlers/undeclared_label.rs | 2 +- .../handlers/unimplemented_builtin_macro.rs | 2 +- .../src/handlers/unreachable_label.rs | 2 +- .../src/handlers/unresolved_assoc_item.rs | 53 + .../src/handlers/unresolved_extern_crate.rs | 2 +- .../src/handlers/unresolved_import.rs | 2 +- .../src/handlers/unresolved_method.rs | 204 +- .../src/handlers/unresolved_module.rs | 104 +- .../crates/ide-diagnostics/src/lib.rs | 26 +- .../crates/ide-diagnostics/src/tests.rs | 22 +- .../rust-analyzer/crates/ide-ssr/Cargo.toml | 4 + .../crates/ide-ssr/src/fragments.rs | 4 +- .../rust-analyzer/crates/ide-ssr/src/lib.rs | 2 +- .../crates/ide-ssr/src/matching.rs | 10 +- .../crates/ide-ssr/src/search.rs | 2 +- .../rust-analyzer/crates/ide-ssr/src/tests.rs | 4 +- src/tools/rust-analyzer/crates/ide/Cargo.toml | 6 +- .../crates/ide/src/annotations.rs | 331 +- .../ide/src/annotations/fn_references.rs | 2 +- .../rust-analyzer/crates/ide/src/doc_links.rs | 32 +- .../crates/ide/src/doc_links/tests.rs | 66 +- .../crates/ide/src/expand_macro.rs | 8 +- .../crates/ide/src/fetch_crates.rs | 2 +- .../rust-analyzer/crates/ide/src/fixture.rs | 2 +- .../crates/ide/src/folding_ranges.rs | 12 +- .../crates/ide/src/goto_definition.rs | 71 +- .../crates/ide/src/goto_implementation.rs | 15 +- .../crates/ide/src/highlight_related.rs | 12 +- .../rust-analyzer/crates/ide/src/hover.rs | 152 +- .../crates/ide/src/hover/render.rs | 429 +- .../crates/ide/src/hover/tests.rs | 1843 +-- .../crates/ide/src/inlay_hints.rs | 45 +- .../crates/ide/src/inlay_hints/chaining.rs | 268 +- .../ide/src/inlay_hints/discriminant.rs | 2 +- .../ide/src/inlay_hints/fn_lifetime_fn.rs | 24 +- .../ide/src/inlay_hints/implicit_drop.rs | 5 +- .../crates/ide/src/inlay_hints/param_name.rs | 2 +- .../ide/src/inlay_hints/range_exclusive.rs | 121 + .../crates/ide/src/interpret_function.rs | 2 +- src/tools/rust-analyzer/crates/ide/src/lib.rs | 44 +- .../crates/ide/src/markdown_remove.rs | 17 +- .../rust-analyzer/crates/ide/src/markup.rs | 3 + .../rust-analyzer/crates/ide/src/moniker.rs | 255 +- .../crates/ide/src/navigation_target.rs | 40 +- .../crates/ide/src/references.rs | 19 +- .../rust-analyzer/crates/ide/src/rename.rs | 597 +- .../rust-analyzer/crates/ide/src/runnables.rs | 1518 +-- .../crates/ide/src/shuffle_crate_graph.rs | 5 +- .../crates/ide/src/signature_help.rs | 15 +- src/tools/rust-analyzer/crates/ide/src/ssr.rs | 5 +- .../crates/ide/src/static_index.rs | 13 +- .../rust-analyzer/crates/ide/src/status.rs | 55 +- .../crates/ide/src/syntax_highlighting.rs | 15 +- .../ide/src/syntax_highlighting/highlight.rs | 12 +- .../ide/src/syntax_highlighting/inject.rs | 2 +- .../test_data/highlight_macros.html | 2 +- .../ide/src/syntax_highlighting/tests.rs | 2 +- .../crates/ide/src/syntax_tree.rs | 2 - .../rust-analyzer/crates/ide/src/typing.rs | 21 +- .../crates/ide/src/view_crate_graph.rs | 2 +- .../crates/ide/src/view_memory_layout.rs | 8 +- .../rust-analyzer/crates/intern/Cargo.toml | 5 +- .../rust-analyzer/crates/limit/Cargo.toml | 3 + .../crates/load-cargo/Cargo.toml | 8 +- .../crates/load-cargo/src/lib.rs | 63 +- src/tools/rust-analyzer/crates/mbe/Cargo.toml | 9 +- .../rust-analyzer/crates/mbe/src/benchmark.rs | 20 +- .../rust-analyzer/crates/mbe/src/expander.rs | 19 +- .../crates/mbe/src/expander/matcher.rs | 59 +- .../crates/mbe/src/expander/transcriber.rs | 118 +- src/tools/rust-analyzer/crates/mbe/src/lib.rs | 50 +- .../rust-analyzer/crates/mbe/src/parser.rs | 70 +- .../crates/mbe/src/syntax_bridge.rs | 198 +- .../crates/mbe/src/syntax_bridge/tests.rs | 4 +- .../rust-analyzer/crates/mbe/src/token_map.rs | 76 - .../rust-analyzer/crates/mbe/src/tt_iter.rs | 15 +- .../rust-analyzer/crates/parser/Cargo.toml | 8 +- .../crates/parser/src/grammar.rs | 4 +- .../crates/parser/src/grammar/expressions.rs | 10 +- .../crates/parser/src/grammar/items.rs | 45 +- .../parser/src/grammar/items/use_item.rs | 28 +- .../crates/parser/src/lexed_str.rs | 7 +- .../rust-analyzer/crates/parser/src/lib.rs | 13 +- .../rust-analyzer/crates/parser/src/tests.rs | 2 +- .../src/tests/sourcegen_inline_tests.rs | 2 +- .../parser/err/0036_partial_use.rast | 45 +- .../err/0026_macro_rules_as_macro_name.rast | 39 + .../err/0026_macro_rules_as_macro_name.rs | 3 + .../err/0026_use_tree_list_err_recovery.rast | 46 + .../err/0026_use_tree_list_err_recovery.rs | 4 + .../ok/0208_closure_range_method_call.rast | 49 + .../ok/0208_closure_range_method_call.rs | 4 + .../ok/0208_macro_rules_as_macro_name.rast | 72 + .../ok/0208_macro_rules_as_macro_name.rs | 6 + .../rust-analyzer/crates/paths/Cargo.toml | 3 + .../crates/proc-macro-api/Cargo.toml | 4 + .../crates/proc-macro-api/src/lib.rs | 45 +- .../crates/proc-macro-api/src/msg.rs | 69 +- .../crates/proc-macro-api/src/msg/flat.rs | 61 +- .../crates/proc-macro-api/src/process.rs | 100 +- .../crates/proc-macro-srv-cli/Cargo.toml | 5 + .../crates/proc-macro-srv-cli/src/main.rs | 21 +- .../crates/proc-macro-srv/Cargo.toml | 8 +- .../proc-macro-srv/proc-macro-test/Cargo.toml | 16 + .../proc-macro-srv/proc-macro-test/build.rs | 126 + .../proc-macro-test/imp/Cargo.toml | 16 + .../proc-macro-test/imp/src/lib.rs | 138 + .../proc-macro-test/src/lib.rs | 0 .../crates/proc-macro-srv/src/dylib.rs | 22 +- .../crates/proc-macro-srv/src/lib.rs | 199 +- .../crates/proc-macro-srv/src/proc_macros.rs | 48 +- .../crates/proc-macro-srv/src/server.rs | 399 +- .../src/server/rust_analyzer_span.rs | 411 + .../proc-macro-srv/src/server/token_id.rs | 380 + .../proc-macro-srv/src/server/token_stream.rs | 111 +- .../crates/proc-macro-srv/src/tests/mod.rs | 92 +- .../crates/proc-macro-srv/src/tests/utils.rs | 87 +- .../crates/proc-macro-test/Cargo.toml | 20 - .../crates/proc-macro-test/build.rs | 107 - .../crates/proc-macro-test/imp/Cargo.toml | 16 - .../crates/proc-macro-test/imp/src/lib.rs | 114 - .../rust-analyzer/crates/profile/Cargo.toml | 3 + .../rust-analyzer/crates/profile/src/lib.rs | 4 +- .../crates/project-model/Cargo.toml | 7 +- .../crates/project-model/src/build_scripts.rs | 19 +- .../project-model/src/cargo_workspace.rs | 9 +- .../crates/project-model/src/lib.rs | 8 +- .../crates/project-model/src/manifest_path.rs | 2 +- .../crates/project-model/src/project_json.rs | 3 + .../crates/project-model/src/sysroot.rs | 295 +- .../crates/project-model/src/tests.rs | 65 +- .../crates/project-model/src/workspace.rs | 378 +- .../cargo_hello_world_project_model.txt | 10 +- ...project_model_with_selective_overrides.txt | 10 +- ..._project_model_with_wildcard_overrides.txt | 10 +- ...rust_project_hello_world_project_model.txt | 24 +- .../crates/rust-analyzer/Cargo.toml | 11 +- .../crates/rust-analyzer/src/bin/main.rs | 22 +- .../crates/rust-analyzer/src/caps.rs | 2 + .../rust-analyzer/src/cargo_target_spec.rs | 4 +- .../crates/rust-analyzer/src/cli.rs | 12 +- .../rust-analyzer/src/cli/analysis_stats.rs | 4 +- .../rust-analyzer/src/cli/diagnostics.rs | 2 +- .../crates/rust-analyzer/src/cli/flags.rs | 4 + .../crates/rust-analyzer/src/cli/lsif.rs | 5 +- .../rust-analyzer/src/cli/progress_report.rs | 2 +- .../rust-analyzer/src/cli/rustc_tests.rs | 65 +- .../crates/rust-analyzer/src/cli/scip.rs | 110 +- .../crates/rust-analyzer/src/config.rs | 87 +- .../crates/rust-analyzer/src/diagnostics.rs | 2 +- .../crates/rust-analyzer/src/global_state.rs | 90 +- .../src/handlers/notification.rs | 36 +- .../rust-analyzer/src/handlers/request.rs | 77 +- .../src/integrated_benchmarks.rs | 3 +- .../crates/rust-analyzer/src/line_index.rs | 5 +- .../crates/rust-analyzer/src/lsp.rs | 4 +- .../crates/rust-analyzer/src/lsp/ext.rs | 2 +- .../rust-analyzer/src/lsp/from_proto.rs | 2 +- .../rust-analyzer/src/lsp/semantic_tokens.rs | 2 +- .../crates/rust-analyzer/src/lsp/to_proto.rs | 38 +- .../crates/rust-analyzer/src/lsp/utils.rs | 68 +- .../crates/rust-analyzer/src/main_loop.rs | 42 +- .../crates/rust-analyzer/src/mem_docs.rs | 5 +- .../crates/rust-analyzer/src/reload.rs | 113 +- .../rust-analyzer/tests/slow-tests/main.rs | 49 +- .../rust-analyzer/tests/slow-tests/support.rs | 16 +- .../rust-analyzer/tests/slow-tests/testdir.rs | 37 +- .../rust-analyzer/tests/slow-tests/tidy.rs | 3 +- .../crates/rustc-dependencies/Cargo.toml | 20 - .../crates/rustc-dependencies/src/lib.rs | 48 - .../rust-analyzer/crates/sourcegen/Cargo.toml | 4 + .../rust-analyzer/crates/span/Cargo.toml | 23 + .../rust-analyzer/crates/span/src/lib.rs | 282 + .../rust-analyzer/crates/span/src/map.rs | 131 + .../rust-analyzer/crates/stdx/Cargo.toml | 3 + .../rust-analyzer/crates/stdx/src/lib.rs | 21 +- .../rust-analyzer/crates/syntax/Cargo.toml | 9 +- .../crates/syntax/fuzz/Cargo.toml | 3 + .../rust-analyzer/crates/syntax/src/algo.rs | 4 +- .../rust-analyzer/crates/syntax/src/ast.rs | 22 +- .../crates/syntax/src/ast/edit_in_place.rs | 67 +- .../crates/syntax/src/ast/expr_ext.rs | 24 +- .../crates/syntax/src/ast/make.rs | 70 +- .../crates/syntax/src/ast/node_ext.rs | 122 +- .../crates/syntax/src/ast/prec.rs | 2 +- .../crates/syntax/src/ast/token_ext.rs | 111 +- .../rust-analyzer/crates/syntax/src/lib.rs | 19 +- .../rust-analyzer/crates/syntax/src/ptr.rs | 4 +- .../crates/syntax/src/validation.rs | 17 +- .../crates/test-fixture/Cargo.toml | 21 + .../crates/test-fixture/src/lib.rs | 652 ++ .../crates/test-utils/Cargo.toml | 5 +- .../crates/test-utils/src/minicore.rs | 38 +- .../rust-analyzer/crates/text-edit/Cargo.toml | 3 + .../rust-analyzer/crates/toolchain/Cargo.toml | 3 + src/tools/rust-analyzer/crates/tt/Cargo.toml | 6 + src/tools/rust-analyzer/crates/tt/src/lib.rs | 73 +- .../crates/vfs-notify/Cargo.toml | 3 + .../crates/vfs-notify/src/lib.rs | 26 +- src/tools/rust-analyzer/crates/vfs/Cargo.toml | 5 +- src/tools/rust-analyzer/crates/vfs/src/lib.rs | 110 +- .../rust-analyzer/crates/vfs/src/loader.rs | 19 +- .../rust-analyzer/docs/dev/architecture.md | 51 +- src/tools/rust-analyzer/docs/dev/guide.md | 265 +- .../rust-analyzer/docs/dev/lsp-extensions.md | 2 +- src/tools/rust-analyzer/docs/dev/syntax.md | 3 +- .../docs/user/generated_config.adoc | 36 +- src/tools/rust-analyzer/docs/user/manual.adoc | 18 +- .../rust-analyzer/lib/la-arena/Cargo.toml | 3 + .../rust-analyzer/lib/la-arena/src/map.rs | 2 + .../rust-analyzer/lib/line-index/Cargo.toml | 3 + .../rust-analyzer/lib/line-index/README.md | 30 + .../rust-analyzer/lib/line-index/src/lib.rs | 113 +- .../rust-analyzer/lib/lsp-server/Cargo.toml | 9 +- .../lib/lsp-server/examples/goto_def.rs | 10 +- .../rust-analyzer/lib/lsp-server/src/error.rs | 17 +- .../rust-analyzer/lib/lsp-server/src/lib.rs | 61 +- .../rust-analyzer/lib/lsp-server/src/msg.rs | 4 +- .../rust-analyzer/lib/lsp-server/src/stdio.rs | 3 +- src/tools/rust-analyzer/rustfmt.toml | 2 +- src/tools/rust-analyzer/xtask/Cargo.toml | 3 + src/tools/rust-analyzer/xtask/src/main.rs | 6 +- src/tools/rust-analyzer/xtask/src/metrics.rs | 8 +- .../xtask/src/release/changelog.rs | 52 +- src/tools/rust-installer/test.sh | 2 +- src/tools/rustfmt/src/closures.rs | 4 +- src/tools/rustfmt/src/expr.rs | 26 +- src/tools/rustfmt/src/items.rs | 6 +- src/tools/rustfmt/src/matches.rs | 2 +- src/tools/rustfmt/src/overflow.rs | 2 +- src/tools/rustfmt/src/parse/macros/mod.rs | 46 +- src/tools/rustfmt/src/parse/parser.rs | 8 +- src/tools/rustfmt/src/parse/session.rs | 22 +- src/tools/rustfmt/src/patterns.rs | 21 +- src/tools/rustfmt/src/types.rs | 31 +- src/tools/rustfmt/src/utils.rs | 4 +- src/tools/rustfmt/src/visitor.rs | 5 + .../tests/source/macros/rewrite-const-item.rs | 1 + .../tests/target/macros/rewrite-const-item.rs | 3 + src/tools/tidy/src/deps.rs | 7 +- src/tools/tidy/src/error_codes.rs | 36 +- src/tools/tidy/src/features.rs | 32 +- src/tools/tidy/src/lib.rs | 1 + src/tools/tidy/src/main.rs | 1 + src/tools/tidy/src/pal.rs | 4 +- src/tools/tidy/src/style.rs | 2 +- src/tools/tidy/src/target_policy.rs | 52 + src/tools/tidy/src/ui_tests.rs | 24 +- src/version | 2 +- tests/assembly/asm/s390x-types.rs | 24 + tests/assembly/targets/targets-elf.rs | 573 + tests/assembly/targets/targets-macho.rs | 81 + tests/assembly/targets/targets-nvptx.rs | 21 + tests/assembly/targets/targets-pe.rs | 93 + .../item-collection/generic-drop-glue.rs | 4 +- .../item-collection/transitive-drop-glue.rs | 10 +- .../codegen-units/item-collection/unsizing.rs | 2 +- .../codegen/abi-main-signature-32bit-c-int.rs | 2 +- tests/codegen/align-byval.rs | 24 +- tests/codegen/align-struct.rs | 2 +- tests/codegen/alloc-optimisation.rs | 2 - tests/codegen/array-map.rs | 3 +- tests/codegen/dealloc-no-unwind.rs | 1 - .../debuginfo-inline-callsite-location.rs | 4 +- tests/codegen/fewer-names.rs | 1 - tests/codegen/function-arguments-noopt.rs | 4 +- tests/codegen/function-arguments.rs | 2 +- tests/codegen/i128-x86-align.rs | 103 + tests/codegen/infallible-unwrap-in-opt-z.rs | 26 + tests/codegen/inherit_overflow.rs | 2 +- tests/codegen/integer-overflow.rs | 1 - tests/codegen/intrinsics/transmute.rs | 10 +- tests/codegen/is_val_statically_known.rs | 48 + tests/codegen/issues/issue-116878.rs | 1 - tests/codegen/issues/issue-119422.rs | 83 + .../issues/issue-44056-macos-tls-align.rs | 1 - .../issues/issue-69101-bounds-check.rs | 1 - tests/codegen/match-optimizes-away.rs | 1 - tests/codegen/maybeuninit-rvo.rs | 33 + tests/codegen/overaligned-constant.rs | 2 +- tests/codegen/personality_lifetimes.rs | 2 +- tests/codegen/ptr-read-metadata.rs | 1 - tests/codegen/refs.rs | 5 +- tests/codegen/scalar-pair-bool.rs | 8 +- tests/codegen/slice-as_chunks.rs | 1 - tests/codegen/slice-iter-len-eq-zero.rs | 1 - tests/codegen/slice-iter-nonnull.rs | 9 +- tests/codegen/slice-position-bounds-check.rs | 1 - tests/codegen/sparc-struct-abi.rs | 2 +- tests/codegen/swap-small-types.rs | 82 +- tests/codegen/vec-iter-collect-len.rs | 1 - tests/codegen/vec-iter.rs | 46 + tests/codegen/vec-optimizes-away.rs | 1 - tests/codegen/vec-reserve-extend.rs | 2 + tests/codegen/vec_pop_push_noop.rs | 2 + tests/codegen/zst-offset.rs | 2 +- tests/coverage-run-rustdoc/doctest.coverage | 5 +- tests/coverage/abort.cov-map | 4 +- tests/coverage/abort.coverage | 1 + tests/coverage/abort.rs | 1 + tests/coverage/async.cov-map | 100 +- tests/coverage/async.coverage | 5 +- tests/coverage/async.rs | 5 +- tests/coverage/async2.cov-map | 14 +- tests/coverage/async2.coverage | 3 +- tests/coverage/async2.rs | 3 +- tests/coverage/async_block.coverage | 3 +- tests/coverage/async_block.rs | 3 +- tests/coverage/bad_counter_ids.cov-map | 16 - tests/coverage/bad_counter_ids.coverage | 2 +- tests/coverage/bench.cov-map | 8 + tests/coverage/bench.coverage | 9 + tests/coverage/bench.rs | 8 + tests/coverage/closure.cov-map | 118 +- tests/coverage/closure.coverage | 1 + tests/coverage/closure.rs | 1 + tests/coverage/closure_bug.cov-map | 20 +- tests/coverage/closure_bug.coverage | 1 + tests/coverage/closure_bug.rs | 1 + tests/coverage/closure_macro.cov-map | 12 +- tests/coverage/closure_macro.coverage | 3 +- tests/coverage/closure_macro.rs | 3 +- tests/coverage/closure_macro_async.cov-map | 16 +- tests/coverage/closure_macro_async.coverage | 6 +- tests/coverage/closure_macro_async.rs | 6 +- tests/coverage/color.coverage | 13 + tests/coverage/color.rs | 11 + tests/coverage/conditions.cov-map | 4 +- tests/coverage/conditions.coverage | 1 + tests/coverage/conditions.rs | 1 + tests/coverage/coroutine.cov-map | 16 +- tests/coverage/coroutine.coverage | 7 +- tests/coverage/coroutine.rs | 6 +- tests/coverage/fn_sig_into_try.cov-map | 68 +- tests/coverage/fn_sig_into_try.coverage | 4 + tests/coverage/fn_sig_into_try.rs | 4 + tests/coverage/generics.coverage | 6 +- tests/coverage/generics.rs | 6 +- tests/coverage/if.cov-map | 4 +- tests/coverage/if.coverage | 1 + tests/coverage/if.rs | 1 + tests/coverage/if_else.cov-map | 4 +- tests/coverage/if_else.coverage | 1 + tests/coverage/if_else.rs | 1 + tests/coverage/if_not.cov-map | 4 +- tests/coverage/if_not.coverage | 1 + tests/coverage/if_not.rs | 1 + tests/coverage/ignore_map.coverage | 4 + tests/coverage/ignore_map.rs | 3 + tests/coverage/ignore_run.cov-map | 8 + tests/coverage/ignore_run.rs | 3 + tests/coverage/inline-dead.cov-map | 20 +- tests/coverage/inline-dead.coverage | 5 +- tests/coverage/inline-dead.rs | 4 +- tests/coverage/issue-83601.cov-map | 16 - tests/coverage/issue-83601.coverage | 3 +- tests/coverage/issue-84561.cov-map | 32 +- tests/coverage/issue-84561.coverage | 4 +- tests/coverage/issue-84561.rs | 2 + tests/coverage/lazy_boolean.cov-map | 4 +- tests/coverage/lazy_boolean.coverage | 1 + tests/coverage/lazy_boolean.rs | 1 + tests/coverage/loop_break_value.cov-map | 4 +- tests/coverage/loop_break_value.coverage | 1 + tests/coverage/loop_break_value.rs | 1 + tests/coverage/macro_name_span.cov-map | 8 +- tests/coverage/macro_name_span.coverage | 19 +- tests/coverage/partial_eq.cov-map | 52 +- tests/coverage/partial_eq.coverage | 10 +- tests/coverage/partial_eq.rs | 7 +- tests/coverage/simple_loop.cov-map | 4 +- tests/coverage/simple_loop.coverage | 1 + tests/coverage/simple_loop.rs | 1 + tests/coverage/simple_match.cov-map | 4 +- tests/coverage/simple_match.coverage | 1 + tests/coverage/simple_match.rs | 1 + tests/coverage/test_harness.cov-map | 8 - tests/coverage/test_harness.coverage | 2 +- tests/coverage/thin-lto.cov-map | 4 +- tests/coverage/thin-lto.coverage | 3 +- tests/coverage/thin-lto.rs | 3 +- tests/coverage/try_error_result.cov-map | 20 +- tests/coverage/try_error_result.coverage | 3 + tests/coverage/try_error_result.rs | 3 + tests/coverage/unicode.cov-map | 53 + tests/coverage/unicode.coverage | 40 + tests/coverage/unicode.rs | 36 + tests/coverage/while.cov-map | 6 +- tests/coverage/while.coverage | 1 + tests/coverage/while.rs | 1 + tests/coverage/while_early_ret.cov-map | 4 +- tests/coverage/while_early_ret.coverage | 1 + tests/coverage/while_early_ret.rs | 1 + .../collapse-debuginfo-external-attr.rs | 31 + ...buginfo-external-flag-overriden-by-attr.rs | 34 + .../collapse-debuginfo-external-flag.rs | 26 + ...ollapse-debuginfo-in-non-collapse-macro.rs | 124 + tests/debuginfo/collapse-debuginfo-no-attr.rs | 2 +- .../collapse-debuginfo-with-yes-flag.rs | 57 + tests/debuginfo/msvc-pretty-enums.rs | 8 +- tests/debuginfo/mutex.rs | 2 +- tests/debuginfo/numeric-types.rs | 46 +- tests/debuginfo/rwlock-read.rs | 2 +- tests/debuginfo/skip_second_statement.rs | 168 + .../skip_second_statement_collapse.rs | 170 + tests/incremental/commandline-args.rs | 6 +- tests/incremental/dirty_clean.rs | 5 +- tests/incremental/hash-module-order.rs | 4 +- tests/incremental/hashes/call_expressions.rs | 38 +- .../incremental/hashes/closure_expressions.rs | 24 +- tests/incremental/hashes/consts.rs | 18 +- tests/incremental/hashes/enum_constructors.rs | 84 +- tests/incremental/hashes/enum_defs.rs | 138 +- tests/incremental/hashes/exported_vs_not.rs | 14 +- tests/incremental/hashes/extern_mods.rs | 12 +- tests/incremental/hashes/for_loops.rs | 44 +- .../incremental/hashes/function_interfaces.rs | 76 +- tests/incremental/hashes/if_expressions.rs | 32 +- .../hashes/indexing_expressions.rs | 28 +- tests/incremental/hashes/inherent_impls.rs | 160 +- tests/incremental/hashes/inline_asm.rs | 24 +- tests/incremental/hashes/let_expressions.rs | 48 +- tests/incremental/hashes/loop_expressions.rs | 32 +- tests/incremental/hashes/match_expressions.rs | 52 +- tests/incremental/hashes/panic_exprs.rs | 18 +- tests/incremental/hashes/statics.rs | 38 +- .../incremental/hashes/struct_constructors.rs | 48 +- tests/incremental/hashes/struct_defs.rs | 66 +- tests/incremental/hashes/trait_defs.rs | 406 +- tests/incremental/hashes/trait_impls.rs | 116 +- tests/incremental/hashes/type_defs.rs | 32 +- .../hashes/unary_and_binary_exprs.rs | 112 +- tests/incremental/hashes/while_let_loops.rs | 36 +- tests/incremental/hashes/while_loops.rs | 36 +- .../hygiene/auxiliary/cached_hygiene.rs | 2 +- tests/incremental/ich_nested_items.rs | 2 +- tests/incremental/ich_resolve_results.rs | 4 +- tests/incremental/source_loc_macros.rs | 4 +- tests/incremental/string_constant.rs | 4 +- ...await.b-{closure#0}.coroutine_resume.0.mir | 8 +- .../assume.assume_constant.built.after.mir | 10 + .../assume.assume_local.built.after.mir | 10 + .../assume.assume_place.built.after.mir | 10 + tests/mir-opt/building/custom/assume.rs | 44 + tests/mir-opt/building/custom/terminators.rs | 8 +- .../mir-opt/building/custom/unwind_action.rs | 8 +- ..._allocation.main.ConstProp.after.32bit.mir | 59 - ..._allocation.main.ConstProp.after.64bit.mir | 63 - .../const_allocation.main.GVN.after.32bit.mir | 59 + .../const_allocation.main.GVN.after.64bit.mir | 63 + tests/mir-opt/const_allocation.rs | 4 +- ...allocation2.main.ConstProp.after.32bit.mir | 58 - ...allocation2.main.ConstProp.after.64bit.mir | 61 - ...const_allocation2.main.GVN.after.32bit.mir | 58 + ...const_allocation2.main.GVN.after.64bit.mir | 61 + tests/mir-opt/const_allocation2.rs | 4 +- ...allocation3.main.ConstProp.after.32bit.mir | 52 - ...allocation3.main.ConstProp.after.64bit.mir | 53 - ...const_allocation3.main.GVN.after.32bit.mir | 52 + ...const_allocation3.main.GVN.after.64bit.mir | 53 + tests/mir-opt/const_allocation3.rs | 4 +- .../const_debuginfo.main.ConstDebugInfo.diff | 25 +- tests/mir-opt/const_debuginfo.rs | 4 +- .../address_of_pair.fn0.ConstProp.diff | 46 - .../const_prop/address_of_pair.fn0.GVN.diff | 54 + tests/mir-opt/const_prop/address_of_pair.rs | 4 +- .../aggregate.foo.ConstProp.panic-abort.diff | 55 - .../aggregate.foo.ConstProp.panic-unwind.diff | 55 - .../aggregate.foo.GVN.panic-abort.diff | 57 + .../aggregate.foo.GVN.panic-unwind.diff | 57 + .../aggregate.main.ConstProp.panic-abort.diff | 42 - ...aggregate.main.ConstProp.panic-unwind.diff | 42 - .../aggregate.main.GVN.panic-abort.diff | 44 + .../aggregate.main.GVN.panic-unwind.diff | 44 + tests/mir-opt/const_prop/aggregate.rs | 6 +- ...ndex.main.ConstProp.32bit.panic-abort.diff | 39 - ...dex.main.ConstProp.32bit.panic-unwind.diff | 39 - ...ndex.main.ConstProp.64bit.panic-abort.diff | 39 - ...dex.main.ConstProp.64bit.panic-unwind.diff | 39 - ...rray_index.main.GVN.32bit.panic-abort.diff | 39 + ...ray_index.main.GVN.32bit.panic-unwind.diff | 39 + ...rray_index.main.GVN.64bit.panic-abort.diff | 39 + ...ray_index.main.GVN.64bit.panic-unwind.diff | 39 + tests/mir-opt/const_prop/array_index.rs | 4 +- ...iv_by_zero.main.ConstProp.panic-abort.diff | 54 - ...v_by_zero.main.ConstProp.panic-unwind.diff | 54 - ...d_op_div_by_zero.main.GVN.panic-abort.diff | 56 + ..._op_div_by_zero.main.GVN.panic-unwind.diff | 56 + .../mir-opt/const_prop/bad_op_div_by_zero.rs | 4 +- ...od_by_zero.main.ConstProp.panic-abort.diff | 54 - ...d_by_zero.main.ConstProp.panic-unwind.diff | 54 - ...d_op_mod_by_zero.main.GVN.panic-abort.diff | 56 + ..._op_mod_by_zero.main.GVN.panic-unwind.diff | 56 + .../mir-opt/const_prop/bad_op_mod_by_zero.rs | 4 +- ...ices.main.ConstProp.32bit.panic-abort.diff | 54 - ...ces.main.ConstProp.32bit.panic-unwind.diff | 54 - ...ices.main.ConstProp.64bit.panic-abort.diff | 54 - ...ces.main.ConstProp.64bit.panic-unwind.diff | 54 - ...for_slices.main.GVN.32bit.panic-abort.diff | 54 + ...or_slices.main.GVN.32bit.panic-unwind.diff | 54 + ...for_slices.main.GVN.64bit.panic-abort.diff | 54 + ...or_slices.main.GVN.64bit.panic-unwind.diff | 54 + .../bad_op_unsafe_oob_for_slices.rs | 4 +- .../mir-opt/const_prop/boolean_identities.rs | 4 +- .../boolean_identities.test.ConstProp.diff | 49 - .../boolean_identities.test.GVN.diff | 53 + .../boxes.main.ConstProp.panic-abort.diff | 54 - .../boxes.main.ConstProp.panic-unwind.diff | 58 - .../boxes.main.GVN.panic-abort.diff | 57 + .../boxes.main.GVN.panic-unwind.diff | 61 + tests/mir-opt/const_prop/boxes.rs | 6 +- .../const_prop/cast.main.ConstProp.diff | 28 - tests/mir-opt/const_prop/cast.main.GVN.diff | 28 + tests/mir-opt/const_prop/cast.rs | 4 +- ...hecked_add.main.ConstProp.panic-abort.diff | 32 - ...ecked_add.main.ConstProp.panic-unwind.diff | 32 - .../checked_add.main.GVN.panic-abort.diff | 32 + .../checked_add.main.GVN.panic-unwind.diff | 32 + tests/mir-opt/const_prop/checked_add.rs | 4 +- ...ification.hello.ConstProp.panic-abort.diff | 26 - ...fication.hello.ConstProp.panic-unwind.diff | 26 - ..._simplification.hello.GVN.panic-abort.diff | 25 + ...simplification.hello.GVN.panic-unwind.diff | 25 + .../const_prop/control_flow_simplification.rs | 4 +- .../discriminant.main.ConstProp.32bit.diff | 52 - .../discriminant.main.ConstProp.64bit.diff | 52 - .../discriminant.main.GVN.32bit.diff | 52 + .../discriminant.main.GVN.64bit.diff | 52 + tests/mir-opt/const_prop/discriminant.rs | 4 +- .../indirect.main.ConstProp.panic-abort.diff | 37 - .../indirect.main.ConstProp.panic-unwind.diff | 37 - .../indirect.main.GVN.panic-abort.diff | 37 + .../indirect.main.GVN.panic-unwind.diff | 37 + tests/mir-opt/const_prop/indirect.rs | 4 +- .../indirect_mutation.bar.ConstProp.diff | 41 - .../const_prop/indirect_mutation.bar.GVN.diff | 42 + .../indirect_mutation.foo.ConstProp.diff | 35 - .../const_prop/indirect_mutation.foo.GVN.diff | 36 + tests/mir-opt/const_prop/indirect_mutation.rs | 8 +- ...t_overflow.main.ConstProp.panic-abort.diff | 45 - ..._overflow.main.ConstProp.panic-unwind.diff | 45 - ...inherit_overflow.main.GVN.panic-abort.diff | 45 + ...nherit_overflow.main.GVN.panic-unwind.diff | 45 + tests/mir-opt/const_prop/inherit_overflow.rs | 4 +- .../invalid_constant.main.ConstProp.diff | 68 - .../const_prop/invalid_constant.main.GVN.diff | 65 + tests/mir-opt/const_prop/invalid_constant.rs | 4 +- ...ssue_66971.main.ConstProp.panic-abort.diff | 37 - ...sue_66971.main.ConstProp.panic-unwind.diff | 37 - .../issue_66971.main.GVN.panic-abort.diff | 34 + .../issue_66971.main.GVN.panic-unwind.diff | 34 + tests/mir-opt/const_prop/issue_66971.rs | 6 +- ...ssue_67019.main.ConstProp.panic-abort.diff | 42 - ...sue_67019.main.ConstProp.panic-unwind.diff | 42 - .../issue_67019.main.GVN.panic-abort.diff | 38 + .../issue_67019.main.GVN.panic-unwind.diff | 38 + tests/mir-opt/const_prop/issue_67019.rs | 4 +- ...ndex.main.ConstProp.32bit.panic-abort.diff | 39 - ...dex.main.ConstProp.32bit.panic-unwind.diff | 39 - ...ndex.main.ConstProp.64bit.panic-abort.diff | 39 - ...dex.main.ConstProp.64bit.panic-unwind.diff | 39 - ...rray_index.main.GVN.32bit.panic-abort.diff | 39 + ...ray_index.main.GVN.32bit.panic-unwind.diff | 39 + ...rray_index.main.GVN.64bit.panic-abort.diff | 39 + ...ray_index.main.GVN.64bit.panic-unwind.diff | 39 + tests/mir-opt/const_prop/large_array_index.rs | 4 +- tests/mir-opt/const_prop/mult_by_zero.rs | 4 +- .../mult_by_zero.test.ConstProp.diff | 18 - .../const_prop/mult_by_zero.test.GVN.diff | 18 + .../mutable_variable.main.ConstProp.diff | 28 - .../const_prop/mutable_variable.main.GVN.diff | 27 + tests/mir-opt/const_prop/mutable_variable.rs | 6 +- ...ble_variable_aggregate.main.ConstProp.diff | 37 - .../mutable_variable_aggregate.main.GVN.diff | 32 + .../const_prop/mutable_variable_aggregate.rs | 6 +- ...able_aggregate_mut_ref.main.ConstProp.diff | 34 - ...e_variable_aggregate_mut_ref.main.GVN.diff | 39 + .../mutable_variable_aggregate_mut_ref.rs | 6 +- ...rtial_read.main.ConstProp.panic-abort.diff | 32 - ...tial_read.main.ConstProp.panic-unwind.diff | 32 - ...ate_partial_read.main.GVN.panic-abort.diff | 31 + ...te_partial_read.main.GVN.panic-unwind.diff | 31 + ...mutable_variable_aggregate_partial_read.rs | 6 +- ...table_variable_no_prop.main.ConstProp.diff | 45 - .../mutable_variable_no_prop.main.GVN.diff | 45 + .../const_prop/mutable_variable_no_prop.rs | 4 +- ...rop_assign.main.ConstProp.panic-abort.diff | 54 - ...op_assign.main.ConstProp.panic-unwind.diff | 54 - ...le_unprop_assign.main.GVN.panic-abort.diff | 56 + ...e_unprop_assign.main.GVN.panic-unwind.diff | 56 + .../mutable_variable_unprop_assign.rs | 9 +- ...set_of.concrete.ConstProp.panic-abort.diff | 124 - ...et_of.concrete.ConstProp.panic-unwind.diff | 124 - .../offset_of.concrete.GVN.panic-abort.diff | 124 + .../offset_of.concrete.GVN.panic-unwind.diff | 124 + ...fset_of.generic.ConstProp.panic-abort.diff | 110 - ...set_of.generic.ConstProp.panic-unwind.diff | 110 - .../offset_of.generic.GVN.panic-abort.diff | 114 + .../offset_of.generic.GVN.panic-unwind.diff | 114 + tests/mir-opt/const_prop/offset_of.rs | 8 +- .../overwrite_with_const_with_params.rs | 4 +- ...h_const_with_params.size_of.ConstProp.diff | 20 - ...te_with_const_with_params.size_of.GVN.diff | 20 + ...se_address.main.ConstProp.panic-abort.diff | 38 - ...e_address.main.ConstProp.panic-unwind.diff | 38 - ...r_expose_address.main.GVN.panic-abort.diff | 41 + ..._expose_address.main.GVN.panic-unwind.diff | 41 + .../const_prop/pointer_expose_address.rs | 7 +- .../read_immutable_static.main.ConstProp.diff | 42 - .../read_immutable_static.main.GVN.diff | 46 + .../const_prop/read_immutable_static.rs | 4 +- .../const_prop/ref_deref.main.ConstProp.diff | 26 - .../const_prop/ref_deref.main.GVN.diff | 27 + tests/mir-opt/const_prop/ref_deref.rs | 6 +- .../ref_deref_project.main.ConstProp.diff | 26 - .../ref_deref_project.main.GVN.diff | 27 + tests/mir-opt/const_prop/ref_deref_project.rs | 6 +- .../reify_fn_ptr.main.ConstProp.diff | 26 - .../const_prop/reify_fn_ptr.main.GVN.diff | 26 + tests/mir-opt/const_prop/reify_fn_ptr.rs | 4 +- ...peat.main.ConstProp.32bit.panic-abort.diff | 44 - ...eat.main.ConstProp.32bit.panic-unwind.diff | 44 - ...peat.main.ConstProp.64bit.panic-abort.diff | 44 - ...eat.main.ConstProp.64bit.panic-unwind.diff | 44 - .../repeat.main.GVN.32bit.panic-abort.diff | 44 + .../repeat.main.GVN.32bit.panic-unwind.diff | 44 + .../repeat.main.GVN.64bit.panic-abort.diff | 44 + .../repeat.main.GVN.64bit.panic-unwind.diff | 44 + tests/mir-opt/const_prop/repeat.rs | 4 +- ...eturn_place.add.ConstProp.panic-abort.diff | 25 - ...turn_place.add.ConstProp.panic-unwind.diff | 25 - .../return_place.add.GVN.panic-abort.diff | 25 + .../return_place.add.GVN.panic-unwind.diff | 25 + tests/mir-opt/const_prop/return_place.rs | 4 +- ...ropagation.main.ConstProp.panic-abort.diff | 32 - ...opagation.main.ConstProp.panic-unwind.diff | 32 - ...eral_propagation.main.GVN.panic-abort.diff | 34 + ...ral_propagation.main.GVN.panic-unwind.diff | 34 + .../const_prop/scalar_literal_propagation.rs | 4 +- ..._len.main.ConstProp.32bit.panic-abort.diff | 50 - ...len.main.ConstProp.32bit.panic-unwind.diff | 50 - ..._len.main.ConstProp.64bit.panic-abort.diff | 50 - ...len.main.ConstProp.64bit.panic-unwind.diff | 50 - .../slice_len.main.GVN.32bit.panic-abort.diff | 56 + ...slice_len.main.GVN.32bit.panic-unwind.diff | 56 + .../slice_len.main.GVN.64bit.panic-abort.diff | 56 + ...slice_len.main.GVN.64bit.panic-unwind.diff | 56 + tests/mir-opt/const_prop/slice_len.rs | 11 +- ...switch_int.main.ConstProp.panic-abort.diff | 28 - ...witch_int.main.ConstProp.panic-unwind.diff | 28 - .../switch_int.main.GVN.panic-abort.diff | 28 + .../switch_int.main.GVN.panic-unwind.diff | 28 + tests/mir-opt/const_prop/switch_int.rs | 4 +- .../transmute.from_char.ConstProp.32bit.diff | 15 - .../transmute.from_char.ConstProp.64bit.diff | 15 - .../transmute.from_char.GVN.32bit.diff | 15 + .../transmute.from_char.GVN.64bit.diff | 15 + ...ransmute.invalid_bool.ConstProp.32bit.diff | 15 - ...ransmute.invalid_bool.ConstProp.64bit.diff | 15 - .../transmute.invalid_bool.GVN.32bit.diff | 15 + .../transmute.invalid_bool.GVN.64bit.diff | 15 + ...ransmute.invalid_char.ConstProp.32bit.diff | 15 - ...ransmute.invalid_char.ConstProp.64bit.diff | 15 - .../transmute.invalid_char.GVN.32bit.diff | 15 + .../transmute.invalid_char.GVN.64bit.diff | 15 + .../transmute.less_as_i8.ConstProp.32bit.diff | 20 - .../transmute.less_as_i8.ConstProp.64bit.diff | 20 - .../transmute.less_as_i8.GVN.32bit.diff | 20 + .../transmute.less_as_i8.GVN.64bit.diff | 20 + tests/mir-opt/const_prop/transmute.rs | 26 +- ...ndef_union_as_integer.ConstProp.32bit.diff | 22 - ...ndef_union_as_integer.ConstProp.64bit.diff | 22 - ...mute.undef_union_as_integer.GVN.32bit.diff | 23 + ...mute.undef_union_as_integer.GVN.64bit.diff | 23 + ...smute.unreachable_box.ConstProp.32bit.diff | 23 - ...smute.unreachable_box.ConstProp.64bit.diff | 23 - .../transmute.unreachable_box.GVN.32bit.diff | 23 + .../transmute.unreachable_box.GVN.64bit.diff | 23 + ...te.unreachable_direct.ConstProp.32bit.diff | 22 - ...te.unreachable_direct.ConstProp.64bit.diff | 22 - ...ransmute.unreachable_direct.GVN.32bit.diff | 24 + ...ransmute.unreachable_direct.GVN.64bit.diff | 24 + ...smute.unreachable_mut.ConstProp.32bit.diff | 24 - ...smute.unreachable_mut.ConstProp.64bit.diff | 24 - .../transmute.unreachable_mut.GVN.32bit.diff | 25 + .../transmute.unreachable_mut.GVN.64bit.diff | 25 + ...smute.unreachable_ref.ConstProp.32bit.diff | 20 - ...smute.unreachable_ref.ConstProp.64bit.diff | 20 - .../transmute.unreachable_ref.GVN.32bit.diff | 20 + .../transmute.unreachable_ref.GVN.64bit.diff | 20 + .../transmute.valid_char.ConstProp.32bit.diff | 15 - .../transmute.valid_char.ConstProp.64bit.diff | 15 - .../transmute.valid_char.GVN.32bit.diff | 15 + .../transmute.valid_char.GVN.64bit.diff | 15 + ...ropagation.main.ConstProp.panic-abort.diff | 45 - ...opagation.main.ConstProp.panic-unwind.diff | 45 - ...eral_propagation.main.GVN.panic-abort.diff | 39 + ...ral_propagation.main.GVN.panic-unwind.diff | 39 + .../const_prop/tuple_literal_propagation.rs | 4 +- ..._let_loops.change_loop_body.ConstProp.diff | 54 - .../while_let_loops.change_loop_body.GVN.diff | 60 + tests/mir-opt/const_prop/while_let_loops.rs | 4 +- tests/mir-opt/copy-prop/borrowed_local.rs | 4 +- tests/mir-opt/copy-prop/calls.rs | 2 +- ...stom_move_arg.f.CopyProp.panic-unwind.diff | 8 +- tests/mir-opt/copy-prop/custom_move_arg.rs | 6 +- ...ve_projection.f.CopyProp.panic-unwind.diff | 6 +- tests/mir-opt/copy-prop/move_projection.rs | 6 +- ...losure#0}.coroutine_drop.0.panic-abort.mir | 21 - ...osure#0}.coroutine_drop.0.panic-unwind.mir | 21 - ...lice.main.ConstProp.32bit.panic-abort.diff | 119 - ...ice.main.ConstProp.32bit.panic-unwind.diff | 123 - ...lice.main.ConstProp.64bit.panic-abort.diff | 119 - ...ice.main.ConstProp.64bit.panic-unwind.diff | 123 - ...n.DataflowConstProp.32bit.panic-abort.diff | 39 +- ....DataflowConstProp.32bit.panic-unwind.diff | 39 +- ...n.DataflowConstProp.64bit.panic-abort.diff | 39 +- ....DataflowConstProp.64bit.panic-unwind.diff | 39 +- ...oxed_slice.main.GVN.32bit.panic-abort.diff | 105 + ...xed_slice.main.GVN.32bit.panic-unwind.diff | 109 + ...oxed_slice.main.GVN.64bit.panic-abort.diff | 105 + ...xed_slice.main.GVN.64bit.panic-unwind.diff | 109 + .../default_boxed_slice.rs | 4 +- .../mir-opt/dataflow-const-prop/offset_of.rs | 2 +- ...eadStoreElimination-final.panic-abort.diff | 15 + ...adStoreElimination-final.panic-unwind.diff | 15 + ...cked.DeadStoreElimination.panic-abort.diff | 15 - ...ked.DeadStoreElimination.panic-unwind.diff | 15 - ...eadStoreElimination-final.panic-abort.diff | 23 + ...adStoreElimination-final.panic-unwind.diff | 23 + ...mple.DeadStoreElimination.panic-abort.diff | 23 - ...ple.DeadStoreElimination.panic-unwind.diff | 23 - .../dead-store-elimination/call_arg_copy.rs | 14 +- ...le.cycle.DeadStoreElimination-initial.diff | 33 + .../cycle.cycle.DeadStoreElimination.diff | 29 - tests/mir-opt/dead-store-elimination/cycle.rs | 13 +- ...ion.main.DeadStoreElimination-initial.diff | 19 + ...ace_mention.main.DeadStoreElimination.diff | 19 - .../dead-store-elimination/place_mention.rs | 15 +- ...r_to_int.DeadStoreElimination-initial.diff | 35 + ...s.pointer_to_int.DeadStoreElimination.diff | 35 - ...s.retags.DeadStoreElimination-initial.diff | 14 + ...soundness.retags.DeadStoreElimination.diff | 14 - .../provenance_soundness.rs | 18 +- ...oo.DestinationPropagation.panic-abort.diff | 18 +- ...o.DestinationPropagation.panic-unwind.diff | 18 +- ...in.DestinationPropagation.panic-abort.diff | 10 +- ...n.DestinationPropagation.panic-unwind.diff | 10 +- ....f.DestinationPropagation.panic-abort.diff | 80 - ...f.DestinationPropagation.panic-unwind.diff | 80 - tests/mir-opt/dest-prop/unreachable.rs | 20 - ...onential_common.ConstProp.panic-abort.diff | 111 - ...nential_common.ConstProp.panic-unwind.diff | 111 - ...to_exponential_common.GVN.panic-abort.diff | 139 + ...o_exponential_common.GVN.panic-unwind.diff | 139 + tests/mir-opt/funky_arms.rs | 2 +- .../gvn.arithmetic.GVN.panic-abort.diff | 385 +- .../gvn.arithmetic.GVN.panic-unwind.diff | 385 +- ...vn.arithmetic_checked.GVN.panic-abort.diff | 101 +- ...n.arithmetic_checked.GVN.panic-unwind.diff | 101 +- .../gvn.comparison.GVN.panic-abort.diff | 10 +- .../gvn.comparison.GVN.panic-unwind.diff | 10 +- .../gvn.dereferences.GVN.panic-abort.diff | 18 +- .../gvn.dereferences.GVN.panic-unwind.diff | 18 +- .../gvn.fn_pointers.GVN.panic-abort.diff | 18 +- .../gvn.fn_pointers.GVN.panic-unwind.diff | 18 +- .../gvn.repeated_index.GVN.panic-abort.diff | 13 +- .../gvn.repeated_index.GVN.panic-unwind.diff | 13 +- tests/mir-opt/gvn.rs | 140 +- tests/mir-opt/gvn.slices.GVN.panic-abort.diff | 12 +- .../mir-opt/gvn.slices.GVN.panic-unwind.diff | 12 +- ...xpression_elimination.GVN.panic-abort.diff | 30 +- ...pression_elimination.GVN.panic-unwind.diff | 30 +- tests/mir-opt/gvn.unary.GVN.panic-abort.diff | 153 + tests/mir-opt/gvn.unary.GVN.panic-unwind.diff | 153 + .../gvn.wide_ptr_ops.GVN.panic-abort.diff | 386 + .../gvn.wide_ptr_ops.GVN.panic-unwind.diff | 386 + .../gvn_uninhabited.f.GVN.panic-abort.diff | 34 + .../gvn_uninhabited.f.GVN.panic-unwind.diff | 34 + tests/mir-opt/gvn_uninhabited.rs | 24 + tests/mir-opt/inline/indirect_destination.rs | 2 +- ...ine_coroutine.main.Inline.panic-abort.diff | 2 +- ...ne_coroutine.main.Inline.panic-unwind.diff | 2 +- ...inline_diverging.h.Inline.panic-abort.diff | 2 +- ...nline_diverging.h.Inline.panic-unwind.diff | 2 +- ...inline_instruction_set.default.Inline.diff | 2 +- ...67_inline_as_ref_as_mut.b.Inline.after.mir | 2 +- ...67_inline_as_ref_as_mut.d.Inline.after.mir | 2 +- ...unchecked.PreCodegen.after.panic-abort.mir | 2 +- ...nchecked.PreCodegen.after.panic-unwind.mir | 2 +- ...ument_coverage.bar.InstrumentCoverage.diff | 2 +- ...ment_coverage.main.InstrumentCoverage.diff | 10 +- ...ransmutes.adt_transmutes.InstSimplify.diff | 4 +- ...ue_101973.inner.ConstProp.panic-abort.diff | 83 - ...e_101973.inner.ConstProp.panic-unwind.diff | 83 - .../issue_101973.inner.GVN.panic-abort.diff | 90 + .../issue_101973.inner.GVN.panic-unwind.diff | 90 + tests/mir-opt/issue_101973.rs | 4 +- ..._to_digit.PreCodegen.after.panic-abort.mir | 2 +- ...to_digit.PreCodegen.after.panic-unwind.mir | 2 +- ...g.aggregate.JumpThreading.panic-abort.diff | 52 + ....aggregate.JumpThreading.panic-unwind.diff | 52 + ...ding.assume.JumpThreading.panic-abort.diff | 39 + ...ing.assume.JumpThreading.panic-unwind.diff | 39 + ...ng.identity.JumpThreading.panic-abort.diff | 14 +- ...g.identity.JumpThreading.panic-unwind.diff | 14 +- tests/mir-opt/jump_threading.rs | 74 +- tests/mir-opt/nll/named_lifetimes_basic.rs | 4 +- tests/mir-opt/nll/region_subtyping_basic.rs | 4 +- ...ecked_ops.checked_shl.PreCodegen.after.mir | 6 +- ...d_constant.main.GVN.32bit.panic-abort.diff | 42 +- ..._constant.main.GVN.32bit.panic-unwind.diff | 36 +- ...d_constant.main.GVN.64bit.panic-abort.diff | 42 +- ..._constant.main.GVN.64bit.panic-unwind.diff | 36 +- .../loops.filter_mapped.PreCodegen.after.mir | 2 +- .../loops.int_range.PreCodegen.after.mir | 8 +- .../loops.mapped.PreCodegen.after.mir | 2 +- tests/mir-opt/pre-codegen/loops.rs | 1 + ...m_replace.mem_replace.PreCodegen.after.mir | 19 +- ...able.main.ConstProp.32bit.panic-abort.diff | 63 - ...ble.main.ConstProp.32bit.panic-unwind.diff | 63 - ...able.main.ConstProp.64bit.panic-abort.diff | 63 - ...ble.main.ConstProp.64bit.panic-unwind.diff | 63 - ...o_variable.main.GVN.32bit.panic-abort.diff | 69 + ..._variable.main.GVN.32bit.panic-unwind.diff | 69 + ...o_variable.main.GVN.64bit.panic-abort.diff | 69 + ..._variable.main.GVN.64bit.panic-unwind.diff | 69 + ...acementOfAggregates.32bit.panic-abort.diff | 1 - ...cementOfAggregates.32bit.panic-unwind.diff | 1 - ...acementOfAggregates.64bit.panic-abort.diff | 1 - ...cementOfAggregates.64bit.panic-unwind.diff | 1 - .../pre-codegen/optimizes_into_variable.rs | 2 +- ...ward_loop.PreCodegen.after.panic-abort.mir | 8 +- ...ard_loop.PreCodegen.after.panic-unwind.mir | 8 +- ...sive_loop.PreCodegen.after.panic-abort.mir | 2 +- ...ive_loop.PreCodegen.after.panic-unwind.mir | 2 +- ...iter_next.PreCodegen.after.panic-abort.mir | 6 +- ...ter_next.PreCodegen.after.panic-unwind.mir | 6 +- ...mple_option_map.ezmap.PreCodegen.after.mir | 6 +- ...variant_a-{closure#0}.PreCodegen.after.mir | 314 +- ...variant_b-{closure#0}.PreCodegen.after.mir | 56 +- ...mut_usize.PreCodegen.after.panic-abort.mir | 13 +- ...ut_usize.PreCodegen.after.panic-unwind.mir | 13 +- ...mut_range.PreCodegen.after.panic-abort.mir | 21 +- ...ut_range.PreCodegen.after.panic-unwind.mir | 21 +- ...ated_loop.PreCodegen.after.panic-abort.mir | 19 +- ...ted_loop.PreCodegen.after.panic-unwind.mir | 19 +- ...ward_loop.PreCodegen.after.panic-abort.mir | 17 +- ...ard_loop.PreCodegen.after.panic-unwind.mir | 17 +- ...ange_loop.PreCodegen.after.panic-abort.mir | 8 +- ...nge_loop.PreCodegen.after.panic-unwind.mir | 8 +- ...erse_loop.PreCodegen.after.panic-abort.mir | 19 +- ...rse_loop.PreCodegen.after.panic-unwind.mir | 19 +- .../try_identity.new.PreCodegen.after.mir | 8 +- .../try_identity.old.PreCodegen.after.mir | 4 +- tests/mir-opt/reference_prop.rs | 11 +- tests/mir-opt/remove_never_const.rs | 3 - ...t_switch.identity.SeparateConstSwitch.diff | 96 +- ...witch.too_complex.SeparateConstSwitch.diff | 63 +- .../set_no_discriminant.f.JumpThreading.diff | 26 + ...no_discriminant.generic.JumpThreading.diff | 26 + tests/mir-opt/set_no_discriminant.rs | 78 + ...ondition-after-const-prop.panic-abort.diff | 12 +- ...ndition-after-const-prop.panic-unwind.diff | 12 +- ...lify_match.main.ConstProp.panic-abort.diff | 30 - ...ify_match.main.ConstProp.panic-unwind.diff | 30 - .../simplify_match.main.GVN.panic-abort.diff | 34 + .../simplify_match.main.GVN.panic-unwind.diff | 34 + tests/mir-opt/simplify_match.rs | 2 +- .../spanview_block.main.built.after.html | 67 - tests/mir-opt/spanview_block.rs | 6 - .../spanview_statement.main.built.after.html | 67 - tests/mir-opt/spanview_statement.rs | 6 - .../spanview_terminator.main.built.after.html | 66 - tests/mir-opt/spanview_terminator.rs | 6 - tests/pretty/delegation.rs | 25 + tests/pretty/delimited-token-groups.rs | 2 +- tests/pretty/issue-4264.pp | 2 +- tests/pretty/macro_rules.rs | 10 +- tests/pretty/offset_of.rs | 1 - tests/pretty/stmt_expr_attributes.rs | 2 +- tests/pretty/tests-are-sorted.pp | 9 +- .../hotplug_codegen_backend/Makefile | 1 - .../hotplug_codegen_backend/the_backend.rs | 2 +- .../obtain-borrowck/driver.rs | 2 +- tests/run-make/libtest-padding/Makefile | 14 + tests/run-make/libtest-padding/bench.stdout | 9 + tests/run-make/libtest-padding/test.stdout | 9 + tests/run-make/libtest-padding/tests.rs | 18 + tests/run-make/raw-dylib-c/Makefile | 2 +- .../raw-dylib-inline-cross-dylib/Makefile | 2 +- .../run-make/raw-dylib-link-ordinal/Makefile | 2 +- tests/run-make/sanitizer-cdylib-link/Makefile | 2 +- .../run-make/sanitizer-cdylib-link/program.rs | 2 + tests/run-make/sanitizer-dylib-link/Makefile | 2 +- .../run-make/sanitizer-dylib-link/program.rs | 2 + .../sanitizer-staticlib-link/program.rs | 2 +- .../run-make/symbol-mangling-hashed/Makefile | 48 + .../symbol-mangling-hashed/a_dylib.rs | 4 + .../run-make/symbol-mangling-hashed/a_rlib.rs | 5 + .../run-make/symbol-mangling-hashed/b_bin.rs | 9 + .../symbol-mangling-hashed/b_dylib.rs | 9 + tests/run-make/target-specs/Makefile | 2 +- tests/rustdoc-gui/code-sidebar-toggle.goml | 4 +- tests/rustdoc-gui/cursor.goml | 2 +- tests/rustdoc-gui/docblock-details.goml | 2 +- tests/rustdoc-gui/globals.goml | 2 +- tests/rustdoc-gui/headers-color.goml | 8 +- tests/rustdoc-gui/headings-anchor.goml | 32 + tests/rustdoc-gui/huge-logo.goml | 10 - tests/rustdoc-gui/rust-logo.goml | 10 - tests/rustdoc-gui/search-form-elements.goml | 9 + .../sidebar-resize-close-popover.goml | 20 + tests/rustdoc-gui/sidebar-resize-setting.goml | 28 + .../sidebar-source-code-display.goml | 59 +- tests/rustdoc-gui/sidebar-source-code.goml | 8 +- tests/rustdoc-gui/source-code-page.goml | 28 +- tests/rustdoc-gui/src/test_docs/lib.rs | 3 + .../src/theme_css/custom-theme.css | 1 + tests/rustdoc-gui/warning-block.goml | 13 + tests/rustdoc-js-std/asrawfd.js | 1 - tests/rustdoc-js-std/parser-errors.js | 17 +- tests/rustdoc-js-std/parser-slice-array.js | 18 + tests/rustdoc-js-std/parser-tuple.js | 365 + tests/rustdoc-js-std/parser-weird-queries.js | 2 +- tests/rustdoc-js-std/path-maxeditdistance.js | 42 + tests/rustdoc-js-std/path-ordering.js | 31 +- tests/rustdoc-js/exact-match.js | 1 - tests/rustdoc-js/module-substring.js | 22 +- tests/rustdoc-js/path-maxeditdistance.js | 35 + tests/rustdoc-js/path-maxeditdistance.rs | 3 + tests/rustdoc-js/path-ordering.js | 8 +- tests/rustdoc-js/path-ordering.rs | 6 +- tests/rustdoc-js/tuple-unit.js | 80 + tests/rustdoc-js/tuple-unit.rs | 18 + tests/rustdoc-json/traits/is_object_safe.rs | 19 + tests/rustdoc-ui/bounded-hr-lifetime.rs | 2 +- tests/rustdoc-ui/bounded-hr-lifetime.stderr | 2 +- .../rustdoc-ui/error-in-impl-trait/README.md | 2 +- ...eature-gate-custom_code_classes_in_docs.rs | 1 + ...re-gate-custom_code_classes_in_docs.stderr | 1 + .../feature-gate-doc_cfg_hide.stderr | 1 + tests/rustdoc-ui/ice-blanket-impl-52873.rs | 175 + .../ice-blanket-impl-selection-55001.rs | 35 + tests/rustdoc-ui/ice-bug-report-url.stderr | 2 +- .../feature-gate-intra-doc-pointers.stderr | 2 + tests/rustdoc-ui/issues/issue-105742.stderr | 4 + .../issues/issue-81662-shortness.rs | 3 +- .../issues/issue-81662-shortness.stdout | 8 +- ...-gate-rustdoc_missing_doc_code_examples.rs | 1 + ...e-rustdoc_missing_doc_code_examples.stderr | 1 + tests/rustdoc-ui/unable-fulfill-trait.rs | 1 - tests/rustdoc-ui/unable-fulfill-trait.stderr | 23 +- tests/rustdoc-ui/unescaped_backticks.stderr | 3 - tests/rustdoc/async-fn.rs | 18 +- ...o-trait-bounds-by-associated-type-50159.rs | 23 + ...-trait-bounds-inference-variables-54705.rs | 30 + .../rustdoc/auto-trait-bounds-where-51236.rs | 17 + .../rustdoc/auto-trait-negative-impl-55321.rs | 21 + .../rustdoc/blank-line-in-doc-block-47197.rs | 11 + .../rustdoc/check-source-code-urls-to-def.rs | 2 +- tests/rustdoc/demo-allocator-54478.rs | 45 + tests/rustdoc/deref-mut-35169-2.rs | 43 + tests/rustdoc/deref-mut-35169.rs | 38 + .../disambiguate-anchors-header-29449.rs | 15 +- tests/rustdoc/doc-attr-comment-mix-42760.rs | 18 + tests/rustdoc/doc-cfg-target-feature.rs | 1 - ...octest-escape-boring-41783.codeblock.html} | 0 .../doctest/doctest-escape-boring-41783.rs | 22 + tests/rustdoc/enum-variant-reexport-35488.rs | 16 + ...te-definition-without-blank-line-100638.rs | 15 + .../glob-reexport-attribute-merge-120487.rs | 32 + tests/rustdoc/impl-blanket-53689.rs | 17 + .../rustdoc/impl-on-ty-alias-issue-119015.rs | 27 + tests/rustdoc/impl-trait-43869.rs | 75 + .../auxiliary/default-generic-args.rs | 9 +- .../auxiliary/issue-46727.rs | 0 .../auxiliary/u_default_generic_args.rs | 1 + .../rustdoc/inline_cross/const-eval-46727.rs | 10 + .../inline_cross/default-generic-args.rs | 32 +- .../module-scope-name-resolution-55364.rs | 89 + tests/rustdoc/issue-35169-2.rs | 40 - tests/rustdoc/issue-35169.rs | 35 - tests/rustdoc/issue-35488.rs | 13 - tests/rustdoc/issue-41783.rs | 19 - tests/rustdoc/issue-42760.rs | 15 - tests/rustdoc/issue-43869.rs | 72 - tests/rustdoc/issue-46377.rs | 3 - tests/rustdoc/issue-46380-2.rs | 9 - tests/rustdoc/issue-46727.rs | 7 - .../issue-47197-blank-line-in-doc-block.rs | 8 - tests/rustdoc/issue-50159.rs | 20 - tests/rustdoc/issue-51236.rs | 14 - tests/rustdoc/issue-52873.rs | 171 - tests/rustdoc/issue-53689.rs | 16 - tests/rustdoc/issue-53812.rs | 20 - tests/rustdoc/issue-54478-demo-allocator.rs | 42 - tests/rustdoc/issue-54705.rs | 27 - tests/rustdoc/issue-55001.rs | 31 - tests/rustdoc/issue-55321.rs | 18 - tests/rustdoc/issue-55364.rs | 86 - tests/rustdoc/jump-to-def-doc-links-calls.rs | 27 + tests/rustdoc/links-in-headings.rs | 14 + tests/rustdoc/logo-class-rust.rs | 1 - tests/rustdoc/logo-class.rs | 3 - ...ic-impl-mention-private-generic-46380-2.rs | 12 + tests/rustdoc/remove-url-from-headings.rs | 11 +- tests/rustdoc/short-docblock.rs | 6 +- tests/rustdoc/sort-53812.rs | 23 + tests/rustdoc/summary-header-46377.rs | 6 + tests/rustdoc/synthetic_auto/no-redundancy.rs | 3 + tests/rustdoc/trait-object-safe.rs | 4 +- tests/ui-fulldeps/deriving-global.rs | 1 + tests/ui-fulldeps/deriving-hygiene.rs | 1 + .../dropck-tarena-cycle-checked.rs | 2 - .../dropck-tarena-cycle-checked.stderr | 2 +- .../ui-fulldeps/dropck-tarena-unsound-drop.rs | 2 - .../dropck-tarena-unsound-drop.stderr | 2 +- .../ui-fulldeps/empty-struct-braces-derive.rs | 1 + tests/ui-fulldeps/hash-stable-is-unstable.rs | 15 + .../hash-stable-is-unstable.stderr | 15 +- .../ui-fulldeps/internal-lints/diagnostics.rs | 16 +- .../internal-lints/diagnostics.stderr | 6 +- .../internal-lints/query_stability.rs | 13 + .../internal-lints/query_stability.stderr | 26 +- .../internal-lints/span_use_eq_ctxt.rs | 1 - .../internal-lints/span_use_eq_ctxt.stderr | 4 +- tests/ui-fulldeps/pathless-extern-unstable.rs | 2 +- .../pathless-extern-unstable.stderr | 1 + tests/ui-fulldeps/rustc_encodable_hygiene.rs | 2 +- ...diagnostic-derive-doc-comment-field.stderr | 4 +- .../session-diagnostic/diagnostic-derive.rs | 168 +- .../diagnostic-derive.stderr | 270 +- .../session-diagnostic/enforce_slug_naming.rs | 3 +- .../enforce_slug_naming.stderr | 4 +- tests/ui-fulldeps/stable-mir/check_abi.rs | 6 +- .../stable-mir/check_allocation.rs | 10 +- tests/ui-fulldeps/stable-mir/check_defs.rs | 6 +- .../ui-fulldeps/stable-mir/check_instance.rs | 6 +- .../ui-fulldeps/stable-mir/check_item_kind.rs | 6 +- .../stable-mir/check_trait_queries.rs | 123 + tests/ui-fulldeps/stable-mir/check_ty_fold.rs | 6 +- .../stable-mir/compilation-result.rs | 20 +- tests/ui-fulldeps/stable-mir/crate-info.rs | 6 +- tests/ui-fulldeps/stable-mir/projections.rs | 6 +- tests/ui-fulldeps/stable-mir/smir_internal.rs | 6 +- tests/ui-fulldeps/stable-mir/smir_visitor.rs | 6 +- tests/ui/abi/statics/static-mut-foreign.rs | 2 + .../ui/abi/statics/static-mut-foreign.stderr | 31 + tests/ui/abi/unsupported.aarch64.stderr | 26 +- tests/ui/abi/unsupported.arm.stderr | 24 +- tests/ui/abi/unsupported.i686.stderr | 20 +- tests/ui/abi/unsupported.riscv32.stderr | 24 +- tests/ui/abi/unsupported.riscv64.stderr | 24 +- tests/ui/abi/unsupported.rs | 3 - tests/ui/abi/unsupported.x64.stderr | 24 +- .../no_std-alloc-error-handler-custom.rs | 2 +- .../no_std-alloc-error-handler-default.rs | 2 +- tests/ui/annotate-snippet/missing-type.rs | 3 +- tests/ui/annotate-snippet/missing-type.stderr | 2 +- tests/ui/annotate-snippet/multispan.rs | 15 +- tests/ui/annotate-snippet/multispan.stderr | 14 +- .../anon-params-edition-hygiene.rs | 5 +- .../anon-params-edition-hygiene.stderr | 23 + .../auxiliary/anon-params-edition-hygiene.rs | 13 +- .../anonymous-higher-ranked-lifetime.stderr | 55 +- .../ui/array-slice-vec/repeat_empty_ok.stderr | 4 + tests/ui/array-slice-vec/show-boxed-slice.rs | 2 +- .../suggest-array-length.stderr | 7 + tests/ui/asm/aarch64/const.rs | 2 - tests/ui/asm/bad-arch.mirunsafeck.stderr | 17 - tests/ui/asm/bad-arch.rs | 2 - tests/ui/asm/bad-arch.stderr | 17 + tests/ui/asm/bad-arch.thirunsafeck.stderr | 17 - tests/ui/asm/bad-template.aarch64.stderr | 202 + .../bad-template.aarch64_mirunsafeck.stderr | 202 - .../bad-template.aarch64_thirunsafeck.stderr | 202 - tests/ui/asm/bad-template.rs | 22 +- tests/ui/asm/bad-template.x86_64.stderr | 202 + .../bad-template.x86_64_mirunsafeck.stderr | 202 - .../bad-template.x86_64_thirunsafeck.stderr | 202 - tests/ui/asm/inline-syntax.arm.stderr | 12 +- tests/ui/asm/inline-syntax.arm_llvm_18.stderr | 90 + tests/ui/asm/inline-syntax.rs | 14 +- tests/ui/asm/inline-syntax.x86_64.stderr | 14 +- tests/ui/asm/named-asm-labels.rs | 21 + tests/ui/asm/named-asm-labels.stderr | 103 +- tests/ui/asm/x86_64/const.rs | 2 - .../associated-const-type-parameters.rs | 2 +- tests/ui/associated-consts/issue-105330.rs | 1 - .../ui/associated-consts/issue-105330.stderr | 16 +- ...9-assoc-const-static-recursion-impl.stderr | 5 - ...onst-static-recursion-trait-default.stderr | 5 - ...-assoc-const-static-recursion-trait.stderr | 5 - tests/ui/associated-consts/issue-58022.stderr | 2 +- tests/ui/associated-consts/issue-93835.stderr | 2 + .../assoc-inherent-unstable.stderr | 1 + .../dont-select-if-disabled.stderr | 1 + .../issue-109071.no_gate.stderr | 12 +- .../associated-inherent-types/issue-109071.rs | 4 +- .../issue-109071.with_gate.stderr | 19 +- .../issue-109299-1.rs | 1 + .../issue-109299-1.stderr | 10 +- .../associated-inherent-types/issue-109768.rs | 1 + .../issue-109768.stderr | 25 +- ...nsatisfied-bounds-in-multiple-impls.stderr | 5 +- tests/ui/associated-type-bounds/duplicate.rs | 12 + .../associated-type-bounds/duplicate.stderr | 256 +- .../associated-type-bounds/issue-99828.stderr | 1 + .../bad-inputs-and-output.stderr | 2 + .../return-type-notation/basic.without.stderr | 2 +- .../issue-120208-higher-ranked-const.rs | 17 + .../issue-120208-higher-ranked-const.stderr | 20 + .../unpretty-parenthesized.stderr | 1 + ...on-ambig-between-bound-and-where-clause.rs | 2 +- ...pe-projection-from-multiple-supertraits.rs | 4 +- ...rojection-from-multiple-supertraits.stderr | 24 +- .../associated-types-method.rs | 2 +- ...ciated-types-no-suitable-supertrait.stderr | 24 +- .../associated-types-path-2.rs | 2 - .../associated-types-path-2.stderr | 24 +- .../associated-types-struct-field-numbered.rs | 2 +- .../associated-types-unconstrained.stderr | 2 +- .../defaults-cyclic-fail-1.rs | 4 +- .../defaults-cyclic-fail-1.stderr | 4 +- .../defaults-cyclic-fail-2.rs | 4 +- .../defaults-cyclic-fail-2.stderr | 4 +- .../defaults-suitability.stderr | 6 +- .../hr-associated-type-bound-1.stderr | 2 +- .../hr-associated-type-bound-param-1.stderr | 2 +- .../hr-associated-type-bound-param-2.stderr | 2 +- .../hr-associated-type-bound-param-3.stderr | 2 +- .../hr-associated-type-bound-param-4.stderr | 2 +- .../hr-associated-type-bound-param-5.stderr | 4 +- .../associated-types/impl-wf-cycle-1.stderr | 7 + .../associated-types/impl-wf-cycle-2.stderr | 8 + tests/ui/associated-types/impl-wf-cycle-3.rs | 13 + .../associated-types/impl-wf-cycle-3.stderr | 27 + tests/ui/associated-types/impl-wf-cycle-4.rs | 15 + .../associated-types/impl-wf-cycle-4.stderr | 25 + .../ui/associated-types/impl-wf-cycle-5.fixed | 31 + tests/ui/associated-types/impl-wf-cycle-5.rs | 32 + .../associated-types/impl-wf-cycle-5.stderr | 31 + .../ui/associated-types/impl-wf-cycle-6.fixed | 30 + tests/ui/associated-types/impl-wf-cycle-6.rs | 31 + .../associated-types/impl-wf-cycle-6.stderr | 29 + tests/ui/associated-types/issue-23595-1.rs | 2 +- .../ui/associated-types/issue-23595-1.stderr | 6 +- tests/ui/associated-types/issue-25700-1.rs | 2 +- tests/ui/associated-types/issue-25700-2.rs | 4 +- tests/ui/associated-types/issue-25700.rs | 2 +- tests/ui/associated-types/issue-38821.rs | 15 + tests/ui/associated-types/issue-38821.stderr | 270 +- .../issue-43784-associated-type.stderr | 2 +- .../ui/associated-types/issue-65774-1.stderr | 2 +- .../substs-ppaux.normal.stderr | 2 +- tests/ui/associated-types/substs-ppaux.rs | 2 +- .../substs-ppaux.verbose.stderr | 2 +- .../async-await/async-await-let-else.stderr | 8 +- tests/ui/async-await/async-await.rs | 3 +- .../async-borrowck-escaping-closure-error.rs | 3 +- ...ync-borrowck-escaping-closure-error.stderr | 21 - .../ui/async-await/async-closures/def-path.rs | 14 + .../async-closures/def-path.stderr | 17 + .../async-closures/higher-ranked.rs | 12 + .../async-closures/higher-ranked.stderr | 17 + tests/ui/async-await/async-fn-nonsend.stderr | 4 +- .../async-await/async-fn-size-moved-locals.rs | 2 +- .../async-fn-size-uninit-locals.rs | 2 +- tests/ui/async-await/async-fn/simple.rs | 16 + .../ui/async-await/async-is-unwindsafe.stderr | 26 +- .../async-unsafe-fn-call-in-safe.mir.stderr | 35 - .../async-unsafe-fn-call-in-safe.rs | 14 +- .../async-unsafe-fn-call-in-safe.stderr | 35 + .../async-unsafe-fn-call-in-safe.thir.stderr | 35 - ...-ice-attempted-to-add-with-overflow.stderr | 2 +- .../drop-track-bad-field-in-fru.stderr | 2 +- .../drop-track-field-assign-nonsend.stderr | 2 +- .../async-await/feature-async-closure.stderr | 1 + .../ui/async-await/feature-async-for-loop.rs | 23 + .../async-await/feature-async-for-loop.stderr | 23 + .../async-await/field-assign-nonsend.stderr | 2 +- tests/ui/async-await/for-await-2015.rs | 10 + .../ui/async-await/for-await-consumes-iter.rs | 20 + .../for-await-consumes-iter.stderr | 22 + tests/ui/async-await/for-await-passthrough.rs | 31 + tests/ui/async-await/for-await.rs | 23 + .../in-trait/async-default-fn-overridden.rs | 3 +- .../in-trait/async-recursive-generic.rs | 2 +- .../in-trait/async-recursive-generic.stderr | 10 +- .../async-await/in-trait/async-recursive.rs | 2 +- .../in-trait/async-recursive.stderr | 10 +- ...ont-project-to-specializable-projection.rs | 3 +- ...project-to-specializable-projection.stderr | 2 +- .../indirect-recursion-issue-112047.rs | 4 +- .../indirect-recursion-issue-112047.stderr | 15 +- .../in-trait/missing-send-bound.stderr | 2 +- .../returning-possibly-unsized-self.rs | 18 + .../inference_var_self_argument.rs | 12 + .../inference_var_self_argument.stderr | 28 + tests/ui/async-await/issue-101715.stderr | 2 +- .../ui/async-await/issue-64130-1-sync.stderr | 2 +- .../ui/async-await/issue-64130-2-send.stderr | 2 +- .../ui/async-await/issue-64130-3-other.stderr | 2 +- .../issue-64130-non-send-future-diags.stderr | 2 +- tests/ui/async-await/issue-66312.stderr | 12 +- .../issue-67252-unnamed-future.stderr | 10 +- tests/ui/async-await/issue-68112.stderr | 12 +- .../issue-70935-complex-spans.stderr | 2 +- tests/ui/async-await/issue-71137.stderr | 2 +- .../issue-72590-type-error-sized.stderr | 2 +- tests/ui/async-await/issues/issue-65159.rs | 2 +- .../ui/async-await/issues/issue-67893.stderr | 2 +- .../ui/async-await/issues/issue-95307.stderr | 1 + ...utually-recursive-async-impl-trait-type.rs | 4 +- ...lly-recursive-async-impl-trait-type.stderr | 21 +- .../no-params-non-move-async-closure.rs | 2 +- .../no-params-non-move-async-closure.stderr | 11 - .../partial-drop-partial-reinit.stderr | 2 +- .../async-await/pin-needed-to-poll-2.stderr | 4 +- .../recursive-async-impl-trait-type.rs | 2 +- .../recursive-async-impl-trait-type.stderr | 10 +- .../rtn-in-impl-signature.rs | 1 + .../rtn-in-impl-signature.stderr | 14 +- .../track-caller/async-block.afn.stderr | 3 + .../track-caller/async-block.nofeat.stderr | 3 + .../async-closure-gate.afn.stderr | 50 +- .../async-closure-gate.nofeat.stderr | 50 +- .../track-caller/async-closure-gate.rs | 2 + .../panic-track-caller.cls.stderr | 2 + .../panic-track-caller.nofeat.stderr | 2 + tests/ui/async-await/unnecessary-await.stderr | 8 +- tests/ui/auto-traits/auto-traits.rs | 2 +- tests/ui/auto-traits/issue-117789.stderr | 1 + tests/ui/auto-traits/issue-83857-ub.stderr | 2 +- tests/ui/auto-traits/pre-cfg.stderr | 1 + .../str-contains-slice-conceptually.stderr | 2 +- ...ault-trait-impl-constituent-types-2.stderr | 2 +- ...ypeck-default-trait-impl-precedence.stderr | 2 +- tests/ui/bench/issue-32062.rs | 4 +- .../binding/issue-53114-safety-checks.stderr | 192 +- tests/ui/binding/match-tag.rs | 2 +- tests/ui/binding/or-pattern.rs | 2 +- tests/ui/binding/simple-generic-match.rs | 2 +- tests/ui/binop/binary-op-suggest-deref.fixed | 8 - tests/ui/binop/binary-op-suggest-deref.rs | 81 +- tests/ui/binop/binary-op-suggest-deref.stderr | 312 +- tests/ui/block-result/issue-22645.stderr | 2 +- .../borrowck/borrowck-access-permissions.rs | 36 +- .../borrowck-access-permissions.stderr | 33 +- .../borrowck-unsafe-static-mutable-borrows.rs | 9 +- ...rowck-unsafe-static-mutable-borrows.stderr | 17 + tests/ui/borrowck/fn-item-check-trait-ref.rs | 15 + .../borrowck/fn-item-check-trait-ref.stderr | 12 + .../ui/borrowck/fn-item-check-type-params.rs | 57 + .../borrowck/fn-item-check-type-params.stderr | 43 + .../issue-119915-bad-clone-suggestion.rs | 28 + .../issue-119915-bad-clone-suggestion.stderr | 17 + tests/ui/borrowck/issue-20801.rs | 1 + tests/ui/borrowck/issue-20801.stderr | 25 +- ...ue-55492-borrowck-migrate-scans-parents.rs | 41 +- ...5492-borrowck-migrate-scans-parents.stderr | 75 +- tests/ui/borrowck/issue-85765-closure.rs | 1 - tests/ui/borrowck/issue-85765-closure.stderr | 13 +- tests/ui/borrowck/issue-85765.rs | 1 - tests/ui/borrowck/issue-85765.stderr | 13 +- tests/ui/borrowck/issue-91206.rs | 1 - tests/ui/borrowck/issue-91206.stderr | 7 +- tests/ui/bounds-lifetime.rs | 6 +- tests/ui/bounds-lifetime.stderr | 8 +- tests/ui/box/alloc-unstable-fail.stderr | 1 + .../box/unit/unique-object-noncopyable.stderr | 15 +- tests/ui/box/unit/unique-pinned-nocopy.stderr | 12 +- .../builtin-superkinds-in-metadata2.rs | 2 +- ...e-gate-extended_varargs_abi_support.stderr | 3 + tests/ui/c-variadic/variadic-ffi-2.rs | 5 +- tests/ui/c-variadic/variadic-ffi-2.stderr | 2 +- tests/ui/cast/cast-to-slice.rs | 8 + tests/ui/cast/cast-to-slice.stderr | 19 + tests/ui/cfg/cfg-false-feature.stderr | 2 + tests/ui/cfg/diagnostics-cross-crate.rs | 2 +- tests/ui/cfg/diagnostics-cross-crate.stderr | 8 +- tests/ui/cfg/diagnostics-same-crate.rs | 3 +- tests/ui/cfg/diagnostics-same-crate.stderr | 12 +- tests/ui/check-cfg/cargo-feature.none.stderr | 27 +- tests/ui/check-cfg/cargo-feature.rs | 10 +- tests/ui/check-cfg/cargo-feature.some.stderr | 18 +- tests/ui/check-cfg/compact-values.stderr | 1 - tests/ui/check-cfg/concat-values.rs | 4 + tests/ui/check-cfg/concat-values.stderr | 4 +- tests/ui/check-cfg/empty-values.rs | 14 + tests/ui/check-cfg/empty-values.stderr | 23 + .../exhaustive-names-values.empty_cfg.stderr | 1 - .../exhaustive-names-values.feature.stderr | 1 - .../exhaustive-names-values.full.stderr | 1 - .../exhaustive-values.empty_cfg.stderr | 1 - .../exhaustive-values.without_names.stderr | 1 - .../invalid-arguments.cfg_none.stderr | 2 + ...invalid-arguments.ident_in_values_1.stderr | 2 +- ...invalid-arguments.ident_in_values_2.stderr | 2 +- .../invalid-arguments.none_not_empty.stderr | 2 + tests/ui/check-cfg/invalid-arguments.rs | 3 + ...valid-arguments.unknown_meta_item_3.stderr | 2 +- .../check-cfg/no-expected-values.empty.stderr | 1 - .../check-cfg/no-expected-values.mixed.stderr | 1 - tests/ui/check-cfg/no-expected-values.rs | 2 +- .../no-expected-values.simple.stderr | 1 - .../ui/check-cfg/values-none.explicit.stderr | 27 + .../ui/check-cfg/values-none.implicit.stderr | 27 + tests/ui/check-cfg/values-none.rs | 23 + tests/ui/check-cfg/well-known-values.stderr | 32 +- .../expect-infer-var-appearing-twice.stderr | 11 +- .../arrays-completely-captured.rs | 1 + .../arrays-completely-captured.stderr | 11 +- .../2229_closure_analysis/by_value.rs | 1 + .../2229_closure_analysis/by_value.stderr | 13 +- .../capture-analysis-1.rs | 1 + .../capture-analysis-1.stderr | 17 +- .../capture-analysis-2.rs | 1 + .../capture-analysis-2.stderr | 11 +- .../capture-analysis-3.rs | 1 + .../capture-analysis-3.stderr | 11 +- .../capture-analysis-4.rs | 1 + .../capture-analysis-4.stderr | 11 +- .../capture-disjoint-field-struct.rs | 1 + .../capture-disjoint-field-struct.stderr | 9 +- .../capture-disjoint-field-tuple.rs | 1 + .../capture-disjoint-field-tuple.stderr | 9 +- .../2229_closure_analysis/capture-enums.rs | 2 + .../capture-enums.stderr | 28 +- .../deep-multilevel-struct.rs | 1 + .../deep-multilevel-struct.stderr | 13 +- .../deep-multilevel-tuple.rs | 1 + .../deep-multilevel-tuple.stderr | 13 +- .../destructure_patterns.rs | 3 + .../destructure_patterns.stderr | 47 +- .../feature-gate-capture_disjoint_fields.rs | 1 + ...eature-gate-capture_disjoint_fields.stderr | 9 +- .../2229_closure_analysis/issue-87378.rs | 1 + .../2229_closure_analysis/issue-87378.stderr | 9 +- .../issue-88118-2.stderr | 4 +- .../2229_closure_analysis/issue-88476.rs | 2 + .../2229_closure_analysis/issue-88476.stderr | 16 +- .../migrations/auto_traits.fixed | 4 +- .../migrations/auto_traits.rs | 4 +- .../migrations/multi_diagnostics.fixed | 4 +- .../migrations/multi_diagnostics.rs | 4 +- .../migrations/significant_drop.fixed | 2 +- .../migrations/significant_drop.rs | 2 +- .../2229_closure_analysis/move_closure.rs | 11 + .../2229_closure_analysis/move_closure.stderr | 119 +- .../multilevel-path-1.rs | 1 + .../multilevel-path-1.stderr | 9 +- .../multilevel-path-2.rs | 1 + .../multilevel-path-2.stderr | 9 +- .../2229_closure_analysis/nested-closure.rs | 2 + .../nested-closure.stderr | 30 +- .../optimization/edge_case.rs | 1 + .../optimization/edge_case.stderr | 1 + .../path-with-array-access.rs | 1 + .../path-with-array-access.stderr | 9 +- .../preserve_field_drop_order.rs | 3 + .../preserve_field_drop_order.stderr | 67 +- .../2229_closure_analysis/repr_packed.rs | 3 + .../2229_closure_analysis/repr_packed.stderr | 37 +- .../simple-struct-min-capture.rs | 1 + .../simple-struct-min-capture.stderr | 11 +- .../2229_closure_analysis/unsafe_ptr.rs | 2 + .../2229_closure_analysis/unsafe_ptr.stderr | 20 +- .../2229_closure_analysis/wild_patterns.rs | 3 + .../wild_patterns.stderr | 31 +- .../binder/bounds-on-closure-type-binders.rs | 14 + .../bounds-on-closure-type-binders.stderr | 14 + .../ui/closures/binder/disallow-const.stderr | 1 + tests/ui/closures/binder/disallow-ty.stderr | 1 + tests/ui/closures/closure-move-sync.stderr | 2 +- .../closure-return-type-must-be-sized.stderr | 30 +- ...ure_no_cap_coerce_many_unsafe_0.mir.stderr | 19 - .../closure_no_cap_coerce_many_unsafe_0.rs | 3 - ...closure_no_cap_coerce_many_unsafe_0.stderr | 19 + ...re_no_cap_coerce_many_unsafe_0.thir.stderr | 19 - ...unsafe-closure-to-unsafe-fn-ptr.mir.stderr | 11 - .../coerce-unsafe-closure-to-unsafe-fn-ptr.rs | 3 - ...rce-unsafe-closure-to-unsafe-fn-ptr.stderr | 11 + ...nsafe-closure-to-unsafe-fn-ptr.thir.stderr | 11 - tests/ui/closures/issue-112547.rs | 15 - tests/ui/closures/issue-112547.stderr | 23 - tests/ui/closures/multiple-fn-bounds.stderr | 5 +- ...losure-print-generic-trim-off-verbose-2.rs | 2 +- ...re-print-generic-trim-off-verbose-2.stderr | 2 +- .../print/closure-print-generic-verbose-1.rs | 2 +- .../print/closure-print-generic-verbose-2.rs | 2 +- .../closure-print-generic-verbose-2.stderr | 2 +- .../closures/print/closure-print-verbose.rs | 2 +- .../print/closure-print-verbose.stderr | 2 +- .../ui/closures/thir-unsafeck-issue-85871.rs | 1 - .../cmse-nonsecure-call/gate_test.stderr | 1 + .../cmse-nonsecure-entry/gate_test.stderr | 1 + tests/ui/codegen/issue-16602-3.rs | 2 +- tests/ui/codegen/mismatched-data-layout.json | 13 + tests/ui/codegen/mismatched-data-layouts.rs | 14 + .../ui/codegen/mismatched-data-layouts.stderr | 4 + tests/ui/coercion/issue-14589.rs | 2 +- tests/ui/coercion/issue-53475.rs | 2 +- .../warn-when-cycle-is-error-in-coherence.rs | 7 +- ...rn-when-cycle-is-error-in-coherence.stderr | 46 +- tests/ui/command/command-create-pidfd.rs | 56 - tests/ui/command/command-pre-exec.rs | 2 - .../cfg-attr-crate-2.stderr | 1 + .../cfg-attr-multi-invalid-1.stderr | 1 + .../cfg-attr-multi-invalid-2.stderr | 1 + .../cfg-generic-params.stderr | 3 + .../cfg_accessible-unstable.stderr | 1 + .../const_param_ty_bad_empty_array.stderr | 2 +- ...param_ty_generic_bounds_do_not_hold.stderr | 6 +- .../const_param_ty_impl_no_structural_eq.rs | 6 +- ...onst_param_ty_impl_no_structural_eq.stderr | 25 +- .../const_param_ty_impl_union.rs | 4 +- .../const_param_ty_impl_union.stderr | 4 +- .../assoc_const_eq_diagnostic.rs | 3 +- .../assoc_const_eq_diagnostic.stderr | 23 +- .../bad-generic-in-copy-impl.rs | 1 + .../bad-generic-in-copy-impl.stderr | 10 +- .../ui/const-generics/bad-subst-const-kind.rs | 1 + .../bad-subst-const-kind.stderr | 16 +- .../const-argument-cross-crate.rs | 2 +- tests/ui/const-generics/default-ty-closure.rs | 6 + .../const-generics/default-ty-closure.stderr | 10 + .../ensure_is_evaluatable.stderr | 2 +- .../fn_with_two_const_inputs.stderr | 2 +- .../generic_arg_infer/issue-91614.stderr | 2 +- .../abstract-const-as-cast-3.stderr | 16 +- .../generic_const_exprs/associated-consts.rs | 2 +- .../generic_const_exprs/issue-102768.rs | 5 + .../generic_const_exprs/issue-102768.stderr | 84 +- .../generic_const_exprs/issue-105257.rs | 1 + .../generic_const_exprs/issue-105257.stderr | 11 +- .../generic_const_exprs/issue-85848.stderr | 4 +- .../obligation-cause.stderr | 2 +- .../generic_const_exprs/type_mismatch.rs | 3 + .../generic_const_exprs/type_mismatch.stderr | 33 +- .../typeid-equality-by-subtyping.stderr | 4 +- .../inhabited-assoc-ty-ice-1.rs | 2 +- .../inhabited-assoc-ty-ice-2.rs | 2 +- .../issues/issue-61336-2.stderr | 2 + .../const-generics/issues/issue-61336.stderr | 2 + .../issues/issue-67185-2.stderr | 4 +- .../issues/issue-71381.full.stderr | 2 +- .../issues/issue-71381.min.stderr | 20 +- tests/ui/const-generics/issues/issue-71381.rs | 6 +- .../issues/issue-71611.min.stderr | 10 +- tests/ui/const-generics/issues/issue-71611.rs | 3 +- .../issues/issue-74950.min.stderr | 20 +- tests/ui/const-generics/issues/issue-74950.rs | 2 - .../const-generics/issues/issue-79674.stderr | 2 +- tests/ui/const-generics/issues/issue-83765.rs | 3 + .../const-generics/issues/issue-83765.stderr | 42 +- .../late-bound-in-return-issue-77357.stderr | 11 +- .../min_const_generics/macro-fail.rs | 3 + .../min_const_generics/macro-fail.stderr | 28 +- ...ent_generics_of_encoding_impl_trait.stderr | 2 +- .../issue-89013-no-kw.stderr | 1 + .../parser-error-recovery/issue-89013.stderr | 1 + tests/ui/consts/assoc-const.rs | 2 +- .../consts/async-block.without_feature.stderr | 2 + .../auxiliary/closure-in-foreign-crate.rs | 2 +- .../const-address-of-interior-mut.stderr | 4 + tests/ui/consts/const-address-of-mut.rs | 8 +- tests/ui/consts/const-address-of-mut.stderr | 12 +- tests/ui/consts/const-assert-unchecked-ub.rs | 10 + .../consts/const-assert-unchecked-ub.stderr | 9 + .../const-blocks/fn-call-in-non-const.stderr | 2 +- .../consts/const-blocks/migrate-fail.stderr | 8 +- tests/ui/consts/const-blocks/nll-fail.stderr | 8 +- .../ui/consts/const-blocks/trait-error.stderr | 2 +- .../ui/consts/const-err-enum-discriminant.rs | 15 + .../consts/const-err-enum-discriminant.stderr | 9 + tests/ui/consts/const-err-late.stderr | 8 + tests/ui/consts/const-err4.32bit.stderr | 9 - tests/ui/consts/const-err4.64bit.stderr | 9 - tests/ui/consts/const-err4.rs | 16 - .../const-eval/const-eval-query-stack.stderr | 7 +- .../heap/alloc_intrinsic_nontransient.rs | 4 +- .../heap/alloc_intrinsic_nontransient_fail.rs | 18 - .../alloc_intrinsic_nontransient_fail.stderr | 10 - .../heap/alloc_intrinsic_untyped.rs | 4 +- .../heap/alloc_intrinsic_untyped.stderr | 27 +- .../heap/dealloc_intrinsic_dangling.rs | 2 +- .../heap/dealloc_intrinsic_dangling.stderr | 2 +- tests/ui/consts/const-eval/infinite_loop.rs | 10 +- .../ui/consts/const-eval/infinite_loop.stderr | 6 +- .../const-eval/issue-114994-fail.stderr | 2 + .../const-eval/issue-50814-2.mir-opt.stderr | 6 - tests/ui/consts/const-eval/issue-65394.stderr | 1 + .../ctfe-simple-loop.warn.stderr | 1 - .../ui/consts/const-eval/ub-enum.32bit.stderr | 134 - .../ui/consts/const-eval/ub-enum.64bit.stderr | 134 - tests/ui/consts/const-eval/ub-enum.rs | 4 +- tests/ui/consts/const-eval/ub-enum.stderr | 134 + tests/ui/consts/const-eval/ub-uninhabit.rs | 2 +- .../const-extern-fn-min-const-fn.stderr | 1 + .../const-extern-fn-requires-unsafe.rs | 13 +- .../const-extern-fn-requires-unsafe.stderr | 19 + .../feature-gate-const_extern_fn.stderr | 2 + tests/ui/consts/const-float-classify.rs | 29 +- tests/ui/consts/const-float-classify.stderr | 11 - tests/ui/consts/const-fn-error.stderr | 2 + tests/ui/consts/const-fn-in-vec.stderr | 4 +- tests/ui/consts/const-fn-mismatch.rs | 2 +- tests/ui/consts/const-fn-mismatch.stderr | 7 +- tests/ui/consts/const-fn-not-in-trait.stderr | 10 +- tests/ui/consts/const-for-feature-gate.stderr | 1 + tests/ui/consts/const-multi-ref.stderr | 2 + .../feature-gate-const_mut_refs.stderr | 1 + .../const-mut-refs/issue-76510.32bit.stderr | 1 + .../const-mut-refs/issue-76510.64bit.stderr | 1 + .../consts/const-mut-refs/mut_ref_in_final.rs | 15 + .../const-mut-refs/mut_ref_in_final.stderr | 26 +- ...ut_ref_in_final_dynamic_check.32bit.stderr | 8 +- ...ut_ref_in_final_dynamic_check.64bit.stderr | 8 +- .../mut_ref_in_final_dynamic_check.rs | 4 +- tests/ui/consts/const-needs_drop.rs | 4 +- .../const-points-to-static.32bit.stderr | 22 - .../const-points-to-static.64bit.stderr | 22 - tests/ui/consts/const-points-to-static.rs | 13 - tests/ui/consts/const-size_of-cycle.stderr | 5 - .../consts/const-size_of_val-align_of_val.rs | 2 +- tests/ui/consts/const-suggest-feature.stderr | 1 + tests/ui/consts/const-try-feature-gate.stderr | 1 + tests/ui/consts/const-try.stderr | 2 + tests/ui/consts/const-unsized.stderr | 48 +- tests/ui/consts/const_cmp_type_id.rs | 2 +- tests/ui/consts/const_cmp_type_id.stderr | 38 +- ..._fn_floating_point_arithmetic.stock.stderr | 5 + .../const_in_pattern/cross-crate-fail.rs | 4 +- .../const_in_pattern/cross-crate-fail.stderr | 8 +- .../const_in_pattern/custom-eq-branch-warn.rs | 4 +- .../custom-eq-branch-warn.stderr | 4 +- .../const_in_pattern/incomplete-slice.rs | 4 +- .../const_in_pattern/incomplete-slice.stderr | 22 +- .../ui/consts/const_in_pattern/issue-78057.rs | 16 - .../const_in_pattern/issue-78057.stderr | 11 - .../const_in_pattern/no-eq-branch-fail.rs | 2 +- .../const_in_pattern/no-eq-branch-fail.stderr | 4 +- .../null-raw-ptr-issue-119270.rs | 15 + .../const_in_pattern/reject_non_partial_eq.rs | 2 +- .../reject_non_partial_eq.stderr | 4 +- .../const_in_pattern/reject_non_structural.rs | 40 +- .../reject_non_structural.stderr | 40 +- .../const_in_pattern/warn_corner_cases.rs | 8 +- .../const_in_pattern/warn_corner_cases.stderr | 12 +- tests/ui/consts/const_let_assign2.rs | 1 + tests/ui/consts/const_let_assign2.stderr | 17 + tests/ui/consts/const_let_assign3.stderr | 3 + ...constifconst-call-in-const-position.stderr | 2 + tests/ui/consts/control-flow/loop.stderr | 2 + tests/ui/consts/control-flow/try.stderr | 1 + tests/ui/consts/dangling-alloc-id-ice.rs | 2 +- tests/ui/consts/dangling-alloc-id-ice.stderr | 2 +- tests/ui/consts/dangling_raw_ptr.rs | 2 +- tests/ui/consts/dangling_raw_ptr.stderr | 2 +- tests/ui/consts/escaping-bound-var.rs | 2 +- tests/ui/consts/escaping-bound-var.stderr | 20 +- tests/ui/consts/fn_trait_refs.stderr | 20 +- ...pat-mutable-in-final-value-issue-121610.rs | 18 + ...mutable-in-final-value-issue-121610.stderr | 23 + .../ui/consts/gate-do-not-const-check.stderr | 1 + .../interior-mut-const-via-union.32bit.stderr | 28 + .../interior-mut-const-via-union.64bit.stderr | 28 + ...ion.rs => interior-mut-const-via-union.rs} | 0 tests/ui/consts/invalid-union.32bit.stderr | 28 - tests/ui/consts/invalid-union.64bit.stderr | 28 - tests/ui/consts/is_val_statically_known.rs | 15 + tests/ui/consts/issue-103790.rs | 1 + tests/ui/consts/issue-103790.stderr | 11 +- tests/ui/consts/issue-16538.mir.stderr | 29 - tests/ui/consts/issue-16538.rs | 3 - tests/ui/consts/issue-16538.stderr | 29 + tests/ui/consts/issue-16538.thir.stderr | 29 - .../ui/consts/issue-17718-const-bad-values.rs | 3 +- .../issue-17718-const-bad-values.stderr | 17 +- tests/ui/consts/issue-36163.stderr | 14 +- tests/ui/consts/issue-39974.stderr | 12 +- tests/ui/consts/issue-44415.stderr | 5 - tests/ui/consts/issue-54954.stderr | 7 +- tests/ui/consts/issue-65348.rs | 7 +- .../consts/issue-70773-mir-typeck-lt-norm.rs | 2 +- .../ui/consts/issue-73976-monomorphic.stderr | 1 + tests/ui/consts/issue-94675.stderr | 1 + .../let-irrefutable-pattern-ice-120337.rs | 10 + tests/ui/consts/match_ice.rs | 2 +- tests/ui/consts/match_ice.stderr | 4 +- tests/ui/consts/min_const_fn/address_of.rs | 4 +- .../ui/consts/min_const_fn/address_of.stderr | 6 +- .../consts/min_const_fn/min_const_fn.stderr | 13 + .../min_const_fn_unsafe_bad.stderr | 4 + .../consts/min_const_fn/mutable_borrow.stderr | 2 + .../const_refers_to_static.32bit.stderr | 18 +- .../const_refers_to_static.64bit.stderr | 18 +- .../miri_unleashed/const_refers_to_static.rs | 5 + ..._refers_to_static_cross_crate.32bit.stderr | 77 +- ..._refers_to_static_cross_crate.64bit.stderr | 77 +- .../const_refers_to_static_cross_crate.rs | 22 +- .../mutable_references_err.32bit.stderr | 371 +- .../mutable_references_err.64bit.stderr | 371 +- .../miri_unleashed/mutable_references_err.rs | 74 +- .../miri_unleashed/raw_mutable_const.rs | 8 - .../miri_unleashed/raw_mutable_const.stderr | 18 - .../static-no-inner-mut.32bit.stderr | 258 + .../static-no-inner-mut.64bit.stderr | 258 + .../miri_unleashed/static-no-inner-mut.rs | 55 + tests/ui/consts/promoted_const_call4.rs | 2 +- tests/ui/consts/raw-ptr-const.rs | 6 +- tests/ui/consts/raw-ptr-const.stderr | 10 - tests/ui/consts/raw-ptr-temp-const.rs | 6 + tests/ui/consts/raw-ptr-temp-const.stderr | 9 + .../recursive-zst-static.default.stderr | 9 +- .../recursive-zst-static.unleash.stderr | 9 +- tests/ui/consts/refs-to-cell-in-final.rs | 18 + tests/ui/consts/refs-to-cell-in-final.stderr | 17 + tests/ui/consts/rvalue-static-promotion.rs | 2 +- .../consts/static_mut_containing_mut_ref.rs | 1 + .../static_mut_containing_mut_ref.stderr | 17 + ...ic_mut_containing_mut_ref2.mut_refs.stderr | 25 +- .../consts/static_mut_containing_mut_ref2.rs | 10 +- ...tatic_mut_containing_mut_ref2.stock.stderr | 26 +- tests/ui/consts/std/cell.stderr | 8 +- tests/ui/consts/transmute-const.rs | 2 +- .../unstable-const-fn-in-libcore.stderr | 2 +- tests/ui/consts/validate_never_arrays.rs | 2 +- .../write-to-static-mut-in-static.stderr | 9 +- .../consts/write_to_mut_ref_dest.stock.stderr | 2 + .../coroutine/async-gen-yield-ty-is-unit.rs | 3 +- tests/ui/coroutine/async_gen_fn.e2024.stderr | 1 + tests/ui/coroutine/async_gen_fn_iter.rs | 3 +- .../coroutine/check-resume-ty-lifetimes-2.rs | 35 + .../check-resume-ty-lifetimes-2.stderr | 36 + .../ui/coroutine/check-resume-ty-lifetimes.rs | 27 + .../check-resume-ty-lifetimes.stderr | 11 + tests/ui/coroutine/clone-impl.stderr | 12 +- tests/ui/coroutine/clone-rpit.next.stderr | 52 + tests/ui/coroutine/clone-rpit.rs | 3 +- .../drop-tracking-parent-expression.stderr | 12 +- tests/ui/coroutine/drop-yield-twice.stderr | 11 +- tests/ui/coroutine/gen_block.e2024.stderr | 5 +- tests/ui/coroutine/gen_block.none.stderr | 2 + tests/ui/coroutine/gen_fn.e2024.stderr | 1 + tests/ui/coroutine/issue-105084.stderr | 2 +- ...issue-45729-unsafe-in-coroutine.mir.stderr | 11 - .../issue-45729-unsafe-in-coroutine.rs | 3 - .../issue-45729-unsafe-in-coroutine.stderr | 11 + ...ssue-45729-unsafe-in-coroutine.thir.stderr | 11 - tests/ui/coroutine/issue-68112.stderr | 8 +- tests/ui/coroutine/not-send-sync.stderr | 22 +- tests/ui/coroutine/parent-expression.stderr | 12 +- .../print/coroutine-print-verbose-1.rs | 2 +- .../print/coroutine-print-verbose-1.stderr | 8 +- .../print/coroutine-print-verbose-2.rs | 2 +- .../print/coroutine-print-verbose-2.stderr | 22 +- .../print/coroutine-print-verbose-3.rs | 2 +- .../print/coroutine-print-verbose-3.stderr | 2 +- tests/ui/coroutine/ref-upvar-not-send.stderr | 4 +- tests/ui/coroutine/size-moved-locals.rs | 2 +- tests/ui/coroutine/sized-yield.stderr | 4 +- .../static-mut-reference-across-yield.rs | 2 - tests/ui/coroutine/unresolved-ct-var.stderr | 2 +- ...yield-outside-coroutine-issue-78653.stderr | 2 +- tests/ui/delegation/bad-resolve.rs | 47 + tests/ui/delegation/bad-resolve.stderr | 102 + .../explicit-paths-in-traits-pass.rs | 27 + .../explicit-paths-in-traits-pass.stderr | 11 + tests/ui/delegation/explicit-paths-pass.rs | 64 + .../ui/delegation/explicit-paths-pass.stderr | 11 + .../explicit-paths-signature-pass.rs | 39 + .../explicit-paths-signature-pass.stderr | 11 + tests/ui/delegation/explicit-paths.rs | 25 + tests/ui/delegation/explicit-paths.stderr | 38 + tests/ui/delegation/not-supported.rs | 111 + tests/ui/delegation/not-supported.stderr | 184 + tests/ui/delegation/parse.rs | 42 + tests/ui/delegation/parse.stderr | 11 + tests/ui/delegation/target-expr-pass.rs | 37 + tests/ui/delegation/target-expr-pass.stderr | 11 + ...-66340-deprecated-attr-non-meta-grammar.rs | 2 +- ...40-deprecated-attr-non-meta-grammar.stderr | 7 +- tests/ui/derive-uninhabited-enum-38885.rs | 2 +- tests/ui/derive-uninhabited-enum-38885.stderr | 2 +- .../derives/derive-assoc-type-not-impl.stderr | 5 +- ...ives-span-Debug-enum-struct-variant.stderr | 2 +- .../ui/derives/derives-span-Debug-enum.stderr | 2 +- .../derives/derives-span-Debug-struct.stderr | 2 +- .../derives-span-Debug-tuple-struct.stderr | 2 +- .../deriving-with-repr-packed-2.stderr | 10 +- tests/ui/derives/issue-36617.rs | 10 +- tests/ui/derives/issue-36617.stderr | 42 +- tests/ui/derives/issue-91550.stderr | 25 +- tests/ui/deriving/deriving-all-codegen.stdout | 28 - .../deriving-clone-generic-tuple-struct.rs | 2 +- tests/ui/deriving/deriving-copyclone.rs | 2 +- tests/ui/deriving/issue-103157.stderr | 2 +- tests/ui/deriving/issue-58319.rs | 2 +- .../struct_destructure_fail.stderr | 11 +- tests/ui/diagnostic-width/flag-json.rs | 2 +- tests/ui/diagnostic-width/flag-json.stderr | 4 +- .../feature-gate-diagnostic_namespace.stderr | 2 + .../on_unimplemented/auxiliary/other.rs | 8 + .../error_is_shown_in_downstream_crates.rs | 12 + ...error_is_shown_in_downstream_crates.stderr | 19 + ...re-gate-diagnostic_on_unimplemented.stderr | 1 + tests/ui/did_you_mean/bad-assoc-ty.rs | 1 + tests/ui/did_you_mean/bad-assoc-ty.stderr | 29 +- tests/ui/did_you_mean/recursion_limit.stderr | 2 +- .../replace-impl-infer-ty-from-trait.fixed | 1 + .../replace-impl-infer-ty-from-trait.rs | 1 + .../replace-impl-infer-ty-from-trait.stderr | 11 +- tests/ui/drop/dropck-eyepatch-reorder.rs | 8 +- tests/ui/drop/dropck-eyepatch.rs | 8 +- tests/ui/drop/dynamic-drop.rs | 16 +- .../issue-23338-ensure-param-drop-order.rs | 90 +- ...issue-23338-ensure-param-drop-order.stderr | 17 + .../ui/dropck/issue-24805-dropck-itemless.rs | 2 +- .../issue-28498-ugeh-with-passed-to-fn.rs | 2 +- tests/ui/dst/dst-bad-assign-3.stderr | 1 + tests/ui/dst/dst-bad-assign.stderr | 1 + tests/ui/dst/dst-bad-deep-2.stderr | 2 +- tests/ui/dst/dst-bad-deep.stderr | 2 +- tests/ui/dst/issue-113447.fixed | 25 - tests/ui/dst/issue-113447.rs | 2 - tests/ui/dst/issue-113447.stderr | 19 +- ...0528-unsizing-not-suggestion-110063.stderr | 2 +- .../ui/dyn-keyword/dyn-2021-edition-error.rs | 1 + .../dyn-keyword/dyn-2021-edition-error.stderr | 13 +- tests/ui/dyn-star/dispatch-on-pin-mut.rs | 5 +- tests/ui/dyn-star/drop.rs | 2 +- .../ui/dyn-star/feature-gate-dyn_star.stderr | 1 + tests/ui/dyn-star/gated-span.stderr | 1 + .../dyn-star/no-explicit-dyn-star-cast.stderr | 2 + tests/ui/dyn-star/no-implicit-dyn-star.stderr | 1 + tests/ui/dyn-star/union.rs | 16 + tests/ui/dyn-star/union.stderr | 20 + .../auxiliary/edition-kw-macro-2015.rs | 5 + .../auxiliary/edition-kw-macro-2018.rs | 5 + .../edition-keywords-2015-2015-parsing.rs | 2 + .../ui/editions/edition-keywords-2015-2015.rs | 2 + .../edition-keywords-2015-2018-parsing.rs | 2 + .../ui/editions/edition-keywords-2015-2018.rs | 2 + .../edition-keywords-2018-2015-parsing.rs | 4 +- .../edition-keywords-2018-2015-parsing.stderr | 14 +- .../ui/editions/edition-keywords-2018-2015.rs | 2 + .../edition-keywords-2018-2018-parsing.rs | 15 +- .../edition-keywords-2018-2018-parsing.stderr | 34 +- .../ui/editions/edition-keywords-2018-2018.rs | 2 + .../entry-point/return-ty-has-bound-vars.rs | 3 + .../return-ty-has-bound-vars.stderr | 9 + .../discriminant_value-wrapper.rs | 2 +- .../enum-discriminant/discriminant_value.rs | 4 +- tests/ui/enum-discriminant/issue-72554.rs | 1 + tests/ui/enum-discriminant/issue-72554.stderr | 21 +- tests/ui/error-codes/E0017.rs | 12 +- tests/ui/error-codes/E0017.stderr | 30 +- tests/ui/error-codes/E0133.mir.stderr | 11 - tests/ui/error-codes/E0133.rs | 3 - tests/ui/error-codes/E0133.stderr | 11 + tests/ui/error-codes/E0133.thir.stderr | 11 - tests/ui/error-codes/E0227.rs | 3 +- tests/ui/error-codes/E0229.rs | 3 + tests/ui/error-codes/E0229.stderr | 32 +- tests/ui/error-codes/E0277-2.stderr | 2 +- tests/ui/error-codes/E0277.stderr | 2 +- tests/ui/error-codes/E0283.stderr | 2 +- tests/ui/error-codes/E0388.stderr | 1 + tests/ui/error-codes/E0396.stderr | 5 + tests/ui/error-codes/E0453.rs | 1 - tests/ui/error-codes/E0453.stderr | 13 +- tests/ui/error-codes/E0620.stderr | 10 +- tests/ui/error-codes/E0658.stderr | 1 + tests/ui/error-codes/E0719.rs | 2 + tests/ui/error-codes/E0719.stderr | 22 +- tests/ui/error-codes/E0790.stderr | 6 +- .../blame-trait-error.stderr | 28 +- .../blame-trait-error-spans-on-exprs.stderr | 28 +- tests/ui/explore-issue-38412.stderr | 7 + tests/ui/expr/if/attrs/stmt-expr-gated.stderr | 1 + tests/ui/extenv/extenv-env-overload.rs | 2 +- tests/ui/extenv/extenv-env.rs | 2 +- tests/ui/extenv/extenv-not-env.rs | 2 +- tests/ui/extenv/issue-55897.rs | 1 - tests/ui/extenv/issue-55897.stderr | 14 +- tests/ui/extern-flag/empty-extern-arg.stderr | 6 +- .../extern/auxiliary/issue-80074-macro-2.rs | 3 + .../ui/extern/auxiliary/issue-80074-macro.rs | 2 + tests/ui/extern/extern-types-unsized.stderr | 6 +- ...extern-item-where-clauses-debug-ice.stderr | 1 + tests/ui/extern/issue-28324.mir.stderr | 11 - tests/ui/extern/issue-28324.rs | 3 - tests/ui/extern/issue-28324.stderr | 11 + tests/ui/extern/issue-28324.thir.stderr | 11 - ...llow-unwind-when-calling-panic-directly.rs | 2 +- tests/ui/extern/issue-80074.rs | 12 +- tests/ui/extern/issue-80074.stderr | 31 + tests/ui/feature-gates/bench.stderr | 22 + tests/ui/feature-gates/doc-rust-logo.stderr | 1 + tests/ui/feature-gates/env-flag.rs | 2 +- tests/ui/feature-gates/env-flag.stderr | 2 +- .../feature-gate-abi-avr-interrupt.stderr | 14 + .../feature-gate-abi-msp430-interrupt.stderr | 7 + .../feature-gate-abi-riscv-interrupt.stderr | 6 + .../feature-gate-abi-x86-interrupt.stderr | 7 + .../ui/feature-gates/feature-gate-abi.stderr | 19 + .../feature-gate-abi_amdgpu_kernel.rs | 30 - .../feature-gate-abi_amdgpu_kernel.stderr | 97 - .../feature-gates/feature-gate-abi_ptx.stderr | 7 + .../feature-gate-abi_unadjusted.stderr | 1 + .../feature-gate-alloc-error-handler.stderr | 1 + .../feature-gate-allocator_internals.stderr | 1 + ...-allow-internal-unsafe-nested-macro.stderr | 1 + ...llow-internal-unstable-nested-macro.stderr | 1 + ...gate-allow-internal-unstable-struct.stderr | 1 + ...eature-gate-allow-internal-unstable.stderr | 1 + .../feature-gate-arbitrary-self-types.stderr | 3 + ...te-arbitrary_self_types-raw-pointer.stderr | 3 + .../feature-gate-asm_const.stderr | 2 + .../feature-gate-asm_experimental_arch.stderr | 1 + .../feature-gate-asm_unwind.stderr | 1 + .../feature-gate-assoc-type-defaults.stderr | 1 + ...ture-gate-associated_const_equality.stderr | 1 + .../feature-gate-associated_type_bounds.rs | 6 +- ...feature-gate-associated_type_bounds.stderr | 25 +- .../feature-gate-auto-traits.stderr | 2 + .../feature-gate-box_patterns.stderr | 1 + .../feature-gate-builtin_syntax.stderr | 1 + .../feature-gate-c_variadic.stderr | 1 + .../feature-gate-cfg-relocation-model.stderr | 1 + .../feature-gate-cfg-sanitizer_cfi.rs | 9 + .../feature-gate-cfg-sanitizer_cfi.stderr | 23 + .../feature-gate-cfg-target-abi.stderr | 4 + .../feature-gate-cfg-target-compact.stderr | 4 + ...g-target-has-atomic-equal-alignment.stderr | 6 + .../feature-gate-cfg-target-has-atomic.stderr | 6 + ...eature-gate-cfg-target-thread-local.stderr | 1 + .../feature-gate-cfg-version.stderr | 15 + .../feature-gate-cfg_overflow_checks.stderr | 1 + .../feature-gate-cfg_sanitize.stderr | 1 + .../feature-gate-cfi_encoding.stderr | 1 + ...eature-gate-closure_lifetime_binder.stderr | 3 + .../feature-gate-closure_track_caller.stderr | 3 + .../feature-gate-collapse_debuginfo.stderr | 1 + .../feature-gate-compiler-builtins.stderr | 1 + .../feature-gate-concat_bytes.stderr | 1 + .../feature-gate-concat_idents.stderr | 2 + .../feature-gate-concat_idents2.stderr | 1 + .../feature-gate-concat_idents3.stderr | 2 + .../feature-gate-coroutines.e2024.stderr | 2 + .../feature-gate-coroutines.none.stderr | 6 + .../feature-gate-coverage-attribute.stderr | 1 + .../feature-gate-custom_mir.stderr | 1 + ...feature-gate-custom_test_frameworks.stderr | 2 + .../feature-gate-decl_macro.stderr | 1 + .../feature-gate-deprecated_safe.stderr | 2 + .../feature-gates/feature-gate-doc_cfg.stderr | 1 + .../feature-gate-doc_masked.stderr | 1 + .../feature-gate-doc_notable_trait.stderr | 1 + ...eature-gate-exclusive-range-pattern.stderr | 2 + .../feature-gate-explicit_tail_calls.stderr | 2 + .../feature-gate-extern_types.stderr | 1 + .../feature-gate-feature-gate.stderr | 2 +- .../feature-gate-ffi_const.stderr | 1 + .../feature-gate-ffi_pure.stderr | 1 + .../feature-gate-ffi_returns_twice.stderr | 1 + .../feature-gate-fn_align.stderr | 1 + .../feature-gate-fn_delegation.rs | 7 +- .../feature-gate-fn_delegation.stderr | 16 +- .../feature-gate-format_args_nl.stderr | 1 + .../feature-gate-fundamental.stderr | 1 + .../feature-gate-gen_blocks.e2024.stderr | 12 +- ...ature-gate-generic_arg_infer.normal.stderr | 2 + ...e-generic_associated_types_extended.stderr | 1 + .../feature-gate-impl_trait_in_assoc_type.rs | 2 + ...ature-gate-impl_trait_in_assoc_type.stderr | 25 +- ...ture-gate-impl_trait_in_fn_trait_return.rs | 4 +- ...-gate-impl_trait_in_fn_trait_return.stderr | 8 +- .../feature-gate-imported_main.stderr | 1 + ...ture-gate-inherent_associated_types.stderr | 1 + .../feature-gate-inline_const.stderr | 1 + .../feature-gate-inline_const_pat.stderr | 1 + .../feature-gate-intrinsics.stderr | 2 + .../feature-gate-is_sorted.stderr | 4 + .../feature-gate-lang-items.stderr | 1 + .../feature-gate-large-assignments.stderr | 1 + .../feature-gate-link-arg-attribute.stderr | 1 + .../feature-gate-link_cfg.stderr | 1 + .../feature-gate-link_llvm_intrinsics.stderr | 1 + .../feature-gates/feature-gate-linkage.stderr | 1 + .../feature-gate-lint-reasons.stderr | 2 + .../feature-gate-log_syntax.stderr | 1 + .../feature-gate-log_syntax2.stderr | 1 + .../feature-gate-marker_trait_attr.stderr | 1 + .../feature-gate-may-dangle.stderr | 1 + .../feature-gate-min_const_fn.rs | 2 +- .../feature-gate-min_const_fn.stderr | 17 +- .../feature-gate-more-qualified-paths.stderr | 3 + ...ure-gate-multiple_supertrait_upcastable.rs | 4 - ...gate-multiple_supertrait_upcastable.stderr | 46 +- .../feature-gate-naked_functions.stderr | 6 +- ...ate-native_link_modifiers_as_needed.stderr | 1 + .../feature-gate-needs-allocator.stderr | 1 + .../feature-gate-never_patterns.rs | 1 - .../feature-gate-never_patterns.stderr | 43 +- .../feature-gates/feature-gate-never_type.rs | 9 + .../feature-gate-never_type.stderr | 37 +- .../feature-gates/feature-gate-no_core.stderr | 1 + .../feature-gate-no_sanitize.stderr | 1 + ...te-non_exhaustive_omitted_patterns_lint.rs | 10 - ...on_exhaustive_omitted_patterns_lint.stderr | 132 +- .../feature-gate-non_lifetime_binders.stderr | 1 + .../feature-gate-offset-of-enum.rs | 2 +- .../feature-gate-offset-of-enum.stderr | 6 +- .../feature-gate-offset-of-nested.rs | 28 + .../feature-gate-offset-of-nested.stderr | 60 + ...ate-omit-gdb-pretty-printer-section.stderr | 1 + .../feature-gate-optimize_attribute.stderr | 5 + .../feature-gate-prelude_import.stderr | 1 + ...ture-gate-proc_macro_byte_character.stderr | 1 + .../feature-gate-proc_macro_c_str_literals.rs | 11 + ...ture-gate-proc_macro_c_str_literals.stderr | 13 + .../feature-gate-profiler-runtime.stderr | 1 + .../feature-gate-register_tool.stderr | 1 + .../feature-gate-repr-simd.stderr | 2 + .../feature-gates/feature-gate-repr128.stderr | 1 + ...ature-gate-return_type_notation.cfg.stderr | 1 + ...eature-gate-return_type_notation.no.stderr | 1 + .../feature-gate-rust_cold_cc.stderr | 7 + ...-gate-rustc-allow-const-fn-unstable.stderr | 1 + .../feature-gate-rustc-attrs-1.stderr | 3 + .../feature-gate-rustc-attrs.stderr | 1 + .../feature-gate-rustdoc_internals.stderr | 2 + .../ui/feature-gates/feature-gate-simd.stderr | 1 + .../feature-gates/feature-gate-start.stderr | 1 + .../feature-gate-stmt_expr_attributes.stderr | 1 + .../feature-gate-strict_provenance.rs | 4 - .../feature-gate-strict_provenance.stderr | 50 +- .../feature-gate-test_unstable_lint.rs | 2 - .../feature-gate-test_unstable_lint.stderr | 23 +- .../feature-gate-thread_local.stderr | 1 + .../feature-gate-trace_macros.stderr | 1 + .../feature-gate-trait-alias.stderr | 1 + .../feature-gate-trait_upcasting.stderr | 1 + .../feature-gate-transparent_unions.stderr | 1 + .../feature-gate-trivial_bounds.stderr | 2 +- .../feature-gate-try_blocks.stderr | 1 + .../feature-gate-type_ascription.stderr | 1 + .../feature-gate-type_privacy_lints.rs | 2 - .../feature-gate-type_privacy_lints.stderr | 25 +- ...ture-gate-unboxed-closures-manual-impls.rs | 22 +- ...-gate-unboxed-closures-manual-impls.stderr | 97 +- ...-gate-unboxed-closures-method-calls.stderr | 3 + ...re-gate-unboxed-closures-ufcs-calls.stderr | 3 + .../feature-gate-unboxed-closures.stderr | 2 + .../feature-gate-unix_sigpipe.stderr | 1 + .../feature-gate-unnamed_fields.stderr | 5 + .../feature-gate-unsafe_pin_internals.rs | 2 +- .../feature-gate-unsized_fn_params.stderr | 6 +- ...feature-gate-unsized_tuple_coercion.stderr | 1 + .../feature-gate-used_with_arg.stderr | 2 + .../feature-gate-vectorcall.stderr | 7 + .../feature-gate-wasm_abi.stderr | 7 + .../feature-gate-yeet_expr-in-cfg.stderr | 2 + .../feature-gate-yeet_expr.stderr | 2 + .../feature-gated-feature-in-macro-arg.stderr | 1 + .../issue-43106-gating-of-bench.rs | 3 +- .../issue-43106-gating-of-bench.stderr | 12 +- ...sue-43106-gating-of-builtin-attrs-error.rs | 1 + ...43106-gating-of-builtin-attrs-error.stderr | 73 +- .../issue-43106-gating-of-derive.stderr | 1 + .../issue-43106-gating-of-test.rs | 3 +- .../issue-43106-gating-of-test.stderr | 12 +- .../issue-49983-see-issue-0.stderr | 1 + tests/ui/feature-gates/rustc-private.stderr | 1 + .../soft-syntax-gates-with-errors.stderr | 2 + .../soft-syntax-gates-without-errors.stderr | 2 + .../ui/feature-gates/trace_macros-gate.stderr | 4 + tests/ui/fmt/format-string-wrong-order.rs | 6 + tests/ui/fmt/format-string-wrong-order.stderr | 20 +- tests/ui/fmt/ifmt-unimpl.stderr | 2 +- tests/ui/fmt/send-sync.stderr | 4 +- tests/ui/fn/issue-39259.rs | 4 +- tests/ui/fn/issue-39259.stderr | 23 +- ...signature-error-reporting-under-verbose.rs | 2 +- tests/ui/for-loop-while/issue-69841.rs | 1 - tests/ui/for/for-c-in-str.stderr | 2 +- tests/ui/for/for-loop-bogosity.stderr | 2 +- tests/ui/for/issue-20605.next.stderr | 20 +- tests/ui/function-pointer/unsized-ret.stderr | 4 +- ...-gat-normalization-for-nested-goals.stderr | 2 +- .../gat-in-trait-path-undeclared-lifetime.rs | 3 + ...t-in-trait-path-undeclared-lifetime.stderr | 37 +- .../gat-trait-path-missing-lifetime.rs | 3 +- .../gat-trait-path-missing-lifetime.stderr | 25 +- .../gat-trait-path-parenthesised-args.rs | 9 + .../gat-trait-path-parenthesised-args.stderr | 143 +- .../impl_bounds.stderr | 4 +- .../issue-101020.stderr | 2 +- ...ied-gat-bound-during-assoc-ty-selection.rs | 33 + ...gat-bound-during-assoc-ty-selection.stderr | 46 + .../issue-74824.stderr | 2 +- .../issue-79422.extended.stderr | 1 + .../generic-associated-types/issue-79636-1.rs | 3 + .../issue-79636-1.stderr | 56 +- .../generic-associated-types/issue-80433.rs | 2 +- .../issue-80433.stderr | 13 +- .../issue-84931.stderr | 26 +- ...method-unsatisfied-assoc-type-predicate.rs | 4 +- ...od-unsatisfied-assoc-type-predicate.stderr | 8 +- .../missing_lifetime_args.rs | 3 + .../missing_lifetime_args.stderr | 58 +- .../trait-path-type-error-once-implemented.rs | 5 + ...it-path-type-error-once-implemented.stderr | 84 +- .../type-param-defaults.rs | 2 + .../type-param-defaults.stderr | 40 +- .../unknown-lifetime-ice-119827.rs | 16 + .../unknown-lifetime-ice-119827.stderr | 119 + .../unsatisfied-item-lifetime-bound.stderr | 40 +- .../generic-const-items/const-trait-impl.rs | 18 +- .../const-trait-impl.stderr | 11 - .../feature-gate-generic_const_items.stderr | 8 + .../generic-const-items/parameter-defaults.rs | 1 + .../parameter-defaults.stderr | 14 +- ...generic-default-type-params-cross-crate.rs | 2 +- tests/ui/generics/generic-ivec-leak.rs | 2 +- tests/ui/generics/generic-newtype-struct.rs | 2 +- tests/ui/generics/generic-no-mangle.fixed | 4 +- tests/ui/generics/generic-no-mangle.rs | 4 +- tests/ui/generics/generic-recursive-tag.rs | 2 +- tests/ui/generics/generic-tag-corruption.rs | 2 +- tests/ui/generics/generic-tag-local.rs | 2 +- tests/ui/generics/generic-tag.rs | 2 +- tests/ui/generics/wrong-number-of-args.rs | 6 +- tests/ui/generics/wrong-number-of-args.stderr | 26 +- ...-half-open-range-patterns-in-slices.stderr | 1 + .../range_pat_interactions1.rs | 8 +- .../range_pat_interactions1.stderr | 77 +- .../range_pat_interactions2.rs | 9 +- .../range_pat_interactions2.stderr | 76 +- .../range_pat_interactions3.stderr | 9 + .../slice_pattern_syntax_problem1.stderr | 5 + .../higher-ranked/higher-lifetime-bounds.rs | 22 +- .../higher-lifetime-bounds.stderr | 22 +- .../higher-ranked-lifetime-error.stderr | 4 +- .../trait-bounds/fn-ptr.classic.stderr | 2 +- .../hrtb-cache-issue-54302.stderr | 2 +- .../trait-bounds/hrtb-wrong-kind.stderr | 2 + .../trait-bounds/issue-30786.stderr | 10 +- .../higher-ranked/trait-bounds/issue-59311.rs | 1 + .../trait-bounds/issue-59311.stderr | 13 +- .../normalize-under-binder/issue-85455.stderr | 2 +- .../normalize-under-binder/issue-89118.stderr | 6 +- .../norm-before-method-resolution.stderr | 4 +- tests/ui/hygiene/panic-location.run.stderr | 2 +- .../impl-header-lifetime-elision/bare_type.rs | 43 + ...associated-impl-trait-type-issue-114325.rs | 55 + tests/ui/impl-trait/auto-trait-leak2.stderr | 4 +- tests/ui/impl-trait/bounds_regression.rs | 2 +- .../cross-return-site-inference.stderr | 4 +- tests/ui/impl-trait/dyn-impl-type-mismatch.rs | 18 + .../impl-trait/dyn-impl-type-mismatch.stderr | 43 + ...n-trait-return-should-be-impl-trait.stderr | 6 +- .../eagerly-reveal-in-local-body.rs | 13 + .../equality-in-canonical-query.clone.stderr | 16 +- .../impl-trait/equality-in-canonical-query.rs | 6 +- .../impl-trait/erased-regions-in-hidden-ty.rs | 2 +- ...plicit-hrtb-without-dyn.edition2021.stderr | 11 +- .../generic-with-implicit-hrtb-without-dyn.rs | 1 + tests/ui/impl-trait/impl-fn-hrtb-bounds.rs | 3 + .../ui/impl-trait/impl-fn-hrtb-bounds.stderr | 39 +- .../impl-trait/impl-fn-parsing-ambiguities.rs | 1 + .../impl-fn-parsing-ambiguities.stderr | 13 +- tests/ui/impl-trait/impl_trait_projections.rs | 4 +- .../impl-trait/impl_trait_projections.stderr | 46 +- .../impl-trait/implicit-capture-late.stderr | 8 +- .../impl-trait/in-ctfe/array-len-size-of.rs | 16 + tests/ui/impl-trait/in-ctfe/array-len.rs | 22 + tests/ui/impl-trait/in-ctfe/enum-discr.rs | 26 + .../in-ctfe/fully_monomorphic_const_eval.rs | 29 + .../in-ctfe/match-arm-exhaustive.rs | 24 + ...ctive-visibilities-during-object-safety.rs | 27 + ...e-visibilities-during-object-safety.stderr | 70 + tests/ui/impl-trait/in-trait/issue-102140.rs | 1 - .../impl-trait/in-trait/issue-102140.stderr | 10 +- .../in-trait/return-dont-satisfy-bounds.rs | 2 + .../return-dont-satisfy-bounds.stderr | 26 +- tests/ui/impl-trait/issue-55872-1.stderr | 4 +- tests/ui/impl-trait/issue-72911.rs | 1 + tests/ui/impl-trait/issue-72911.stderr | 13 +- tests/ui/impl-trait/issues/issue-54600.rs | 2 +- tests/ui/impl-trait/issues/issue-54600.stderr | 4 +- tests/ui/impl-trait/issues/issue-54840.rs | 2 +- tests/ui/impl-trait/issues/issue-54840.stderr | 4 +- tests/ui/impl-trait/issues/issue-58504.rs | 2 +- tests/ui/impl-trait/issues/issue-58504.stderr | 4 +- tests/ui/impl-trait/issues/issue-58956.rs | 4 +- tests/ui/impl-trait/issues/issue-58956.stderr | 8 +- tests/ui/impl-trait/issues/issue-67830.rs | 2 + tests/ui/impl-trait/issues/issue-67830.stderr | 21 +- tests/ui/impl-trait/issues/issue-70971.rs | 2 +- tests/ui/impl-trait/issues/issue-70971.stderr | 4 +- .../ui/impl-trait/issues/issue-78722-2.stderr | 19 +- tests/ui/impl-trait/issues/issue-78722.stderr | 1 + tests/ui/impl-trait/issues/issue-79099.rs | 2 +- tests/ui/impl-trait/issues/issue-79099.stderr | 4 +- ...sue-83929-impl-trait-in-generic-default.rs | 4 +- ...83929-impl-trait-in-generic-default.stderr | 8 +- tests/ui/impl-trait/issues/issue-84919.rs | 2 +- tests/ui/impl-trait/issues/issue-84919.stderr | 4 +- tests/ui/impl-trait/issues/issue-86642.rs | 2 +- tests/ui/impl-trait/issues/issue-86642.stderr | 4 +- tests/ui/impl-trait/issues/issue-86800.rs | 4 +- tests/ui/impl-trait/issues/issue-86800.stderr | 13 +- tests/ui/impl-trait/issues/issue-87295.rs | 2 +- tests/ui/impl-trait/issues/issue-87295.stderr | 4 +- tests/ui/impl-trait/issues/issue-88236-2.rs | 5 + .../ui/impl-trait/issues/issue-88236-2.stderr | 60 +- tests/ui/impl-trait/nested-rpit-hrtb.rs | 6 + tests/ui/impl-trait/nested-rpit-hrtb.stderr | 67 +- tests/ui/impl-trait/nested_impl_trait.rs | 2 +- tests/ui/impl-trait/nested_impl_trait.stderr | 8 +- .../impl-trait/normalize-tait-in-const.stderr | 2 +- .../not_general_enough_regression_106630.rs | 33 + .../opaque-used-in-extraneous-argument.rs | 21 + .../opaque-used-in-extraneous-argument.stderr | 78 + .../impl-trait/recursive-coroutine-boxed.rs | 21 + ...ecursive-coroutine-indirect.current.stderr | 11 + .../recursive-coroutine-indirect.next.stderr | 11 + .../recursive-coroutine-indirect.rs | 17 + .../recursive-coroutine.current.stderr | 12 - .../recursive-coroutine.next.stderr | 12 - tests/ui/impl-trait/recursive-coroutine.rs | 24 - .../recursive-impl-trait-type-indirect.rs | 10 - .../recursive-impl-trait-type-indirect.stderr | 47 +- tests/ui/impl-trait/rpit/early_bound.rs | 13 + tests/ui/impl-trait/rpit/early_bound.stderr | 26 + .../impl-trait/transmute/in-defining-scope.rs | 14 + .../transmute/in-defining-scope.stderr | 29 + .../transmute/outside-of-defining-scope.rs | 12 + tests/ui/impl-trait/where-allowed.rs | 74 +- tests/ui/impl-trait/where-allowed.stderr | 151 +- tests/ui/implied-bounds/auxiliary/bevy_ecs.rs | 18 - tests/ui/implied-bounds/bevy_world_query.rs | 27 +- tests/ui/implied-bounds/from-trait-impl.rs | 5 +- .../ui/implied-bounds/from-trait-impl.stderr | 26 + tests/ui/implied-bounds/gluon_salsa.rs | 5 +- .../implied-bounds-on-trait-hierarchy-1.rs | 38 + ...implied-bounds-on-trait-hierarchy-1.stderr | 16 + .../implied-bounds-on-trait-hierarchy-2.rs | 45 + .../implied-bounds-on-trait-hierarchy.rs | 39 - .../normalization-nested.lifetime.stderr | 35 +- .../ui/implied-bounds/normalization-nested.rs | 17 +- tests/ui/implied-bounds/sod_service_chain.rs | 6 +- .../implied-bounds/sod_service_chain.stderr | 31 + tests/ui/imports/ambiguous-2.rs | 1 + tests/ui/imports/ambiguous-4.rs | 2 +- tests/ui/imports/ambiguous-9.stderr | 1 - .../glob-conflict-cross-crate-2-extern.rs | 10 + .../auxiliary/issue-114682-2-extern.rs | 17 + .../auxiliary/issue-114682-3-extern.rs | 16 + .../auxiliary/issue-114682-4-extern.rs | 10 + .../auxiliary/issue-114682-5-extern-1.rs | 1 + .../auxiliary/issue-114682-5-extern-2.rs | 13 + .../auxiliary/issue-114682-6-extern.rs | 9 + .../imports/auxiliary/issue-119369-extern.rs | 2 + tests/ui/imports/extern-with-ambiguous-2.rs | 2 + tests/ui/imports/extern-with-ambiguous-3.rs | 2 + .../ui/imports/glob-conflict-cross-crate-1.rs | 12 + .../glob-conflict-cross-crate-1.stderr | 15 + .../ui/imports/glob-conflict-cross-crate-2.rs | 10 + .../glob-conflict-cross-crate-2.stderr | 9 + .../ui/imports/glob-conflict-cross-crate-3.rs | 16 + tests/ui/imports/glob-conflict-cross-crate.rs | 8 - .../imports/glob-conflict-cross-crate.stderr | 15 - tests/ui/imports/issue-114682-1.rs | 25 + tests/ui/imports/issue-114682-1.stderr | 28 + tests/ui/imports/issue-114682-2.rs | 19 + tests/ui/imports/issue-114682-2.stderr | 9 + tests/ui/imports/issue-114682-3.rs | 24 + tests/ui/imports/issue-114682-4.rs | 13 + tests/ui/imports/issue-114682-5.rs | 15 + tests/ui/imports/issue-114682-6.rs | 13 + tests/ui/imports/issue-119369.rs | 14 + tests/ui/imports/issue-28134.rs | 2 +- tests/ui/imports/issue-28134.stderr | 10 +- tests/ui/imports/issue-37887.stderr | 1 + tests/ui/imports/issue-55457.rs | 7 +- tests/ui/imports/issue-55457.stderr | 36 +- tests/ui/imports/issue-59764.rs | 1 - tests/ui/imports/issue-59764.stderr | 12 +- tests/ui/indexing/index-help.stderr | 2 +- .../indexing/indexing-requires-a-uint.stderr | 2 +- ...int-at-index-for-obligation-failure.stderr | 2 +- .../erase-type-params-in-label.stderr | 4 +- .../inference_unstable_forced.stderr | 1 + tests/ui/inference/issue-36053.rs | 2 +- .../ui/inference/issue-80409.no-compat.stderr | 6 + tests/ui/inference/issue-80409.rs | 15 +- .../infer-var-for-self-param.stderr | 2 +- .../need_type_info/type-alias.stderr | 4 +- .../const-match-pat-lifetime-err.rs | 25 +- .../const-match-pat-lifetime-err.stderr | 28 + .../inline-const/expr-unsafe-err.mir.stderr | 11 - tests/ui/inline-const/expr-unsafe-err.rs | 6 +- ...err.thir.stderr => expr-unsafe-err.stderr} | 0 tests/ui/inline-const/expr-unsafe.mir.stderr | 14 - tests/ui/inline-const/expr-unsafe.rs | 3 +- tests/ui/inline-const/expr-unsafe.stderr | 14 + tests/ui/inline-const/expr-unsafe.thir.stderr | 14 - tests/ui/inline-const/pat-unsafe-err.rs | 4 - tests/ui/inline-const/pat-unsafe-err.stderr | 19 + .../inline-const/pat-unsafe-err.thir.stderr | 19 - tests/ui/inline-const/pat-unsafe.rs | 3 - tests/ui/inline-const/pat-unsafe.stderr | 20 + tests/ui/inline-const/pat-unsafe.thir.stderr | 20 - tests/ui/integral-indexing.stderr | 16 +- .../interior-mutability.stderr | 2 +- .../internal/internal-unstable-noallow.stderr | 4 + .../internal-unstable-thread-local.stderr | 1 + tests/ui/internal/internal-unstable.rs | 10 + tests/ui/internal/internal-unstable.stderr | 13 +- .../feature-gate-safe-intrinsic.stderr | 1 + tests/ui/intrinsics/issue-28575.mir.stderr | 11 - tests/ui/intrinsics/issue-28575.rs | 3 - tests/ui/intrinsics/issue-28575.stderr | 11 + tests/ui/intrinsics/issue-28575.thir.stderr | 11 - .../ui/intrinsics/safe-intrinsic-mismatch.rs | 2 + .../intrinsics/safe-intrinsic-mismatch.stderr | 20 +- .../unchecked_math_unsafe.mir.stderr | 27 - tests/ui/intrinsics/unchecked_math_unsafe.rs | 3 - .../intrinsics/unchecked_math_unsafe.stderr | 27 + .../unchecked_math_unsafe.thir.stderr | 27 - .../intrinsics/unchecked_math_unstable.stderr | 3 + tests/ui/issue-76387-llvm-miscompile.rs | 1 - tests/ui/issues/issue-11740.rs | 2 - tests/ui/issues/issue-13027.rs | 2 +- tests/ui/issues/issue-13482-2.rs | 2 +- tests/ui/issues/issue-14382.rs | 2 +- tests/ui/issues/issue-15858.rs | 2 +- tests/ui/issues/issue-17441.stderr | 10 +- tests/ui/issues/issue-17905.rs | 2 +- .../auxiliary/issue-1920.rs | 0 .../issue-1920-1.rs | 0 .../issue-1920-1.stderr | 0 .../issue-1920-2.rs | 0 .../issue-1920-2.stderr | 0 .../issue-1920-3.rs | 0 .../issue-1920-3.stderr | 0 tests/ui/issues/issue-20313.stderr | 1 + tests/ui/issues/issue-20616.rs | 44 - tests/ui/issues/issue-21763.stderr | 2 +- tests/ui/issues/issue-22872.stderr | 2 +- tests/ui/issues/issue-23024.stderr | 1 + tests/ui/issues/issue-23122-2.stderr | 2 +- .../issue-23302-1.rs | 0 .../issue-23302-1.stderr | 12 +- .../issue-23302-2.rs | 0 .../issue-23302-2.stderr | 13 +- .../issue-23302-3.rs | 0 .../issue-23302-3.stderr | 10 +- tests/ui/issues/issue-23491.rs | 2 +- .../issues/issue-23611-enum-swap-in-drop.rs | 44 +- .../issue-23611-enum-swap-in-drop.stderr | 17 + tests/ui/issues/issue-24308.rs | 2 +- tests/ui/issues/issue-25089.rs | 2 +- tests/ui/issues/issue-25679.rs | 2 +- tests/ui/issues/issue-26127.rs | 2 +- tests/ui/issues/issue-26641.rs | 2 +- tests/ui/issues/issue-26709.rs | 2 +- tests/ui/issues/issue-27240.rs | 6 +- tests/ui/issues/issue-28498-must-work-ex1.rs | 2 +- tests/ui/issues/issue-28498-must-work-ex2.rs | 2 +- tests/ui/issues/issue-28498-ugeh-ex1.rs | 2 +- tests/ui/issues/issue-28776.mir.stderr | 11 - tests/ui/issues/issue-28776.rs | 3 - tests/ui/issues/issue-28776.stderr | 11 + tests/ui/issues/issue-28776.thir.stderr | 11 - tests/ui/issues/issue-31267-additional.rs | 2 +- tests/ui/issues/issue-31299.rs | 4 +- tests/ui/issues/issue-31910.rs | 1 + tests/ui/issues/issue-31910.stderr | 15 +- .../issue-32122-1.fixed | 0 .../issue-32122-1.rs | 0 .../issue-32122-1.stderr | 0 .../issue-32122-2.fixed | 0 .../issue-32122-2.rs | 0 .../issue-32122-2.stderr | 0 tests/ui/issues/issue-32782.stderr | 1 + tests/ui/issues/issue-34373.rs | 2 + tests/ui/issues/issue-34373.stderr | 38 +- tests/ui/issues/issue-34571.rs | 2 +- tests/ui/issues/issue-36278-prefix-nesting.rs | 2 +- .../issue-3668-2.fixed | 0 .../issue-3668-2.rs | 0 .../issue-3668-2.stderr | 0 .../issue-3668.rs | 0 .../issue-3668.stderr | 0 tests/ui/issues/issue-39367.rs | 2 - .../issue-40510-1.migrate.stderr | 0 .../issue-40510-1.rs | 0 .../issue-40510-1.stderr | 0 .../issue-40510-2.rs | 0 .../issue-40510-3.migrate.stderr | 0 .../issue-40510-3.rs | 0 .../issue-40510-3.stderr | 0 .../issue-40510-4.rs | 0 tests/ui/issues/issue-40827.stderr | 4 +- tests/ui/issues/issue-4252.rs | 2 +- tests/ui/issues/issue-46069.rs | 2 +- tests/ui/issues/issue-47715.rs | 8 +- tests/ui/issues/issue-47715.stderr | 16 +- tests/ui/issues/issue-48131.mir.stderr | 20 - tests/ui/issues/issue-48131.rs | 3 - tests/ui/issues/issue-48131.stderr | 20 + tests/ui/issues/issue-48131.thir.stderr | 20 - tests/ui/issues/issue-50582.stderr | 1 + tests/ui/issues/issue-50585.stderr | 1 + tests/ui/issues/issue-52489.stderr | 1 + tests/ui/issues/issue-5315.rs | 2 +- tests/ui/issues/issue-56199.stderr | 4 +- .../issue-57741-1.rs | 0 .../issue-57741-1.stderr | 0 .../issue-57741.fixed | 0 .../issue-57741.rs | 0 .../issue-57741.stderr | 0 tests/ui/issues/issue-5844.mir.stderr | 11 - tests/ui/issues/issue-5844.rs | 4 +- tests/ui/issues/issue-5844.stderr | 11 + tests/ui/issues/issue-5844.thir.stderr | 11 - .../issue-5997-enum.rs | 0 .../issue-5997-enum.stderr | 0 .../issue-5997-struct.rs | 0 .../issue-5997-struct.stderr | 0 .../issue-5997.rs | 0 tests/ui/issues/issue-61894.rs | 2 +- tests/ui/issues/issue-62375.stderr | 5 - .../issue-71676-1.fixed | 0 .../issue-71676-1.rs | 0 .../issue-71676-1.stderr | 0 .../issue-71676-2.rs | 0 .../issue-71676-2.stderr | 0 tests/ui/issues/issue-7364.stderr | 2 +- .../issue-76077-1.fixed | 0 .../issue-76077-1.rs | 0 .../issue-76077-1.stderr | 0 .../issue-76077.rs | 0 .../issue-76077.stderr | 0 tests/ui/issues/issue-7911.rs | 2 +- tests/ui/issues/issue-99838.rs | 4 +- tests/ui/iterators/float_iterator_hint.stderr | 2 +- tests/ui/iterators/integral.stderr | 24 +- tests/ui/iterators/issue-28098.rs | 4 - tests/ui/iterators/issue-28098.stderr | 84 +- tests/ui/iterators/ranges.stderr | 4 +- tests/ui/iterators/string.stderr | 4 +- .../ui/iterators/vec-on-unimplemented.stderr | 3 - .../kindck/kindck-impl-type-params-2.stderr | 2 +- .../ui/kindck/kindck-impl-type-params.stderr | 8 +- .../kindck-inherited-copy-bound.curr.stderr | 2 +- ...copy-bound.object_safe_for_dispatch.stderr | 2 +- tests/ui/kindck/kindck-nonsendable-1.stderr | 2 +- tests/ui/kindck/kindck-send-object.stderr | 4 +- tests/ui/kindck/kindck-send-object1.stderr | 4 +- tests/ui/kindck/kindck-send-object2.stderr | 4 +- tests/ui/kindck/kindck-send-owned.stderr | 2 +- tests/ui/lang-items/bad-add-impl.rs | 18 - tests/ui/lang-items/bad-add-impl.stderr | 11 - tests/ui/lang-items/duplicate.rs | 10 + tests/ui/lang-items/duplicate.stderr | 13 + .../fn-fn_mut-call-ill-formed.bad_item.stderr | 18 - .../fn-fn_mut-call-ill-formed.bad_sig.stderr | 18 - ...-fn_mut-call-ill-formed.fn_bad_item.stderr | 18 - ...n-fn_mut-call-ill-formed.fn_bad_sig.stderr | 18 - ...mut-call-ill-formed.fn_mut_bad_item.stderr | 18 - ..._mut-call-ill-formed.fn_mut_bad_sig.stderr | 18 - ...ut-call-ill-formed.fn_once_bad_item.stderr | 18 - ...mut-call-ill-formed.fn_once_bad_sig.stderr | 18 - .../lang-items/fn-fn_mut-call-ill-formed.rs | 49 - tests/ui/lang-items/issue-31076.rs | 17 - tests/ui/lang-items/issue-31076.stderr | 19 - tests/ui/lang-items/issue-83471.stderr | 2 + tests/ui/lang-items/issue-86238.rs | 16 - tests/ui/lang-items/issue-86238.stderr | 10 - .../lang-item-generic-requirements.rs | 7 +- tests/ui/lang-items/required-lang-item.rs | 7 +- tests/ui/lang-items/required-lang-item.stderr | 6 +- .../ui/layout/issue-112048-unsizing-niche.rs | 1 - tests/ui/layout/issue-84108.rs | 2 - tests/ui/layout/issue-84108.stderr | 24 +- tests/ui/layout/unsafe-cell-hides-niche.rs | 4 +- .../layout/zero-sized-array-enum-niche.stderr | 2 +- .../implied-outlives-bounds.neg.stderr | 34 + .../implied-outlives-bounds.rs | 39 + tests/ui/lexer/lex-emoji-identifiers.rs | 2 +- tests/ui/lexer/lex-emoji-identifiers.stderr | 2 +- .../ui/lifetimes/issue-76168-hr-outlives-3.rs | 5 +- .../issue-76168-hr-outlives-3.stderr | 25 +- tests/ui/lifetimes/issue-95023.rs | 4 +- tests/ui/lifetimes/issue-95023.stderr | 44 +- .../lifetimes/lifetime-errors/issue_74400.rs | 2 + .../lifetime-errors/issue_74400.stderr | 32 +- .../ui/lifetimes/missing-lifetime-in-alias.rs | 3 + .../missing-lifetime-in-alias.stderr | 31 +- .../ui/lifetimes/unusual-rib-combinations.rs | 1 - .../lifetimes/unusual-rib-combinations.stderr | 11 +- tests/ui/linkage-attr/linkage4.stderr | 1 + tests/ui/lint/clashing-extern-fn.rs | 2 +- tests/ui/lint/clashing-extern-fn.stderr | 6 +- tests/ui/lint/crate_level_only_lint.rs | 6 - tests/ui/lint/crate_level_only_lint.stderr | 54 +- tests/ui/lint/dead-code/lint-dead-code-1.rs | 2 +- tests/ui/lint/dead-code/lint-dead-code-5.rs | 6 +- .../ui/lint/dead-code/lint-dead-code-5.stderr | 2 +- .../multiple-dead-codes-in-the-same-struct.rs | 4 + ...tiple-dead-codes-in-the-same-struct.stderr | 16 +- .../dead-code/offset-of-correct-param-env.rs | 2 +- tests/ui/lint/dead-code/offset-of.rs | 2 +- tests/ui/lint/dead-code/tuple-struct-field.rs | 2 +- .../lint/dead-code/tuple-struct-field.stderr | 4 +- .../ui/lint/dead-code/type-in-transparent.rs | 14 + tests/ui/lint/dead-code/with-impl.rs | 2 +- tests/ui/lint/expansion-time.stderr | 15 + tests/ui/lint/forbid-group-group-2.rs | 12 - tests/ui/lint/forbid-group-group-2.stderr | 80 +- tests/ui/lint/forbid-group-member.rs | 4 - tests/ui/lint/forbid-group-member.stderr | 28 +- tests/ui/lint/forbid-member-group.rs | 1 - tests/ui/lint/forbid-member-group.stderr | 13 +- tests/ui/lint/invalid_value.stderr | 16 +- tests/ui/lint/issue-80988.rs | 4 - tests/ui/lint/issue-80988.stderr | 28 +- .../box_rc_arc_allowed.stderr | 4 +- .../ui/lint/large_assignments/copy_into_fn.rs | 24 + .../large_assignments/copy_into_fn.stderr | 31 + .../let_underscore/issue-119696-err-on-fn.rs | 21 + .../issue-119696-err-on-fn.stderr | 22 + .../let_underscore/issue-119697-extra-let.rs | 21 + .../issue-119697-extra-let.stderr | 37 + .../let_underscore/let_underscore_drop.rs | 2 + .../let_underscore/let_underscore_lock.rs | 15 + .../let_underscore/let_underscore_lock.stderr | 73 +- tests/ui/lint/lint-ctypes-enum.stderr | 6 +- tests/ui/lint/lint-forbid-attr.rs | 1 - tests/ui/lint/lint-forbid-attr.stderr | 13 +- tests/ui/lint/lint-forbid-cmdline.rs | 1 - tests/ui/lint/lint-forbid-cmdline.stderr | 11 +- tests/ui/lint/lint-match-arms-2.stderr | 4 +- tests/ui/lint/lint-output-format.stderr | 4 + tests/ui/lint/lint-stability-2.stderr | 32 + tests/ui/lint/lint-stability-fields.stderr | 43 + tests/ui/lint/lint-stability.stderr | 43 + .../feature-gate-must_not_suspend.stderr | 1 + tests/ui/lint/must_not_suspend/gated.rs | 2 - tests/ui/lint/must_not_suspend/gated.stderr | 25 +- .../expect_missing_feature_gate.stderr | 1 + .../lint-uncommon-codepoints.rs | 4 +- .../lint-uncommon-codepoints.stderr | 6 +- tests/ui/lint/unused/issue-104397.rs | 2 +- .../lint/unused/issue-105061-should-lint.rs | 2 +- tests/ui/lint/unused/issue-105061.rs | 2 +- .../issue-117142-invalid-remove-parens.rs | 19 + .../lint/unused/issue-119383-if-let-guard.rs | 9 + .../unused/issue-119383-if-let-guard.stderr | 14 + .../unused-doc-comments-edge-cases.stderr | 1 + .../lint/unused_parens_json_suggestion.fixed | 3 +- .../ui/lint/unused_parens_json_suggestion.rs | 3 +- .../lint/unused_parens_json_suggestion.stderr | 6 +- ...unused_parens_remove_json_suggestion.fixed | 17 +- .../unused_parens_remove_json_suggestion.rs | 17 +- ...nused_parens_remove_json_suggestion.stderr | 38 +- tests/ui/lint/use_suggestion_json.rs | 2 +- tests/ui/lint/use_suggestion_json.stderr | 424 +- tests/ui/lint/wide_pointer_comparisons.rs | 9 + tests/ui/lint/wide_pointer_comparisons.stderr | 17 +- tests/ui/list.rs | 2 +- tests/ui/lto/lto-still-runs-thread-dtors.rs | 2 - tests/ui/macros/html-literals.rs | 2 +- tests/ui/macros/issue-118786.stderr | 4 +- tests/ui/macros/issue-68060.rs | 1 + tests/ui/macros/issue-68060.stderr | 1 + tests/ui/macros/macro-stability.stderr | 3 + tests/ui/macros/macro-tt-followed-by-seq.rs | 2 +- .../required-feature.stderr | 10 + tests/ui/macros/stringify.rs | 91 +- tests/ui/macros/trace_faulty_macros.stderr | 2 +- ...ambiguate-associated-function-first-arg.rs | 49 + ...guate-associated-function-first-arg.stderr | 67 + tests/ui/methods/issues/issue-61525.stderr | 1 + .../methods/method-ambiguity-no-rcvr.stderr | 8 +- ...thod-argument-inference-associated-type.rs | 2 +- tests/ui/methods/method-call-err-msg.stderr | 5 +- .../method-on-ambiguous-numeric-type.rs | 7 + .../method-on-ambiguous-numeric-type.stderr | 23 +- .../method-probe-no-guessing-dyn-trait.rs | 4 +- tests/ui/mir/lint/assignment-overlap.rs | 19 + tests/ui/mir/lint/call-overlap.rs | 23 + tests/ui/mir/lint/no-storage.rs | 30 + .../ui/mir/{validate => lint}/storage-live.rs | 2 +- tests/ui/mir/lint/storage-live.stderr | 18 + tests/ui/mir/lint/storage-return.rs | 19 + tests/ui/mir/mir_codegen_switch.rs | 4 +- tests/ui/mir/mir_fat_ptr.rs | 2 +- tests/ui/mir/mir_raw_fat_ptr.rs | 2 +- tests/ui/mir/mir_refs_correct.rs | 4 +- tests/ui/mir/ssa_call_ret.rs | 2 +- tests/ui/mir/validate/critical-edge.rs | 2 +- tests/ui/mir/validate/noncleanup-cleanup.rs | 2 +- tests/ui/mir/validate/storage-live.stderr | 14 - tests/ui/mismatched_types/E0631.stderr | 10 +- .../mismatched_types/closure-arg-count.stderr | 10 +- .../mismatched_types/const-fn-in-trait.stderr | 12 +- .../ui/mismatched_types/issue-36053-2.stderr | 6 +- .../non_zero_assigned_something.stderr | 8 +- .../suggest-removing-tuple-struct-field.fixed | 2 +- .../suggest-removing-tuple-struct-field.rs | 2 +- tests/ui/missing/missing-block-hint.stderr | 4 + tests/ui/modules/issue-107649.stderr | 2 +- tests/ui/moves/move-fn-self-receiver.stderr | 14 +- tests/ui/mut/mutable-enum-indirect.stderr | 2 +- tests/ui/never_type/issue-52443.stderr | 2 + .../never-type-in-nested-fn-decl.rs | 7 + ...ead-local-static-mut-borrow-outlives-fn.rs | 5 +- ...local-static-mut-borrow-outlives-fn.stderr | 17 + .../escape-argument-callee.rs | 2 +- .../closure-requirements/escape-argument.rs | 2 +- .../escape-upvar-nested.rs | 2 +- .../closure-requirements/escape-upvar-ref.rs | 2 +- .../propagate-approximated-fail-no-postdom.rs | 2 +- .../propagate-approximated-ref.rs | 2 +- ...horter-to-static-comparing-against-free.rs | 2 +- ...approximated-shorter-to-static-no-bound.rs | 2 +- ...roximated-shorter-to-static-wrong-bound.rs | 2 +- .../propagate-approximated-val.rs | 2 +- .../propagate-despite-same-free-region.rs | 2 +- ...te-fail-to-approximate-longer-no-bounds.rs | 2 +- ...fail-to-approximate-longer-wrong-bounds.rs | 2 +- .../propagate-from-trait-match.rs | 2 +- ...region-lbr-anon-does-not-outlive-static.rs | 2 +- ...egion-lbr-named-does-not-outlive-static.rs | 2 +- .../region-lbr1-does-not-outlive-ebr2.rs | 2 +- ...does-outlive-lbr2-because-implied-bound.rs | 2 +- .../return-wrong-bound-region.rs | 2 +- tests/ui/nll/issue-54302.stderr | 2 +- .../ui/nll/ty-outlives/impl-trait-captures.rs | 2 +- .../ui/nll/ty-outlives/impl-trait-outlives.rs | 2 +- .../ty-outlives/projection-implied-bounds.rs | 2 +- .../projection-no-regions-closure.rs | 2 +- .../ty-outlives/projection-no-regions-fn.rs | 2 +- .../projection-one-region-closure.rs | 2 +- ...ojection-one-region-trait-bound-closure.rs | 2 +- ...n-one-region-trait-bound-static-closure.rs | 2 +- ...ojection-two-region-trait-bound-closure.rs | 2 +- ...y-param-closure-approximate-lower-bound.rs | 2 +- ...param-closure-outlives-from-return-type.rs | 2 +- ...aram-closure-outlives-from-where-clause.rs | 2 +- .../ty-outlives/ty-param-implied-bounds.rs | 2 +- .../user-annotations/dump-adt-brace-struct.rs | 2 +- .../ui/nll/user-annotations/dump-fn-method.rs | 2 +- tests/ui/no-send-res-ports.stderr | 2 +- tests/ui/no_send-enum.stderr | 2 +- tests/ui/no_share-enum.stderr | 2 +- tests/ui/no_std/no-std-no-start-binary.rs | 13 + tests/ui/no_std/no-std-no-start-binary.stderr | 6 + tests/ui/no_std/no-std-unwind-binary.rs | 15 + tests/ui/no_std/no-std-unwind-binary.stderr | 7 + tests/ui/not-clone-closure.stderr | 2 +- tests/ui/not-panic/not-panic-safe-2.stderr | 4 +- tests/ui/not-panic/not-panic-safe-3.stderr | 4 +- tests/ui/not-panic/not-panic-safe-4.stderr | 4 +- tests/ui/not-panic/not-panic-safe-5.stderr | 2 +- tests/ui/not-panic/not-panic-safe-6.stderr | 4 +- tests/ui/nullable-pointer-iotareduction.rs | 2 +- .../not-suggest-float-literal.stderr | 2 +- .../numbers-arithmetic/overflowing-rsh-6.rs | 9 - .../overflowing-rsh-6.stderr | 14 - ...lifetime-default-dyn-binding-nonstatic3.rs | 1 + ...time-default-dyn-binding-nonstatic3.stderr | 18 +- .../avoid-ice-on-warning-2.new.stderr | 12 + .../avoid-ice-on-warning-2.old.stderr | 40 + .../object-safety/avoid-ice-on-warning-2.rs | 12 + .../avoid-ice-on-warning-3.new.stderr | 47 + .../avoid-ice-on-warning-3.old.stderr | 128 + .../object-safety/avoid-ice-on-warning-3.rs | 20 + .../avoid-ice-on-warning.new.stderr | 15 + .../avoid-ice-on-warning.old.stderr | 29 + .../ui/object-safety/avoid-ice-on-warning.rs | 9 + .../bare-trait-dont-suggest-dyn.new.fixed | 16 + .../bare-trait-dont-suggest-dyn.new.stderr | 21 + .../bare-trait-dont-suggest-dyn.old.stderr | 39 + .../bare-trait-dont-suggest-dyn.rs | 16 + tests/ui/object-safety/erroneous_signature.rs | 17 + .../object-safety/erroneous_signature.stderr | 15 + .../object-safety-supertrait-mentions-Self.rs | 1 + ...ect-safety-supertrait-mentions-Self.stderr | 31 +- tests/ui/offset-of/offset-of-arg-count.rs | 10 +- tests/ui/offset-of/offset-of-arg-count.stderr | 39 +- tests/ui/offset-of/offset-of-builtin.rs | 24 +- tests/ui/offset-of/offset-of-builtin.stderr | 69 +- tests/ui/offset-of/offset-of-dst-field.rs | 2 +- tests/ui/offset-of/offset-of-dst-field.stderr | 2 +- tests/ui/offset-of/offset-of-enum.rs | 2 +- tests/ui/offset-of/offset-of-inference.rs | 2 - tests/ui/offset-of/offset-of-inference.stderr | 2 +- tests/ui/offset-of/offset-of-must-use.rs | 1 - tests/ui/offset-of/offset-of-must-use.stderr | 4 +- tests/ui/offset-of/offset-of-output-type.rs | 2 - .../ui/offset-of/offset-of-output-type.stderr | 12 +- tests/ui/offset-of/offset-of-private.rs | 2 +- tests/ui/offset-of/offset-of-self.rs | 13 +- tests/ui/offset-of/offset-of-self.stderr | 38 +- tests/ui/offset-of/offset-of-tuple-nested.rs | 7 +- tests/ui/offset-of/offset-of-tuple.rs | 44 +- tests/ui/offset-of/offset-of-tuple.stderr | 146 +- tests/ui/offset-of/offset-of-unsized.rs | 2 - .../offset-of-unstable-with-feature.rs | 2 +- tests/ui/offset-of/offset-of-unstable.rs | 2 +- tests/ui/offset-of/offset-of-unstable.stderr | 8 + .../feature-gate-on-unimplemented.stderr | 1 + tests/ui/on-unimplemented/multiple-impls.rs | 3 - .../ui/on-unimplemented/multiple-impls.stderr | 91 +- tests/ui/on-unimplemented/on-impl.rs | 1 - tests/ui/on-unimplemented/on-impl.stderr | 12 +- tests/ui/on-unimplemented/on-trait.stderr | 4 +- tests/ui/on-unimplemented/slice-index.stderr | 4 +- tests/ui/optimization-fuel-0.rs | 4 +- tests/ui/optimization-fuel-1.rs | 4 +- .../exhaustiveness-unreachable-pattern.rs | 20 + .../exhaustiveness-unreachable-pattern.stderr | 38 +- .../or-patterns-syntactic-pass.stderr | 1 + .../packed/issue-118537-field-offset-ice.rs | 2 +- tests/ui/packed/packed-struct-drop-aligned.rs | 2 +- .../ui/packed/packed-struct-optimized-enum.rs | 2 +- tests/ui/packed/packed-tuple-struct-layout.rs | 4 +- .../panic-handler-requires-panic-info.rs | 2 +- .../panic-handler-requires-panic-info.stderr | 6 +- tests/ui/panic-handler/weak-lang-item.rs | 2 +- tests/ui/panic-handler/weak-lang-item.stderr | 6 +- tests/ui/panic-runtime/needs-gate.stderr | 2 + tests/ui/panics/default-backtrace-ice.stderr | 2 +- .../attribute/attr-stmt-expr-attr-bad.rs | 6 +- .../attribute/attr-stmt-expr-attr-bad.stderr | 12 +- .../attribute/attr-unquoted-ident.fixed | 15 + .../parser/attribute/attr-unquoted-ident.rs | 15 + .../attribute/attr-unquoted-ident.stderr | 24 + ...r-from-trailing-outer-attribute-in-body.rs | 9 + ...om-trailing-outer-attribute-in-body.stderr | 27 + tests/ui/parser/bad-let-else-statement.rs | 25 + tests/ui/parser/bad-let-else-statement.stderr | 28 +- tests/ui/parser/bounds-type.rs | 1 + tests/ui/parser/bounds-type.stderr | 8 +- ...-before-generic-args-syntactic-pass.stderr | 2 + tests/ui/parser/eq-gt-to-gt-eq.fixed | 45 + tests/ui/parser/eq-gt-to-gt-eq.rs | 45 + tests/ui/parser/eq-gt-to-gt-eq.stderr | 106 + tests/ui/parser/fn-header-semantic-fail.rs | 4 +- .../ui/parser/fn-header-semantic-fail.stderr | 24 +- .../parser/generic-param-default-in-binder.rs | 10 + .../impl-item-type-no-body-semantic-fail.rs | 1 + ...mpl-item-type-no-body-semantic-fail.stderr | 18 +- ...mpls-nested-within-anon-consts-semantic.rs | 35 + .../impls-nested-within-fns-semantic-0.rs | 15 + .../impls-nested-within-fns-semantic-1.rs | 22 + .../issues/issue-103748-ICE-wrong-braces.rs | 1 - .../issue-103748-ICE-wrong-braces.stderr | 17 +- .../ui/parser/issues/issue-118531-ice.stderr | 1 + tests/ui/parser/issues/issue-24197.rs | 2 +- tests/ui/parser/issues/issue-24197.stderr | 6 +- tests/ui/parser/issues/issue-24375.rs | 2 +- tests/ui/parser/issues/issue-24375.stderr | 6 +- .../issue-68091-unicode-ident-after-if.stderr | 8 +- ...unicode-ident-after-incomplete-expr.stderr | 4 +- .../issues/issue-70388-without-witness.fixed | 2 +- .../issues/issue-70388-without-witness.rs | 2 +- .../issues/issue-73568-lifetime-after-mut.rs | 1 + .../issue-73568-lifetime-after-mut.stderr | 8 +- tests/ui/parser/label-is-actually-char.rs | 41 +- tests/ui/parser/label-is-actually-char.stderr | 75 +- ...mbe-bare-trait-object-maybe-trait-bound.rs | 16 + tests/ui/parser/match-arm-without-body.stderr | 8 +- tests/ui/parser/pat-lt-bracket-1.rs | 2 +- tests/ui/parser/pat-lt-bracket-1.stderr | 4 +- tests/ui/parser/pat-lt-bracket-5.rs | 4 +- tests/ui/parser/pat-lt-bracket-5.stderr | 15 +- tests/ui/parser/pat-lt-bracket-6.rs | 3 +- tests/ui/parser/pat-lt-bracket-6.stderr | 30 +- tests/ui/parser/pat-ranges-3.rs | 6 +- tests/ui/parser/pat-ranges-3.stderr | 14 +- tests/ui/parser/pat-ranges-4.rs | 6 - tests/ui/parser/pat-ranges-4.stderr | 8 - tests/ui/parser/pat-recover-exprs.rs | 28 + tests/ui/parser/pat-recover-exprs.stderr | 76 + tests/ui/parser/pat-recover-methodcalls.rs | 37 + .../ui/parser/pat-recover-methodcalls.stderr | 35 + tests/ui/parser/pat-recover-ranges.rs | 35 + tests/ui/parser/pat-recover-ranges.stderr | 132 + tests/ui/parser/pat-recover-wildcards.rs | 61 + tests/ui/parser/pat-recover-wildcards.stderr | 77 + tests/ui/parser/range-exclusive-dotdotlt.rs | 43 + .../ui/parser/range-exclusive-dotdotlt.stderr | 46 + .../recover-assoc-const-constraint.stderr | 2 + .../recover/recover-fn-ptr-with-generics.rs | 2 +- .../recover-fn-ptr-with-generics.stderr | 2 +- .../recover-fn-trait-from-fn-kw.stderr | 5 +- .../recover/recover-quantified-closure.stderr | 2 + ...re-clause-before-tuple-struct-body-0.fixed | 2 +- ...where-clause-before-tuple-struct-body-0.rs | 2 +- ...e-clause-before-tuple-struct-body-0.stderr | 6 +- .../removed-syntax-box.fixed | 0 .../removed-syntax-box.rs | 0 .../removed-syntax-box.stderr | 0 .../removed-syntax-closure-lifetime.rs | 0 .../removed-syntax-closure-lifetime.stderr | 0 .../removed-syntax-enum-newtype.rs | 0 .../removed-syntax-enum-newtype.stderr | 0 .../removed-syntax-field-let-2.rs | 0 .../removed-syntax-field-let-2.stderr | 0 .../removed-syntax-field-let.rs | 0 .../removed-syntax-field-let.stderr | 0 .../removed-syntax-field-semicolon.rs | 0 .../removed-syntax-field-semicolon.stderr | 0 .../removed-syntax-fixed-vec.rs | 0 .../removed-syntax-fixed-vec.stderr | 0 .../removed-syntax-fn-sigil.rs | 0 .../removed-syntax-fn-sigil.stderr | 0 .../removed-syntax-mode.rs | 0 .../removed-syntax-mode.stderr | 0 .../removed-syntax-mut-vec-expr.rs | 0 .../removed-syntax-mut-vec-expr.stderr | 0 .../removed-syntax-mut-vec-ty.rs | 0 .../removed-syntax-mut-vec-ty.stderr | 0 .../removed-syntax-ptr-lifetime.rs | 0 .../removed-syntax-ptr-lifetime.stderr | 0 .../removed-syntax-record.rs | 0 .../removed-syntax-record.stderr | 0 .../removed-syntax-static-fn.rs | 0 .../removed-syntax-static-fn.stderr | 0 .../removed-syntax-uniq-mut-expr.rs | 0 .../removed-syntax-uniq-mut-expr.stderr | 0 .../removed-syntax-uniq-mut-ty.rs | 0 .../removed-syntax-uniq-mut-ty.stderr | 0 .../removed-syntax-with-1.rs | 0 .../removed-syntax-with-1.stderr | 0 .../removed-syntax-with-2.rs | 0 .../removed-syntax-with-2.stderr | 0 tests/ui/parser/struct-literal-in-for.stderr | 2 +- tests/ui/parser/trait-object-delimiters.rs | 2 +- .../ui/parser/trait-object-delimiters.stderr | 4 +- tests/ui/partialeq_help.stderr | 8 + tests/ui/pattern/issue-115599.rs | 2 +- tests/ui/pattern/issue-115599.stderr | 4 +- tests/ui/pattern/issue-117626.rs | 21 + tests/ui/pattern/never_patterns.rs | 99 - tests/ui/pattern/never_patterns.stderr | 51 - .../non-structural-match-types.mir.stderr | 14 - .../ui/pattern/non-structural-match-types.rs | 2 - .../pattern/non-structural-match-types.stderr | 14 + .../non-structural-match-types.thir.stderr | 14 - ...tern-meant-to-be-slice-rest-pattern.stderr | 1 + tests/ui/pattern/rest-pat-syntactic.stderr | 2 + .../const-partial_eq-fallback-ice.rs | 2 +- .../const-partial_eq-fallback-ice.stderr | 4 +- tests/ui/pattern/usefulness/consts-opaque.rs | 28 +- .../pattern/usefulness/consts-opaque.stderr | 204 +- .../deny-irrefutable-let-patterns.stderr | 4 +- .../empty-types.exhaustive_patterns.stderr | 118 +- .../empty-types.min_exh_pats.stderr | 630 ++ .../usefulness/empty-types.normal.stderr | 98 +- tests/ui/pattern/usefulness/empty-types.rs | 84 +- tests/ui/pattern/usefulness/impl-trait.rs | 155 + tests/ui/pattern/usefulness/impl-trait.stderr | 119 + ...rlapping_range_endpoints-false-positive.rs | 9 + .../overlapping_range_endpoints.rs | 11 +- .../overlapping_range_endpoints.stderr | 24 +- .../usefulness/issue-119493-type-error-ice.rs | 13 + .../issue-119493-type-error-ice.stderr | 31 + .../usefulness/issue-119778-type-error-ice.rs | 13 + .../issue-119778-type-error-ice.stderr | 36 + tests/ui/pattern/usefulness/issue-57472.rs | 12 +- .../ui/pattern/usefulness/issue-57472.stderr | 6 +- .../usefulness/refutable-pattern-in-fn-arg.rs | 2 +- .../refutable-pattern-in-fn-arg.stderr | 2 +- tests/ui/pin-macro/cant_access_internals.rs | 2 +- .../ui/pin-macro/cant_access_internals.stderr | 5 +- .../ui/print_type_sizes/niche-filling.stdout | 16 +- .../privacy/auxiliary/issue-119463-extern.rs | 3 + tests/ui/privacy/issue-119463.rs | 15 + tests/ui/privacy/issue-119463.stderr | 22 + tests/ui/privacy/private-type-in-interface.rs | 3 +- .../privacy/private-type-in-interface.stderr | 16 +- .../proc-macro/allowed-attr-stmt-expr.stdout | 7 +- tests/ui/proc-macro/attr-stmt-expr.stderr | 2 + tests/ui/proc-macro/attr-stmt-expr.stdout | 5 +- .../attribute-spans-preserved.stdout | 2 +- .../attributes-on-modules-fail.stderr | 4 + tests/ui/proc-macro/auxiliary/api/mod.rs | 2 + tests/ui/proc-macro/auxiliary/api/parse.rs | 7 +- .../ui/proc-macro/auxiliary/attr-stmt-expr.rs | 4 +- .../capture-macro-rules-invoke.stdout | 2 +- tests/ui/proc-macro/cfg-eval-inner.stdout | 4 +- .../derive-helper-legacy-spurious.rs | 2 +- .../derive-helper-legacy-spurious.stderr | 10 +- .../proc-macro/doc-comment-preserved.stdout | 2 +- .../dollar-crate-issue-57089.stdout | 2 - .../dollar-crate-issue-62325.stdout | 2 - tests/ui/proc-macro/dollar-crate.stdout | 6 - tests/ui/proc-macro/env.rs | 2 +- tests/ui/proc-macro/expand-expr.rs | 4 +- tests/ui/proc-macro/expand-expr.stderr | 6 +- tests/ui/proc-macro/expand-to-derive.stdout | 4 +- tests/ui/proc-macro/expand-to-unstable.stderr | 1 + .../expr-stmt-nonterminal-tokens.stdout | 13 +- .../proc-macro/inert-attribute-order.stdout | 8 +- .../inner-attr-non-inline-mod.stderr | 14 + tests/ui/proc-macro/inner-attrs.rs | 9 +- tests/ui/proc-macro/inner-attrs.stderr | 8 +- tests/ui/proc-macro/inner-attrs.stdout | 637 +- tests/ui/proc-macro/input-interpolated.stdout | 2 +- .../issue-118455-skip-err-builtin.rs | 6 + .../issue-118455-skip-err-builtin.stderr | 8 + .../ui/proc-macro/issue-75734-pp-paren.stdout | 2 +- tests/ui/proc-macro/issue-75930-derive-cfg.rs | 7 +- .../proc-macro/issue-75930-derive-cfg.stderr | 4 +- .../proc-macro/issue-75930-derive-cfg.stdout | 2350 ++-- .../issue-76182-leading-vert-pat.stdout | 2 +- tests/ui/proc-macro/issue-83510.stderr | 1 + ...est-fix-invalid-top-level-macro-attr.fixed | 6 + ...uggest-fix-invalid-top-level-macro-attr.rs | 6 + ...st-fix-invalid-top-level-macro-attr.stderr | 16 + tests/ui/proc-macro/keep-expr-tokens.stdout | 2 +- tests/ui/proc-macro/literal-to-string.rs | 1 - tests/ui/proc-macro/literal-to-string.stdout | 30 +- .../proc-macro/macro-rules-derive-cfg.stdout | 6 +- tests/ui/proc-macro/meta-macro-hygiene.stdout | 3 + tests/ui/proc-macro/nested-derive-cfg.stdout | 2 +- .../nonterminal-token-hygiene.stdout | 4 +- tests/ui/proc-macro/pretty-print-tts.stdout | 2 +- tests/ui/proc-macro/proc-macro-gates.stderr | 19 + tests/ui/proc-macro/test.rs | 1 + tests/ui/process/no-stdio.rs | 2 - tests/ui/pub/pub-ident-struct-4.fixed | 2 +- tests/ui/pub/pub-ident-struct-4.rs | 2 +- tests/ui/pub/pub-ident-struct-4.stderr | 4 +- tests/ui/range/range-1.stderr | 2 +- tests/ui/range_inclusive.rs | 2 +- tests/ui/raw-ref-op/feature-raw-ref-op.stderr | 6 + .../recursion/recursive-requirements.stderr | 4 +- .../recursive-static-definition.stderr | 9 +- tests/ui/recursion_limit/issue-40003.rs | 2 +- .../repeat-to-run-dtor-twice.stderr | 2 + tests/ui/repr/align-with-extern-c-fn.rs | 2 +- .../repr/explicit-rust-repr-conflicts.stderr | 1 + tests/ui/reserved/reserved-attr-on-macro.rs | 2 +- .../ui/reserved/reserved-attr-on-macro.stderr | 10 +- .../suggest-constructor-cycle-error.rs | 12 + tests/ui/resolve/issue-5035-2.stderr | 4 - .../suggest-constructor-cycle-error.rs | 10 + .../suggest-constructor-cycle-error.stderr | 15 + .../120240-async-fn-never-arg.rs | 16 + .../120240-async-fn-never-arg.stderr | 12 + .../ICE-119271-never-arm-attr-in-guard.rs | 10 + .../ICE-119271-never-arm-attr-in-guard.stderr | 29 + .../rfcs/rfc-0000-never_patterns/bindings.rs | 46 + .../rfc-0000-never_patterns/bindings.stderr | 50 + .../diverge-causes-unreachable-code.rs | 36 + .../diverge-causes-unreachable-code.stderr | 49 + .../rfc-0000-never_patterns/diverges-not.rs | 56 + .../diverges-not.stderr | 55 + .../rfcs/rfc-0000-never_patterns/diverges.rs | 38 + .../ui/rfcs/rfc-0000-never_patterns/macros.rs | 49 + .../ui/rfcs/rfc-0000-never_patterns/parse.rs | 6 + .../rfcs/rfc-0000-never_patterns/parse.stderr | 8 +- .../typeck.fail.stderr | 66 + .../ui/rfcs/rfc-0000-never_patterns/typeck.rs | 125 + .../unreachable.exh_pats.stderr | 44 + .../rfc-0000-never_patterns/unreachable.rs | 31 + ...-hide-behind-direct-unsafe-ptr-embedded.rs | 2 +- ...low-hide-behind-direct-unsafe-ptr-param.rs | 2 +- ...ide-behind-indirect-unsafe-ptr-embedded.rs | 2 +- ...w-hide-behind-indirect-unsafe-ptr-param.rs | 2 +- ...cant-hide-behind-direct-struct-embedded.rs | 4 +- ...-hide-behind-direct-struct-embedded.stderr | 4 +- .../cant-hide-behind-direct-struct-param.rs | 2 +- ...ant-hide-behind-direct-struct-param.stderr | 4 +- ...nt-hide-behind-doubly-indirect-embedded.rs | 4 +- ...ide-behind-doubly-indirect-embedded.stderr | 4 +- .../cant-hide-behind-doubly-indirect-param.rs | 4 +- ...t-hide-behind-doubly-indirect-param.stderr | 4 +- ...nt-hide-behind-indirect-struct-embedded.rs | 4 +- ...ide-behind-indirect-struct-embedded.stderr | 4 +- .../cant-hide-behind-indirect-struct-param.rs | 4 +- ...t-hide-behind-indirect-struct-param.stderr | 4 +- .../feature-gate.no_gate.stderr | 12 +- .../feature-gate.rs | 2 - ...-61188-match-slice-forbidden-without-eq.rs | 2 +- ...88-match-slice-forbidden-without-eq.stderr | 4 +- ...2307-match-ref-ref-forbidden-without-eq.rs | 4 +- ...-match-ref-ref-forbidden-without-eq.stderr | 8 +- .../match-forbidden-without-eq.rs | 23 - .../match-forbidden-without-eq.stderr | 21 - ...tch-nonempty-array-forbidden-without-eq.rs | 19 - ...nonempty-array-forbidden-without-eq.stderr | 11 - .../match-requires-both-partialeq-and-eq.rs | 2 +- ...atch-requires-both-partialeq-and-eq.stderr | 4 +- .../termination-trait-test-wrong-type.stderr | 2 +- .../ui/rfcs/rfc-2151-raw-identifiers/attr.rs | 2 +- .../rfcs/rfc-2294-if-let-guard/drop-order.rs | 59 + .../rfcs/rfc-2294-if-let-guard/drop-scope.rs | 72 + .../rfc-2294-if-let-guard/feature-gate.stderr | 11 + .../rfc-2294-if-let-guard/loop-mutability.rs | 19 + tests/ui/rfcs/rfc-2294-if-let-guard/scope.rs | 30 + .../scoping-consistency-async.rs | 32 + .../scoping-consistency.rs | 24 + .../rfcs/rfc-2294-if-let-guard/warns.stderr | 4 +- .../dbg-macro-requires-debug.stderr | 2 +- .../rfc-2396-target_feature-11/check-pass.rs | 2 - .../closures-inherit-target_feature.rs | 6 +- .../feature-gate-target_feature_11.stderr | 1 + .../rfcs/rfc-2396-target_feature-11/fn-ptr.rs | 2 - .../rfc-2396-target_feature-11/fn-ptr.stderr | 23 + .../issue-108655-inline-always-closure.rs | 2 - .../rfc-2396-target_feature-11/safe-calls.rs | 39 +- .../safe-calls.stderr | 116 + .../feature-gate-do_not_recommend.stderr | 2 +- .../unstable-feature.stderr | 1 + .../feature-gate.stderr | 8 + .../rfc-2497-if-let-chains/issue-93150.stderr | 2 + .../feature-gate.stderr | 1 + ...-type-const-bound-usage-0.qualified.stderr | 14 + .../assoc-type-const-bound-usage-0.rs | 24 + ...-type-const-bound-usage-1.qualified.stderr | 14 + .../assoc-type-const-bound-usage-1.rs | 27 + .../assoc-type-const-bound-usage.rs | 15 - .../assoc-type-const-bound-usage.stderr | 20 - .../rfc-2632-const-trait-impl/assoc-type.rs | 28 +- .../assoc-type.stderr | 22 +- .../call-const-trait-method-pass.stderr | 2 + .../call-generic-method-nonconst.rs | 2 +- .../call-generic-method-nonconst.stderr | 4 +- .../ui/rfcs/rfc-2632-const-trait-impl/call.rs | 2 +- .../const-bounds-non-const-trait.rs | 12 + .../const-bounds-non-const-trait.stderr | 14 + .../const-closure-parse-not-item.stderr | 2 +- .../const-closure-trait-method-fail.stderr | 2 +- .../const-closure-trait-method.stderr | 2 +- .../const-closures.stderr | 8 +- .../const-drop-fail-2.precise.stderr | 2 +- .../const-drop-fail-2.stock.stderr | 2 +- .../const-drop.precise.stderr | 17 +- .../rfc-2632-const-trait-impl/const-drop.rs | 7 +- .../const-drop.stock.stderr | 21 +- .../const-fns-are-early-bound.rs | 86 + .../const-impl-requires-const-trait.stderr | 12 +- .../const-impl-trait.rs | 2 + .../const-impl-trait.stderr | 40 +- .../const-trait-bounds-trait-objects.rs | 17 + .../const-trait-bounds-trait-objects.stderr | 30 + .../const-trait-bounds.rs | 31 + .../const_derives/derive-const-gate.stderr | 1 + .../derive-const-non-const-type.stderr | 8 +- .../const_derives/derive-const-use.stderr | 19 +- ...ross-crate-default-method-body-is-const.rs | 2 +- ...nst_closure-const_trait_impl-ice-113381.rs | 4 +- ...closure-const_trait_impl-ice-113381.stderr | 11 - .../ice-112822-expected-type-for-param.rs | 18 + .../ice-112822-expected-type-for-param.stderr | 60 + .../effects/minicore.rs | 20 +- .../effects/project.rs | 9 +- .../effects/project.stderr | 65 + .../effects/trait-fn-const.rs | 21 + .../effects/trait-fn-const.stderr | 59 + .../feature-gate.gated.stderr | 2 +- .../rfc-2632-const-trait-impl/feature-gate.rs | 8 + .../feature-gate.stock.stderr | 44 +- .../rfc-2632-const-trait-impl/gate.stderr | 2 + .../generic-bound.stderr | 1 + .../hir-const-check.stderr | 1 + .../issue-102985.stderr | 2 + .../rfc-2632-const-trait-impl/issue-79450.rs | 2 +- .../issue-88155.stderr | 1 + .../match-non-const-eq.gated.stderr | 1 + ...e-bare-trait-objects-const-trait-bounds.rs | 20 + ...onst-trait-bound-theoretical-regression.rs | 20 + ...-trait-bound-theoretical-regression.stderr | 31 + .../mbe-dyn-const-2015.rs | 13 + ...utually-exclusive-trait-bound-modifiers.rs | 20 + ...lly-exclusive-trait-bound-modifiers.stderr | 38 + ...st-op-const-closure-non-const-outer.stderr | 1 + .../non-const-op-in-closure-in-const.stderr | 2 +- .../specializing-constness-2.rs | 2 +- .../specializing-constness-2.stderr | 15 +- .../super-traits-fail-2.nn.stderr | 22 +- .../super-traits-fail-2.ny.stderr | 18 +- .../super-traits-fail-2.rs | 12 +- .../super-traits-fail-2.yn.stderr | 16 +- .../super-traits-fail-2.yy.stderr | 11 +- .../super-traits-fail-3.nn.stderr | 24 +- .../super-traits-fail-3.ny.stderr | 18 +- .../super-traits-fail-3.rs | 15 +- .../super-traits-fail-3.yn.stderr | 18 +- .../super-traits-fail-3.yy.stderr | 11 - .../tilde-const-assoc-fn-in-trait-impl.rs | 29 + ...=> tilde-const-inherent-assoc-const-fn.rs} | 0 .../tilde-const-invalid-places.rs | 3 + .../tilde-const-invalid-places.stderr | 126 +- .../tilde-const-maybe-trait.rs | 6 - .../tilde-const-maybe-trait.stderr | 8 - .../tilde-const-trait-assoc-tys.rs | 18 + .../trait-default-body-stability.rs | 2 +- .../trait-default-body-stability.stderr | 54 +- .../trait-where-clause-const.stderr | 34 +- .../unsatisfied-const-trait-bound.rs | 33 + .../unsatisfied-const-trait-bound.stderr | 35 + .../without-tilde.rs | 6 - .../without-tilde.stderr | 10 - .../rfcs/rfc-3348-c-string-literals/basic.rs | 2 - .../rfcs/rfc-3348-c-string-literals/gate.rs | 15 - .../rfc-3348-c-string-literals/gate.stderr | 21 - .../rfc-3348-c-string-literals/no-nuls.rs | Bin 767 -> 1906 bytes .../rfc-3348-c-string-literals/no-nuls.stderr | Bin 674 -> 2028 bytes .../rfc-3348-c-string-literals/non-ascii.rs | 2 - tests/ui/runtime/running-with-no-runtime.rs | 2 - tests/ui/rust-2018/issue-54006.rs | 1 - tests/ui/rust-2018/issue-54006.stderr | 10 +- .../rustdoc/feature-gate-doc_primitive.stderr | 1 + tests/ui/sanitize/badfree.rs | 2 +- ...itizer-cfi-generalize-pointers-attr-cfg.rs | 2 + ...nitizer-cfi-normalize-integers-attr-cfg.rs | 2 + ...ary-self-from-method-substs.default.stderr | 1 + ...trary_self_types_pin_needing_borrow.stderr | 2 +- .../shell-argfiles-badquotes-windows.rs | 11 + .../shell-argfiles-badquotes-windows.stderr | 2 + .../shell-argfiles-badquotes.args | 1 + .../shell-argfiles-badquotes.rs | 12 + .../shell-argfiles-badquotes.stderr | 2 + .../shell-argfiles-via-argfile-shell.args | 1 + .../shell-argfiles-via-argfile.args | 1 + .../shell-argfiles-via-argfile.rs | 10 + tests/ui/shell-argfiles/shell-argfiles.args | 3 + tests/ui/shell-argfiles/shell-argfiles.rs | 19 + .../simd/intrinsic/generic-comparison-pass.rs | 2 - tests/ui/single-use-lifetime/issue-117965.rs | 18 + .../single-use-lifetime/issue-117965.stderr | 16 + tests/ui/sized/recursive-type-2.stderr | 14 - ...ve-type-2.rs => recursive-type-binding.rs} | 0 tests/ui/sized/recursive-type-binding.stderr | 14 + .../recursive-type-coercion-from-never.rs | 16 + .../recursive-type-coercion-from-never.stderr | 14 + ...rsive-type-1.rs => recursive-type-pass.rs} | 0 .../ui/span/gated-features-attr-spans.stderr | 1 + tests/ui/span/issue-43927-non-ADT-derive.rs | 3 +- .../ui/span/issue-43927-non-ADT-derive.stderr | 12 +- tests/ui/span/lint-unused-unsafe.mir.stderr | 1402 --- tests/ui/span/lint-unused-unsafe.rs | 3 - tests/ui/span/lint-unused-unsafe.stderr | 1402 +++ tests/ui/span/lint-unused-unsafe.thir.stderr | 1402 --- .../specialization/allow_internal_unstable.rs | 18 + .../ui/specialization/const_trait_impl.stderr | 6 +- .../ctfe/default-assoc-const.rs | 18 + .../ctfe/default-assoc-const.stderr | 12 + .../specialization/ctfe/default-assoc-type.rs | 27 + .../ctfe/default-assoc-type.stderr | 12 + ...specialization-feature-gate-default.stderr | 1 + ...pecialization-trait-not-implemented.stderr | 5 +- .../bad-const-wf-doesnt-specialize.rs | 2 +- .../bad-const-wf-doesnt-specialize.stderr | 15 +- .../min_specialization/issue-79224.stderr | 28 +- .../specialization-cross-crate.rs | 2 +- ...specialization-feature-gate-default.stderr | 1 + ...on-translate-projections-with-lifetimes.rs | 2 +- .../accidental-stable-in-unstable.stderr | 1 + .../allow-unstable-reexport.stderr | 3 + .../allowed-through-unstable.stderr | 1 + .../default-body-stability-err.stderr | 4 + .../generics-default-stability-trait.stderr | 3 + .../generics-default-stability-where.rs | 1 + .../generics-default-stability-where.stderr | 15 +- .../generics-default-stability.stderr | 28 + .../ui/stability-attribute/issue-28075.stderr | 1 + .../stability-attribute/issue-28388-3.stderr | 1 + ...bility-attribute-implies-no-feature.stderr | 2 + .../stability-attribute-issue.stderr | 2 + .../stable-in-unstable.stderr | 6 + .../suggest-vec-allocator-api.stderr | 4 + .../reference-of-mut-static-unsafe-fn.rs | 26 + .../reference-of-mut-static-unsafe-fn.stderr | 75 + .../reference-of-mut-static.e2021.stderr | 91 + .../reference-of-mut-static.e2024.stderr | 75 + tests/ui/static/reference-of-mut-static.rs | 50 + .../reference-to-mut-static-safe.e2021.stderr | 26 + .../reference-to-mut-static-safe.e2024.stderr | 15 + .../ui/static/reference-to-mut-static-safe.rs | 13 + .../reference-to-mut-static-unsafe-fn.rs | 26 + .../reference-to-mut-static-unsafe-fn.stderr | 75 + .../reference-to-mut-static.e2021.stderr | 91 + .../reference-to-mut-static.e2024.stderr | 75 + tests/ui/static/reference-to-mut-static.rs | 50 + .../static/safe-extern-statics-mut.mir.stderr | 35 - tests/ui/static/safe-extern-statics-mut.rs | 4 +- .../ui/static/safe-extern-statics-mut.stderr | 64 + .../safe-extern-statics-mut.thir.stderr | 35 - .../ui/static/safe-extern-statics.mir.stderr | 35 - tests/ui/static/safe-extern-statics.rs | 2 - tests/ui/static/safe-extern-statics.stderr | 35 + .../ui/static/safe-extern-statics.thir.stderr | 35 - ...tic-mut-foreign-requires-unsafe.mir.stderr | 27 - .../static-mut-foreign-requires-unsafe.rs | 3 - .../static-mut-foreign-requires-unsafe.stderr | 27 + ...ic-mut-foreign-requires-unsafe.thir.stderr | 27 - .../static-mut-requires-unsafe.mir.stderr | 27 - tests/ui/static/static-mut-requires-unsafe.rs | 3 - .../static/static-mut-requires-unsafe.stderr | 27 + .../static-mut-requires-unsafe.thir.stderr | 27 - tests/ui/statics/issue-14227.mir.stderr | 11 - tests/ui/statics/issue-14227.rs | 3 - tests/ui/statics/issue-14227.stderr | 11 + tests/ui/statics/issue-14227.thir.stderr | 11 - tests/ui/statics/issue-15261.rs | 3 +- tests/ui/statics/issue-15261.stderr | 17 + tests/ui/statics/static-mut-xc.rs | 3 +- tests/ui/statics/static-mut-xc.stderr | 31 + tests/ui/statics/static-recursive.rs | 27 +- tests/ui/statics/static-recursive.stderr | 17 + tests/ui/stats/hir-stats.stderr | 48 +- tests/ui/std/windows-bat-args.rs | 90 + tests/ui/std/windows-bat-args1.bat | 1 + tests/ui/std/windows-bat-args2.bat | 1 + tests/ui/std/windows-bat-args3.bat | 1 + tests/ui/stdlib-unit-tests/raw-fat-ptr.rs | 2 +- tests/ui/stmt_expr_attrs_no_feature.stderr | 9 + tests/ui/str/str-escape.rs | 9 +- tests/ui/str/str-escape.stderr | 14 +- tests/ui/str/str-idx.stderr | 4 +- tests/ui/str/str-mut-idx.stderr | 6 +- tests/ui/struct-ctor-mangling.rs | 2 +- .../ui/structs-enums/enum-null-pointer-opt.rs | 6 +- .../enum-nullable-simplifycfg-misopt.rs | 2 +- tests/ui/structs-enums/resource-in-struct.rs | 2 +- .../structs-enums/tuple-struct-construct.rs | 2 +- .../ui/structs-enums/uninstantiable-struct.rs | 2 +- .../ui/suggestions/auxiliary/hidden-struct.rs | 17 + .../ui/suggestions/bad-infer-in-trait-impl.rs | 1 + .../bad-infer-in-trait-impl.stderr | 14 +- .../ui/suggestions/derive-clone-for-eq.stderr | 2 +- .../derive-macro-missing-bounds.stderr | 10 +- .../derive-trait-for-method-call.stderr | 16 +- .../dont-suggest-foreign-doc-hidden.rs | 15 + .../dont-suggest-foreign-doc-hidden.stderr | 25 + .../expected-boxed-future-isnt-pinned.stderr | 4 +- tests/ui/suggestions/fn-trait-notation.fixed | 1 + tests/ui/suggestions/fn-trait-notation.rs | 1 + tests/ui/suggestions/fn-trait-notation.stderr | 21 +- .../impl-trait-missing-lifetime-gated.rs | 6 +- .../impl-trait-missing-lifetime-gated.stderr | 46 +- tests/ui/suggestions/into-str.stderr | 2 +- tests/ui/suggestions/issue-104327.stderr | 2 +- tests/ui/suggestions/issue-104328.stderr | 2 +- .../issue-71394-no-from-impl.stderr | 2 +- tests/ui/suggestions/issue-88696.stderr | 2 +- tests/ui/suggestions/issue-89333.stderr | 2 +- tests/ui/suggestions/issue-96223.stderr | 2 +- tests/ui/suggestions/issue-96555.stderr | 6 +- .../lifetimes/type-param-bound-scope.fixed | 2 +- .../lifetimes/type-param-bound-scope.rs | 2 +- tests/ui/suggestions/missing-assoc-fn.stderr | 1 + .../suggestions/missing-lifetime-specifier.rs | 13 +- .../missing-lifetime-specifier.stderr | 183 +- .../mut-borrow-needed-by-trait.stderr | 3 - ...-trait-should-use-self-2021-without-dyn.rs | 25 + ...it-should-use-self-2021-without-dyn.stderr | 176 + ...bject-unsafe-trait-should-use-self-2021.rs | 17 + ...t-unsafe-trait-should-use-self-2021.stderr | 65 + tests/ui/suggestions/path-by-value.stderr | 2 +- tests/ui/suggestions/path-display.stderr | 2 +- ...dding-reference-to-trait-assoc-item.stderr | 4 +- ...suggest-assoc-fn-call-for-impl-trait.fixed | 29 + .../suggest-assoc-fn-call-for-impl-trait.rs | 29 + ...uggest-assoc-fn-call-for-impl-trait.stderr | 60 + .../ui/suggestions/suggest-change-mut.stderr | 3 - .../suggest-dereferencing-index.stderr | 2 +- tests/ui/suggestions/suggest-pin-macro.stderr | 2 +- .../suggestions/suggest-remove-refs-1.stderr | 2 +- .../suggestions/suggest-remove-refs-2.stderr | 2 +- .../suggestions/suggest-remove-refs-3.stderr | 2 +- .../suggestions/suggest-remove-refs-4.stderr | 2 +- .../suggestions/suggest-remove-refs-5.stderr | 4 +- tests/ui/suggestions/suggest-slice-swap.fixed | 9 + tests/ui/suggestions/suggest-slice-swap.rs | 9 + .../ui/suggestions/suggest-slice-swap.stderr | 17 + .../suggest-trait-in-ufcs-in-hrtb.stderr | 9 +- ...-ascription-instead-of-path-in-type.stderr | 1 + .../bad-value.bad.stderr | 2 +- .../bad-value.blank.stderr | 2 +- .../bad-value.no-value.stderr | 2 +- .../unstable.hashed.stderr | 2 + tests/ui/symbol-mangling-version/unstable.rs | 5 +- ...onst-generics-structural-demangling.stderr | 2 +- tests/ui/symbol-names/types.rs | 2 +- tests/ui/symbol-names/verbose.rs | 4 +- tests/ui/sync/mutexguard-sync.stderr | 2 +- tests/ui/tag-type-args.rs | 1 + tests/ui/tag-type-args.stderr | 16 +- tests/ui/target-feature/gate.stderr | 1 + tests/ui/target-feature/invalid-attribute.rs | 6 +- .../target-feature/invalid-attribute.stderr | 44 +- tests/ui/thir-print/thir-tree-match.stdout | 28 +- .../thread-local-static.mir.stderr | 44 - tests/ui/thread-local/thread-local-static.rs | 5 +- .../thread-local/thread-local-static.stderr | 61 + .../thread-local-static.thir.stderr | 17 +- .../threads-sendsync/issue-43733.mir.stderr | 19 - tests/ui/threads-sendsync/issue-43733.rs | 8 +- tests/ui/threads-sendsync/issue-43733.stderr | 19 + .../threads-sendsync/issue-43733.thir.stderr | 19 - .../ui/tool-attributes/diagnostic_item.stderr | 1 + tests/ui/track-diagnostics/track.rs | 2 + tests/ui/track-diagnostics/track.stderr | 20 +- tests/ui/track-diagnostics/track6.stderr | 1 + tests/ui/trailing-comma.rs | 4 +- ...impl-derived-implicit-sized-bound-2.stderr | 5 +- .../impl-derived-implicit-sized-bound.stderr | 5 +- .../trait-bounds/issue-119530-sugg-from-fn.rs | 5 + .../issue-119530-sugg-from-fn.stderr | 13 + tests/ui/traits/alias/cross-crate.stderr | 4 +- .../alias/generic-default-in-dyn.stderr | 1 + ...ssue-108072-unmet-trait-alias-bound.stderr | 2 +- ...lid-assoc-type-suggestion-in-trait-impl.rs | 2 + ...assoc-type-suggestion-in-trait-impl.stderr | 33 +- .../ui/traits/augmented-assignments-trait.rs | 2 +- tests/ui/traits/bad-sized.stderr | 2 +- .../assoc-fn-bound-root-obligation.stderr | 2 +- .../ui/traits/bound/not-on-bare-trait-2021.rs | 19 + .../bound/not-on-bare-trait-2021.stderr | 91 + tests/ui/traits/bound/not-on-bare-trait.rs | 3 + .../ui/traits/bound/not-on-bare-trait.stderr | 23 +- .../traits/copy-impl-cannot-normalize.stderr | 2 +- tests/ui/traits/cycle-cache-err-60010.rs | 3 +- tests/ui/traits/cycle-cache-err-60010.stderr | 59 +- .../rustc_must_implement_one_of_gated.stderr | 1 + ...dont-autoderef-ty-with-escaping-var.stderr | 2 +- .../traits/inductive-overflow/lifetime.stderr | 2 +- .../inductive-overflow/simultaneous.stderr | 2 +- .../supertrait-auto-trait.stderr | 2 +- .../inductive-overflow/supertrait.stderr | 2 +- .../inductive-overflow/two-traits.stderr | 2 +- tests/ui/traits/invalid_operator_trait.rs | 23 - tests/ui/traits/invalid_operator_trait.stderr | 8 - tests/ui/traits/issue-102989.rs | 15 - tests/ui/traits/issue-102989.stderr | 48 - tests/ui/traits/issue-106072.rs | 1 + tests/ui/traits/issue-106072.stderr | 19 +- tests/ui/traits/issue-28576.rs | 2 + tests/ui/traits/issue-28576.stderr | 51 +- tests/ui/traits/issue-38404.rs | 3 +- tests/ui/traits/issue-38404.stderr | 25 +- tests/ui/traits/issue-43784-supertrait.stderr | 2 +- tests/ui/traits/issue-7013.stderr | 2 +- tests/ui/traits/issue-71036.stderr | 2 +- tests/ui/traits/issue-71136.stderr | 2 +- tests/ui/traits/issue-77982.stderr | 3 +- tests/ui/traits/issue-78372.stderr | 2 + tests/ui/traits/issue-87558.rs | 2 + tests/ui/traits/issue-87558.stderr | 26 +- tests/ui/traits/issue-91594.stderr | 2 +- tests/ui/traits/issue-97576.stderr | 2 +- ...d-argument-mismatch-variance-ice-119867.rs | 13 + ...gument-mismatch-variance-ice-119867.stderr | 24 + .../negative-bounds/associated-constraints.rs | 4 +- .../associated-constraints.stderr | 20 +- .../opaque-type-unsatisfied-bound.rs | 20 + .../opaque-type-unsatisfied-bound.stderr | 36 + .../opaque-type-unsatisfied-fn-bound.rs | 8 + .../opaque-type-unsatisfied-fn-bound.stderr | 9 + tests/ui/traits/negative-bounds/simple.rs | 1 - tests/ui/traits/negative-bounds/simple.stderr | 26 +- tests/ui/traits/negative-bounds/supertrait.rs | 1 - .../traits/negative-bounds/supertrait.stderr | 10 - .../feature-gate-negative_impls.stderr | 1 + .../negated-auto-traits-error.stderr | 6 +- .../negated-auto-traits-rpass.rs | 2 +- .../traits/next-solver/alias-bound-unsound.rs | 9 +- .../next-solver/alias-bound-unsound.stderr | 28 +- .../alias_eq_cant_be_furthur_normalized.rs | 0 ..._eq_dont_use_normalizes_to_if_substs_eq.rs | 0 .../{ => alias-relate}/alias_eq_simple.rs | 0 .../alias_eq_substs_eq_not_intercrate.rs | 0 .../alias_eq_substs_eq_not_intercrate.stderr | 0 .../{ => alias-relate}/tait-eq-proj-2.rs | 2 +- .../{ => alias-relate}/tait-eq-proj.rs | 0 .../{ => alias-relate}/tait-eq-tait.rs | 0 .../ambig-projection-self-is-ambig.rs | 19 + .../next-solver/cycles/mixed-cycles-1.rs | 39 + .../next-solver/cycles/mixed-cycles-1.stderr | 16 + .../next-solver/cycles/mixed-cycles-2.rs | 32 + .../next-solver/cycles/mixed-cycles-2.stderr | 16 + .../provisional-cache-impacts-behavior.rs | 70 + .../dont-ice-on-assoc-projection.stderr | 1 + ...e_of-tait-in-defining-scope.is_send.stderr | 16 + ..._of-tait-in-defining-scope.not_send.stderr | 4 +- .../dont-type_of-tait-in-defining-scope.rs | 3 +- .../next-solver/more-object-bound.stderr | 2 +- .../next-solver/normalize-path-for-method.rs | 18 + .../normalize-region-obligations.rs | 22 + .../traits/next-solver/object-unsafety.stderr | 5 +- .../recursive-self-normalization-2.rs | 8 +- .../recursive-self-normalization-2.stderr | 47 +- .../overflow/recursive-self-normalization.rs | 8 +- .../recursive-self-normalization.stderr | 47 +- .../next-solver/specialization-transmute.rs | 7 +- .../specialization-transmute.stderr | 13 +- .../specialization-unconstrained.stderr | 2 +- .../traits/next-solver/temporary-ambiguity.rs | 22 - .../next-solver/unsound-region-obligation.rs | 13 + .../unsound-region-obligation.stderr | 7 + .../non_lifetime_binders/bad-copy-cond.stderr | 2 +- .../bad-sized-cond.stderr | 10 +- .../binder-defaults-112547.rs | 16 + .../binder-defaults-112547.stderr | 32 + .../binder-defaults-118697.rs | 9 + .../binder-defaults-118697.stderr | 21 + .../binder-defaults-119489.rs | 12 + .../binder-defaults-119489.stderr | 31 + .../bounds-on-type-binders.rs | 14 + .../bounds-on-type-binders.stderr | 8 + .../traits/non_lifetime_binders/fail.stderr | 4 +- .../foreach-partial-eq.stderr | 2 +- .../late-bound-in-anon-ct.rs | 2 +- ...holders-in-query-response-2.current.stderr | 11 + ...aceholders-in-query-response-2.next.stderr | 11 + ...ifying-placeholders-in-query-response-2.rs | 23 + ...ceholders-in-query-response.current.stderr | 11 + ...placeholders-in-query-response.next.stderr | 11 + ...unifying-placeholders-in-query-response.rs | 27 + tests/ui/traits/object/exclusion.rs | 2 +- tests/ui/traits/object/generics.rs | 2 +- .../object-unsafe-missing-assoc-type.rs | 3 + .../object-unsafe-missing-assoc-type.stderr | 49 +- tests/ui/traits/pointee-deduction.rs | 4 +- tests/ui/traits/principal-less-objects.rs | 2 +- .../question-mark-result-err-mismatch.stderr | 6 +- tests/ui/traits/safety-fn-body.mir.stderr | 11 - tests/ui/traits/safety-fn-body.rs | 3 - tests/ui/traits/safety-fn-body.stderr | 11 + tests/ui/traits/safety-fn-body.thir.stderr | 11 - .../static-method-generic-inference.stderr | 2 +- .../dont-suggest-unsize-deref.stderr | 2 +- .../suggest-dereferences/issue-39029.stderr | 2 +- .../root-obligation.stderr | 2 +- ...est-dereferencing-receiver-argument.stderr | 2 +- tests/ui/traits/track-obligations.stderr | 5 +- .../issue-11515.current.stderr | 1 + .../trait-upcasting/issue-11515.next.stderr | 1 + .../upcast-through-struct-tail.current.stderr | 1 + .../upcast-through-struct-tail.next.stderr | 1 + tests/ui/traits/unsend-future.stderr | 2 +- tests/ui/transmutability/issue-101739-2.rs | 1 + .../ui/transmutability/issue-101739-2.stderr | 18 +- .../feature-missing.stderr | 2 + tests/ui/transmutability/region-infer.stderr | 2 +- .../transmute_infinitely_recursive_type.rs | 26 + ...transmute_infinitely_recursive_type.stderr | 21 + tests/ui/treat-err-as-bug/eagerly-emit.rs | 10 + tests/ui/treat-err-as-bug/eagerly-emit.stderr | 20 + tests/ui/treat-err-as-bug/err.stderr | 4 +- tests/ui/treat-err-as-bug/span_delayed_bug.rs | 2 +- tests/ui/try-block/try-block-bad-type.stderr | 2 +- tests/ui/try-trait/bad-interconversion.stderr | 5 +- tests/ui/try-trait/issue-32709.stderr | 2 +- .../enum-variant-generic-args-pass.rs | 2 +- .../self-in-enum-definition.stderr | 10 - .../auto-trait-leakage2.stderr | 2 +- .../ui/type-alias-impl-trait/closure_infer.rs | 35 + .../generic_underconstrained.stderr | 32 +- .../generic_underconstrained2.stderr | 64 +- .../hidden_behind_struct_field2.rs | 8 +- .../hidden_behind_struct_field2.stderr | 15 + ...pl_trait_in_trait_defined_outside_trait.rs | 38 + ...rait_in_trait_defined_outside_trait.stderr | 41 + ...l_trait_in_trait_defined_outside_trait2.rs | 22 + ...ait_in_trait_defined_outside_trait2.stderr | 17 + ...l_trait_in_trait_defined_outside_trait3.rs | 38 + .../in-assoc-ty-early-bound.rs | 17 + .../in-assoc-ty-early-bound.stderr | 13 + .../in-assoc-ty-early-bound2.rs | 21 + .../in-assoc-ty-early-bound2.stderr | 22 + .../type-alias-impl-trait/in-where-clause.rs | 16 + .../in-where-clause.stderr | 50 + .../indirect-recursion-issue-112047.rs | 2 +- .../indirect-recursion-issue-112047.stderr | 31 +- .../issue-53092-2.stderr | 14 +- .../type-alias-impl-trait/issue-60371.stderr | 1 + .../issue-76202-trait-impl-for-tait.rs | 22 +- tests/ui/type-alias-impl-trait/issue-77179.rs | 7 +- .../type-alias-impl-trait/issue-77179.stderr | 11 +- .../issue-90400-2.stderr | 2 +- .../itiat-allow-nested-closures.bad.stderr | 23 + .../itiat-allow-nested-closures.rs | 26 + .../itiat-forbid-nested-items.rs | 20 + .../itiat-forbid-nested-items.stderr | 22 + .../multiple-def-uses-in-one-fn.stderr | 2 +- .../nested-impl-trait-in-tait.rs | 4 +- .../nested-impl-trait-in-tait.stderr | 24 +- .../nested-in-anon-const.rs | 21 + .../nested-in-anon-const.stderr | 20 + .../nested_inference_failure.rs | 28 + ...equality_in_canonical_query.current.stderr | 16 +- .../rpit_tait_equality_in_canonical_query.rs | 5 +- .../struct-assignment-validity.rs | 31 + .../type-alias-impl-trait-fn-type.rs | 2 +- .../type-alias-impl-trait-fn-type.stderr | 4 +- .../underconstrained_generic.stderr | 2 +- .../wf-nested.fail.stderr | 2 +- .../wf-nested.pass_sound.stderr | 17 +- tests/ui/type-alias-impl-trait/wf-nested.rs | 4 +- tests/ui/type/issue-101866.stderr | 2 +- tests/ui/type/issue-58355.stderr | 2 +- .../ui/type/issue-94187-verbose-type-name.rs | 4 +- .../type-check/assignment-expected-bool.rs | 5 + .../assignment-expected-bool.stderr | 13 +- tests/ui/type/verbose.normal.stderr | 14 + tests/ui/type/verbose.rs | 13 + tests/ui/type/verbose.verbose.stderr | 14 + .../ui/typeck/bad-index-due-to-nested.stderr | 4 +- tests/ui/typeck/derive-sugg-arg-arity.stderr | 6 +- tests/ui/typeck/escaping_bound_vars.rs | 4 + tests/ui/typeck/escaping_bound_vars.stderr | 52 +- tests/ui/typeck/issue-104513-ice.rs | 2 +- tests/ui/typeck/issue-104513-ice.stderr | 4 +- tests/ui/typeck/issue-105946.stderr | 1 + tests/ui/typeck/issue-110052.rs | 2 +- tests/ui/typeck/issue-110052.stderr | 9 +- tests/ui/typeck/issue-2063.rs | 2 +- tests/ui/typeck/issue-31173.stderr | 6 - tests/ui/typeck/issue-79040.rs | 1 + tests/ui/typeck/issue-79040.stderr | 12 +- tests/ui/typeck/issue-90101.stderr | 2 +- ...uggest-box-on-divergent-if-else-arms.fixed | 32 + .../suggest-box-on-divergent-if-else-arms.rs | 32 + ...ggest-box-on-divergent-if-else-arms.stderr | 94 + .../typeck-builtin-bound-type-parameters.rs | 5 +- ...ypeck-builtin-bound-type-parameters.stderr | 24 +- ...ck-default-trait-impl-negation-sync.stderr | 4 +- .../typeck/typeck-unsafe-always-share.stderr | 2 +- .../typeck_type_placeholder_item_help.rs | 4 +- .../typeck_type_placeholder_item_help.stderr | 27 +- tests/ui/ufcs/ufcs-explicit-self-bad.stderr | 34 +- tests/ui/ufcs/ufcs-qpath-self-mismatch.stderr | 2 +- .../unboxed-closures/type-id-higher-rank.rs | 2 +- .../unboxed-closure-feature-gate.stderr | 1 + ...nboxed-closure-sugar-not-used-on-fn.stderr | 2 + .../unboxed-closure-sugar-region.rs | 2 + .../unboxed-closure-sugar-region.stderr | 28 +- ...gar-wrong-number-number-type-parameters.rs | 10 +- ...wrong-number-number-type-parameters.stderr | 68 +- tests/ui/union/issue-81199.rs | 2 +- .../projection-as-union-type-error-2.stderr | 2 +- tests/ui/union/union-align.rs | 2 - tests/ui/union/union-backcomp.rs | 2 - tests/ui/union/union-basic.rs | 2 - ...row-move-parent-sibling.mirunsafeck.stderr | 84 - .../union/union-borrow-move-parent-sibling.rs | 3 - .../union-borrow-move-parent-sibling.stderr | 84 + ...ow-move-parent-sibling.thirunsafeck.stderr | 84 - tests/ui/union/union-const-codegen.rs | 2 - tests/ui/union/union-const-eval-field.rs | 2 - tests/ui/union/union-const-eval.rs | 2 - tests/ui/union/union-deref.mirunsafeck.stderr | 56 - tests/ui/union/union-deref.rs | 3 - tests/ui/union/union-deref.stderr | 56 + .../ui/union/union-deref.thirunsafeck.stderr | 56 - .../union-derive-clone.mirunsafeck.stderr | 45 - tests/ui/union/union-derive-clone.rs | 3 - tests/ui/union/union-derive-clone.stderr | 42 + .../union-derive-clone.thirunsafeck.stderr | 45 - .../union/union-derive-eq.mirunsafeck.stderr | 21 - tests/ui/union/union-derive-eq.rs | 3 - tests/ui/union/union-derive-eq.stderr | 21 + .../union/union-derive-eq.thirunsafeck.stderr | 21 - tests/ui/union/union-derive-rpass.rs | 2 - tests/ui/union/union-drop.rs | 2 - .../union/union-fields-1.mirunsafeck.stderr | 42 - tests/ui/union/union-fields-1.rs | 3 - tests/ui/union/union-fields-1.stderr | 42 + .../union/union-fields-1.thirunsafeck.stderr | 42 - .../union/union-fields-2.mirunsafeck.stderr | 84 - tests/ui/union/union-fields-2.rs | 3 - tests/ui/union/union-fields-2.stderr | 84 + .../union/union-fields-2.thirunsafeck.stderr | 84 - tests/ui/union/union-generic-rpass.rs | 3 - .../ui/union/union-generic.mirunsafeck.stderr | 27 - tests/ui/union/union-generic.rs | 3 - tests/ui/union/union-generic.stderr | 27 + .../union/union-generic.thirunsafeck.stderr | 27 - tests/ui/union/union-inherent-method.rs | 2 - .../union-lint-dead-code.mirunsafeck.stderr | 17 - tests/ui/union/union-lint-dead-code.rs | 3 - tests/ui/union/union-lint-dead-code.stderr | 17 + .../union-lint-dead-code.thirunsafeck.stderr | 17 - tests/ui/union/union-macro.rs | 2 - tests/ui/union/union-manuallydrop-rpass.rs | 7 +- tests/ui/union/union-move.mirunsafeck.stderr | 51 - tests/ui/union/union-move.rs | 3 - tests/ui/union/union-move.stderr | 51 + tests/ui/union/union-move.thirunsafeck.stderr | 51 - tests/ui/union/union-nodrop.rs | 16 +- tests/ui/union/union-nonzero.rs | 2 - tests/ui/union/union-overwrite.rs | 2 - tests/ui/union/union-packed.rs | 2 - tests/ui/union/union-pat-refutability.rs | 7 +- .../union-suggest-field.mirunsafeck.stderr | 37 - tests/ui/union/union-suggest-field.rs | 3 - tests/ui/union/union-suggest-field.stderr | 37 + .../union-suggest-field.thirunsafeck.stderr | 37 - tests/ui/union/union-trait-impl.rs | 2 - tests/ui/union/union-transmute.rs | 2 - tests/ui/union/union-unsafe.mir.stderr | 83 - tests/ui/union/union-unsafe.rs | 4 - tests/ui/union/union-unsafe.stderr | 83 + tests/ui/union/union-unsafe.thir.stderr | 83 - .../ui/union/union-unsized.mirunsafeck.stderr | 64 - tests/ui/union/union-unsized.rs | 3 - tests/ui/union/union-unsized.stderr | 64 + .../union/union-unsized.thirunsafeck.stderr | 64 - .../union-with-drop-fields.mirunsafeck.stderr | 39 - tests/ui/union/union-with-drop-fields.rs | 3 - tests/ui/union/union-with-drop-fields.stderr | 39 + ...union-with-drop-fields.thirunsafeck.stderr | 39 - .../deny-unstable-lint-command-line.stderr | 15 +- .../deny-unstable-lint-inline.rs | 2 - .../deny-unstable-lint-inline.stderr | 23 +- ...-unknown-unstable-lint-command-line.stderr | 15 +- .../warn-unknown-unstable-lint-inline.rs | 2 - .../warn-unknown-unstable-lint-inline.stderr | 23 +- .../ui/unpretty/flattened-format-args.stdout | 5 +- tests/ui/unsafe/access_union_field.mir.stderr | 19 - tests/ui/unsafe/access_union_field.rs | 3 - tests/ui/unsafe/access_union_field.stderr | 19 + .../ui/unsafe/access_union_field.thir.stderr | 19 - .../unsafe/const_pat_in_layout_restricted.rs | 24 + ...ion-2024-unsafe_op_in_unsafe_fn.mir.stderr | 16 - .../edition-2024-unsafe_op_in_unsafe_fn.rs | 6 +- ...edition-2024-unsafe_op_in_unsafe_fn.stderr | 17 + ...on-2024-unsafe_op_in_unsafe_fn.thir.stderr | 16 - .../foreign-unsafe-fn-called.mir.stderr | 11 - tests/ui/unsafe/foreign-unsafe-fn-called.rs | 6 +- .../ui/unsafe/foreign-unsafe-fn-called.stderr | 11 + .../foreign-unsafe-fn-called.thir.stderr | 11 - tests/ui/unsafe/inline_asm.mir.stderr | 11 - tests/ui/unsafe/inline_asm.rs | 2 - tests/ui/unsafe/inline_asm.stderr | 11 + tests/ui/unsafe/inline_asm.thir.stderr | 11 - tests/ui/unsafe/issue-3080.mir.stderr | 11 - tests/ui/unsafe/issue-3080.rs | 3 - tests/ui/unsafe/issue-3080.stderr | 11 + tests/ui/unsafe/issue-3080.thir.stderr | 11 - .../issue-45087-unreachable-unsafe.mir.stderr | 27 - .../unsafe/issue-45087-unreachable-unsafe.rs | 2 - .../issue-45087-unreachable-unsafe.stderr | 27 + ...issue-45087-unreachable-unsafe.thir.stderr | 27 - ...7-unnecessary-unsafe-in-closure.mir.stderr | 35 - ...sue-45107-unnecessary-unsafe-in-closure.rs | 3 - ...45107-unnecessary-unsafe-in-closure.stderr | 35 + ...-unnecessary-unsafe-in-closure.thir.stderr | 35 - tests/ui/unsafe/issue-47412.mir.stderr | 19 - tests/ui/unsafe/issue-47412.rs | 3 - tests/ui/unsafe/issue-47412.stderr | 19 + tests/ui/unsafe/issue-47412.thir.stderr | 19 - ...fe-op-in-let-under-unsafe-under-closure.rs | 2 - tests/ui/unsafe/issue-87414-query-cycle.rs | 1 - tests/ui/unsafe/ranged_ints.mir.stderr | 11 - tests/ui/unsafe/ranged_ints.rs | 3 - tests/ui/unsafe/ranged_ints.stderr | 11 + tests/ui/unsafe/ranged_ints.thir.stderr | 11 - .../ui/unsafe/ranged_ints2.mirunsafeck.stderr | 19 - tests/ui/unsafe/ranged_ints2.rs | 3 - tests/ui/unsafe/ranged_ints2.stderr | 19 + .../unsafe/ranged_ints2.thirunsafeck.stderr | 19 - .../ranged_ints2_const.mirunsafeck.stderr | 39 - tests/ui/unsafe/ranged_ints2_const.rs | 3 - tests/ui/unsafe/ranged_ints2_const.stderr | 42 + .../ranged_ints2_const.thirunsafeck.stderr | 39 - .../ui/unsafe/ranged_ints3.mirunsafeck.stderr | 11 - tests/ui/unsafe/ranged_ints3.rs | 3 - tests/ui/unsafe/ranged_ints3.stderr | 11 + .../unsafe/ranged_ints3.thirunsafeck.stderr | 11 - .../ranged_ints3_const.mirunsafeck.stderr | 30 - tests/ui/unsafe/ranged_ints3_const.rs | 3 - tests/ui/unsafe/ranged_ints3_const.stderr | 32 + .../ranged_ints3_const.thirunsafeck.stderr | 30 - .../ranged_ints3_match.mirunsafeck.stderr | 19 - tests/ui/unsafe/ranged_ints3_match.rs | 3 - tests/ui/unsafe/ranged_ints3_match.stderr | 19 + .../ranged_ints3_match.thirunsafeck.stderr | 19 - .../ui/unsafe/ranged_ints4.mirunsafeck.stderr | 11 - tests/ui/unsafe/ranged_ints4.rs | 3 - tests/ui/unsafe/ranged_ints4.stderr | 11 + .../unsafe/ranged_ints4.thirunsafeck.stderr | 11 - .../ranged_ints4_const.mirunsafeck.stderr | 11 - tests/ui/unsafe/ranged_ints4_const.rs | 3 - tests/ui/unsafe/ranged_ints4_const.stderr | 11 + .../ranged_ints4_const.thirunsafeck.stderr | 11 - tests/ui/unsafe/ranged_ints_const.mir.stderr | 11 - tests/ui/unsafe/ranged_ints_const.rs | 3 - tests/ui/unsafe/ranged_ints_const.stderr | 11 + tests/ui/unsafe/ranged_ints_const.thir.stderr | 11 - tests/ui/unsafe/ranged_ints_macro.rs | 2 - ...rfc-2585-unsafe_op_in_unsafe_fn.mir.stderr | 112 - .../unsafe/rfc-2585-unsafe_op_in_unsafe_fn.rs | 85 - ...fc-2585-unsafe_op_in_unsafe_fn.thir.stderr | 112 - .../unsafe/union-assignop.mirunsafeck.stderr | 51 - tests/ui/unsafe/union-assignop.rs | 3 - tests/ui/unsafe/union-assignop.stderr | 51 + .../unsafe/union-assignop.thirunsafeck.stderr | 51 - tests/ui/unsafe/union-modification.rs | 3 - tests/ui/unsafe/union.mir.stderr | 19 - tests/ui/unsafe/union.rs | 12 +- tests/ui/unsafe/union.stderr | 38 + tests/ui/unsafe/union.thir.stderr | 38 - tests/ui/unsafe/union_access_through_block.rs | 3 - tests/ui/unsafe/union_destructure.mir.stderr | 16 - tests/ui/unsafe/union_destructure.rs | 15 +- tests/ui/unsafe/union_wild_or_wild.rs | 3 - ...round-compiler-generated-unsafe.mir.stderr | 20 - ...unsafe-around-compiler-generated-unsafe.rs | 2 - ...fe-around-compiler-generated-unsafe.stderr | 20 + ...ound-compiler-generated-unsafe.thir.stderr | 20 - .../unsafe/unsafe-assign.mirunsafeck.stderr | 11 - tests/ui/unsafe/unsafe-assign.rs | 3 - tests/ui/unsafe/unsafe-assign.stderr | 11 + .../unsafe/unsafe-assign.thirunsafeck.stderr | 11 - .../unsafe/unsafe-borrow.mirunsafeck.stderr | 27 - tests/ui/unsafe/unsafe-borrow.rs | 3 - tests/ui/unsafe/unsafe-borrow.stderr | 27 + .../unsafe/unsafe-borrow.thirunsafeck.stderr | 27 - tests/ui/unsafe/unsafe-const-fn.mir.stderr | 11 - tests/ui/unsafe/unsafe-const-fn.rs | 3 - tests/ui/unsafe/unsafe-const-fn.stderr | 11 + tests/ui/unsafe/unsafe-const-fn.thir.stderr | 11 - .../unsafe-fn-assign-deref-ptr.mir.stderr | 11 - tests/ui/unsafe/unsafe-fn-assign-deref-ptr.rs | 3 - .../unsafe/unsafe-fn-assign-deref-ptr.stderr | 11 + .../unsafe-fn-assign-deref-ptr.thir.stderr | 11 - .../unsafe-fn-called-from-safe.mir.stderr | 11 - tests/ui/unsafe/unsafe-fn-called-from-safe.rs | 10 +- .../unsafe/unsafe-fn-called-from-safe.stderr | 11 + .../unsafe-fn-called-from-safe.thir.stderr | 11 - .../ui/unsafe/unsafe-fn-deref-ptr.mir.stderr | 35 - tests/ui/unsafe/unsafe-fn-deref-ptr.rs | 3 - tests/ui/unsafe/unsafe-fn-deref-ptr.stderr | 35 + .../ui/unsafe/unsafe-fn-deref-ptr.thir.stderr | 35 - .../unsafe/unsafe-fn-used-as-value.mir.stderr | 11 - tests/ui/unsafe/unsafe-fn-used-as-value.rs | 10 +- .../ui/unsafe/unsafe-fn-used-as-value.stderr | 11 + .../unsafe-fn-used-as-value.thir.stderr | 11 - .../unsafe-not-inherited.mirunsafeck.stderr | 24 - tests/ui/unsafe/unsafe-not-inherited.rs | 2 - tests/ui/unsafe/unsafe-not-inherited.stderr | 24 + .../unsafe-not-inherited.thirunsafeck.stderr | 24 - .../unsafe-unstable-const-fn.mir.stderr | 11 - tests/ui/unsafe/unsafe-unstable-const-fn.rs | 3 - .../ui/unsafe/unsafe-unstable-const-fn.stderr | 11 + .../unsafe-unstable-const-fn.thir.stderr | 11 - .../auxiliary/external_unsafe_macro.rs | 0 .../edition_2024_default.rs | 20 + .../edition_2024_default.stderr | 17 + .../in_2024_compatibility.rs | 9 + .../in_2024_compatibility.stderr | 22 + .../rfc-2585-unsafe_op_in_unsafe_fn.rs | 78 + .../rfc-2585-unsafe_op_in_unsafe_fn.stderr | 118 + .../wrapping-unsafe-block-sugg.fixed | 77 + .../wrapping-unsafe-block-sugg.rs | 77 + .../wrapping-unsafe-block-sugg.stderr | 107 + .../wrapping-unsafe-block-sugg.mir.fixed | 73 - .../wrapping-unsafe-block-sugg.mir.stderr | 99 - tests/ui/unsafe/wrapping-unsafe-block-sugg.rs | 73 - .../wrapping-unsafe-block-sugg.thir.fixed | 73 - .../wrapping-unsafe-block-sugg.thir.stderr | 99 - .../issue-50940-with-feature.stderr | 2 +- tests/ui/unsized-locals/rust-call.stderr | 2 +- .../ui/unsized-locals/unsized-exprs-rpass.rs | 2 +- tests/ui/unsized-locals/unsized-exprs.stderr | 8 +- tests/ui/unsized/unchanged-param.rs | 4 +- tests/ui/unsized/unsized-enum2.stderr | 8 +- tests/ui/unused-crate-deps/test.mk | 7 - tests/ui/weird-exprs.rs | 27 + tests/ui/wf/hir-wf-check-erase-regions.stderr | 28 +- tests/ui/wf/wf-associated-const.rs | 41 + tests/ui/wf/wf-associated-const.stderr | 38 + tests/ui/wf/wf-const-type.stderr | 4 +- tests/ui/wf/wf-in-fn-type-implicit.rs | 37 - tests/ui/wf/wf-static-method.rs | 13 +- tests/ui/wf/wf-static-method.stderr | 47 +- tests/ui/wf/wf-static-type.stderr | 4 +- .../higher-ranked-fn-type.quiet.stderr | 2 +- .../ui/where-clauses/higher-ranked-fn-type.rs | 2 +- .../higher-ranked-fn-type.verbose.stderr | 2 +- vendor/ahash/.cargo-checksum.json | 2 +- vendor/ahash/Cargo.toml | 15 +- vendor/ahash/README.md | 1 + vendor/ahash/build.rs | 3 - vendor/ahash/src/hash_quality_test.rs | 20 +- vendor/ahash/src/lib.rs | 16 +- vendor/ahash/src/operations.rs | 16 +- vendor/ahash/src/random_state.rs | 21 +- vendor/ahash/tests/bench.rs | 9 +- .../aho-corasick-0.7.20/.cargo-checksum.json | 1 - vendor/aho-corasick-0.7.20/COPYING | 3 - vendor/aho-corasick-0.7.20/Cargo.toml | 50 - vendor/aho-corasick-0.7.20/DESIGN.md | 483 - vendor/aho-corasick-0.7.20/LICENSE-MIT | 21 - vendor/aho-corasick-0.7.20/README.md | 187 - vendor/aho-corasick-0.7.20/UNLICENSE | 24 - vendor/aho-corasick-0.7.20/rustfmt.toml | 2 - vendor/aho-corasick-0.7.20/src/ahocorasick.rs | 2141 ---- vendor/aho-corasick-0.7.20/src/automaton.rs | 573 - vendor/aho-corasick-0.7.20/src/buffer.rs | 132 - .../src/byte_frequencies.rs | 258 - vendor/aho-corasick-0.7.20/src/classes.rs | 238 - vendor/aho-corasick-0.7.20/src/dfa.rs | 713 -- vendor/aho-corasick-0.7.20/src/error.rs | 101 - vendor/aho-corasick-0.7.20/src/lib.rs | 303 - vendor/aho-corasick-0.7.20/src/nfa.rs | 1214 -- vendor/aho-corasick-0.7.20/src/packed/api.rs | 625 -- vendor/aho-corasick-0.7.20/src/packed/mod.rs | 117 - .../aho-corasick-0.7.20/src/packed/pattern.rs | 318 - .../src/packed/rabinkarp.rs | 185 - .../src/packed/teddy/README.md | 386 - .../src/packed/teddy/compile.rs | 414 - .../src/packed/teddy/mod.rs | 62 - .../src/packed/teddy/runtime.rs | 1204 -- .../aho-corasick-0.7.20/src/packed/tests.rs | 568 - .../aho-corasick-0.7.20/src/packed/vector.rs | 181 - vendor/aho-corasick-0.7.20/src/prefilter.rs | 1057 -- vendor/aho-corasick-0.7.20/src/state_id.rs | 192 - vendor/aho-corasick-0.7.20/src/tests.rs | 1254 --- .../.cargo-checksum.json | 1 + vendor/annotate-snippets-0.9.1/CHANGELOG.md | 39 + vendor/annotate-snippets-0.9.1/Cargo.lock | 631 ++ vendor/annotate-snippets-0.9.1/Cargo.toml | 65 + vendor/annotate-snippets-0.9.1/LICENSE-APACHE | 201 + vendor/annotate-snippets-0.9.1/LICENSE-MIT | 19 + vendor/annotate-snippets-0.9.1/README.md | 90 + .../annotate-snippets-0.9.1/benches/simple.rs | 74 + .../examples/expected_type.rs | 43 + .../examples/footer.rs | 39 + .../examples/format.rs | 61 + .../examples/multislice.rs | 38 + .../src/display_list/from_snippet.rs | 0 .../src/display_list/mod.rs | 0 .../src/display_list/structs.rs | 0 .../src/formatter/mod.rs | 0 .../src/formatter/style.rs | 0 vendor/annotate-snippets-0.9.1/src/lib.rs | 54 + vendor/annotate-snippets-0.9.1/src/snippet.rs | 88 + .../src/stylesheets/color.rs | 0 .../src/stylesheets/mod.rs | 0 .../src/stylesheets/no_color.rs | 0 .../annotate-snippets-0.9.1/tests/diff/mod.rs | 43 + .../tests/dl_from_snippet.rs | 0 .../tests/fixtures/no-color/issue_9.toml | 28 + .../tests/fixtures/no-color/issue_9.txt | 12 + .../no-color/multiline_annotation.toml | 40 + .../no-color/multiline_annotation.txt | 14 + .../no-color/multiline_annotation2.toml | 18 + .../no-color/multiline_annotation2.txt | 9 + .../no-color/multiline_annotation3.toml | 18 + .../no-color/multiline_annotation3.txt | 9 + .../no-color/multiple_annotations.toml | 25 + .../no-color/multiple_annotations.txt | 14 + .../tests/fixtures/no-color/simple.toml | 18 + .../tests/fixtures/no-color/simple.txt | 9 + .../tests/fixtures/no-color/strip_line.toml | 25 + .../tests/fixtures/no-color/strip_line.txt | 6 + .../fixtures/no-color/strip_line_char.toml | 25 + .../fixtures/no-color/strip_line_char.txt | 6 + .../fixtures/no-color/strip_line_non_ws.toml | 25 + .../fixtures/no-color/strip_line_non_ws.txt | 6 + .../tests/fixtures_test.rs | 45 + .../tests/formatter.rs | 675 ++ .../tests/snippet/mod.rs | 0 vendor/annotate-snippets/.cargo-checksum.json | 2 +- vendor/annotate-snippets/CHANGELOG.md | 132 +- vendor/annotate-snippets/Cargo.lock | 539 +- vendor/annotate-snippets/Cargo.toml | 93 +- vendor/annotate-snippets/README.md | 18 +- vendor/annotate-snippets/benches/simple.rs | 18 +- vendor/annotate-snippets/committed.toml | 3 + vendor/annotate-snippets/deny.toml | 140 + .../examples/expected_type.rs | 13 +- vendor/annotate-snippets/examples/footer.rs | 13 +- vendor/annotate-snippets/examples/format.rs | 13 +- .../annotate-snippets/examples/multislice.rs | 13 +- vendor/annotate-snippets/release.toml | 1 + vendor/annotate-snippets/src/lib.rs | 31 +- .../src/renderer/display_list.rs | 2085 ++++ .../annotate-snippets/src/renderer/margin.rs | 119 + vendor/annotate-snippets/src/renderer/mod.rs | 193 + .../src/renderer/stylesheet.rs | 68 + vendor/annotate-snippets/src/snippet.rs | 5 +- .../tests/deserialize/mod.rs | 209 + vendor/annotate-snippets/tests/diff/mod.rs | 32 +- .../tests/fixtures/no-color/issue_52.toml | 16 + .../tests/fixtures/no-color/issue_52.txt | 7 + .../tests/fixtures/no-color/issue_9.toml | 14 +- .../no-color/multiline_annotation.toml | 8 +- .../no-color/multiline_annotation2.toml | 6 +- .../no-color/multiline_annotation3.toml | 6 +- .../no-color/multiple_annotations.toml | 8 +- .../tests/fixtures/no-color/one_past.toml | 12 + .../tests/fixtures/no-color/one_past.txt | 6 + .../tests/fixtures/no-color/simple.toml | 10 +- .../tests/fixtures/no-color/strip_line.toml | 10 +- .../fixtures/no-color/strip_line_char.toml | 10 +- .../fixtures/no-color/strip_line_non_ws.toml | 11 +- .../annotate-snippets/tests/fixtures_test.rs | 19 +- vendor/annotate-snippets/tests/formatter.rs | 578 +- vendor/anstyle-query/.cargo-checksum.json | 2 +- vendor/anstyle-query/Cargo.lock | 2 +- vendor/anstyle-query/Cargo.toml | 2 +- vendor/anstyle-query/examples/query.rs | 5 + vendor/anstyle-query/src/windows.rs | 27 +- vendor/anyhow/.cargo-checksum.json | 2 +- vendor/anyhow/Cargo.toml | 2 +- vendor/anyhow/README.md | 11 +- vendor/anyhow/build.rs | 138 +- vendor/anyhow/build/probe.rs | 35 + vendor/anyhow/src/backtrace.rs | 26 +- vendor/anyhow/src/context.rs | 6 +- vendor/anyhow/src/error.rs | 192 +- vendor/anyhow/src/fmt.rs | 11 +- vendor/anyhow/src/lib.rs | 29 +- vendor/anyhow/src/ptr.rs | 8 +- vendor/anyhow/src/wrapper.rs | 4 +- vendor/anyhow/tests/test_fmt.rs | 2 +- vendor/askama/.cargo-checksum.json | 2 +- vendor/askama/Cargo.toml | 7 +- vendor/askama/README.md | 8 +- vendor/askama/src/filters/mod.rs | 4 +- vendor/askama/src/lib.rs | 31 +- vendor/askama_derive/.cargo-checksum.json | 2 +- vendor/askama_derive/Cargo.toml | 10 +- vendor/askama_derive/README.md | 2 +- vendor/askama_derive/src/config.rs | 182 +- vendor/askama_derive/src/generator.rs | 885 +- vendor/askama_derive/src/heritage.rs | 69 +- vendor/askama_derive/src/input.rs | 275 +- vendor/askama_derive/src/lib.rs | 66 +- vendor/askama_derive/src/parser/expr.rs | 346 - vendor/askama_derive/src/parser/mod.rs | 317 - vendor/askama_derive/src/parser/node.rs | 682 -- vendor/askama_derive/src/parser/tests.rs | 668 -- vendor/askama_parser/.cargo-checksum.json | 1 + vendor/askama_parser/Cargo.toml | 34 + vendor/askama_parser/LICENSE-APACHE | 201 + vendor/askama_parser/LICENSE-MIT | 25 + vendor/askama_parser/README.md | 9 + vendor/askama_parser/src/expr.rs | 438 + vendor/askama_parser/src/lib.rs | 480 + vendor/askama_parser/src/node.rs | 994 ++ vendor/askama_parser/src/tests.rs | 815 ++ .../askama_parser/tests/target-recursion.txt | Bin 0 -> 4016 bytes .../askama_parser/tests/unary-recursion.txt | 1 + vendor/bstr/.cargo-checksum.json | 2 +- vendor/bstr/Cargo.lock | 42 +- vendor/bstr/Cargo.toml | 4 +- vendor/bstr/src/ext_slice.rs | 16 +- vendor/byteorder/.cargo-checksum.json | 2 +- vendor/byteorder/CHANGELOG.md | 4 + vendor/byteorder/Cargo.toml | 31 +- vendor/byteorder/README.md | 16 +- vendor/byteorder/benches/bench.rs | 2 + vendor/byteorder/src/lib.rs | 231 +- vendor/cc-1.0.73/.cargo-checksum.json | 1 + vendor/cc-1.0.73/Cargo.lock | 110 + vendor/cc-1.0.73/Cargo.toml | 33 + .../{tar-0.4.38 => cc-1.0.73}/LICENSE-APACHE | 0 vendor/{tar-0.4.38 => cc-1.0.73}/LICENSE-MIT | 0 vendor/cc-1.0.73/README.md | 223 + vendor/cc-1.0.73/src/bin/gcc-shim.rs | 48 + vendor/cc-1.0.73/src/com.rs | 155 + vendor/cc-1.0.73/src/lib.rs | 3301 ++++++ vendor/cc-1.0.73/src/registry.rs | 204 + vendor/cc-1.0.73/src/setup_config.rs | 283 + vendor/cc-1.0.73/src/vs_instances.rs | 199 + vendor/cc-1.0.73/src/winapi.rs | 218 + vendor/cc-1.0.73/src/windows_registry.rs | 900 ++ vendor/cc-1.0.73/tests/cc_env.rs | 118 + vendor/cc-1.0.73/tests/cflags.rs | 15 + vendor/cc-1.0.73/tests/cxxflags.rs | 15 + vendor/cc-1.0.73/tests/support/mod.rs | 172 + vendor/cc-1.0.73/tests/test.rs | 413 + vendor/clap/.cargo-checksum.json | 2 +- vendor/clap/Cargo.lock | 110 +- vendor/clap/Cargo.toml | 8 +- vendor/clap/src/_faq.rs | 4 +- vendor/clap/src/lib.rs | 2 +- vendor/clap_builder/.cargo-checksum.json | 2 +- vendor/clap_builder/Cargo.toml | 2 +- .../clap_builder/src/output/help_template.rs | 111 +- vendor/clap_complete/.cargo-checksum.json | 2 +- vendor/clap_complete/Cargo.lock | 108 +- vendor/clap_complete/Cargo.toml | 18 +- vendor/clap_complete/README.md | 8 +- vendor/clap_complete/src/dynamic/completer.rs | 4 +- vendor/clap_complete/src/dynamic/mod.rs | 2 + .../clap_complete/src/dynamic/shells/bash.rs | 2 +- .../clap_complete/src/dynamic/shells/fish.rs | 2 +- .../clap_complete/src/dynamic/shells/mod.rs | 4 + .../clap_complete/src/dynamic/shells/shell.rs | 2 +- vendor/clap_complete/src/generator/mod.rs | 4 +- vendor/clap_complete/src/generator/utils.rs | 2 +- vendor/clap_complete/src/lib.rs | 1 + vendor/clap_complete/src/shells/bash.rs | 6 +- vendor/compiler_builtins/.cargo-checksum.json | 2 +- vendor/compiler_builtins/Cargo.lock | 2 +- vendor/compiler_builtins/Cargo.toml | 2 +- .../compiler_builtins/libm/src/math/rint.rs | 14 +- .../compiler_builtins/libm/src/math/rintf.rs | 14 +- vendor/compiler_builtins/src/float/div.rs | 2 + vendor/compiler_builtins/src/float/extend.rs | 1 + vendor/compiler_builtins/src/float/mul.rs | 2 + vendor/compiler_builtins/src/float/pow.rs | 2 + vendor/compiler_builtins/src/float/sub.rs | 2 + vendor/compiler_builtins/src/float/trunc.rs | 1 + vendor/compiler_builtins/src/hexagon.rs | 55 + .../compiler_builtins/src/hexagon/dfaddsub.s | 321 + vendor/compiler_builtins/src/hexagon/dfdiv.s | 372 + vendor/compiler_builtins/src/hexagon/dffma.s | 536 + .../compiler_builtins/src/hexagon/dfminmax.s | 51 + vendor/compiler_builtins/src/hexagon/dfmul.s | 309 + vendor/compiler_builtins/src/hexagon/dfsqrt.s | 277 + vendor/compiler_builtins/src/hexagon/divdi3.s | 64 + vendor/compiler_builtins/src/hexagon/divsi3.s | 53 + .../src/hexagon/fastmath2_dlib_asm.s | 266 + .../src/hexagon/fastmath2_ldlib_asm.s | 187 + .../src/hexagon/func_macro.s | 12 + .../src/hexagon/memcpy_forward_vp4cp4n2.s | 91 + .../src/hexagon/memcpy_likely_aligned.s | 42 + vendor/compiler_builtins/src/hexagon/moddi3.s | 63 + vendor/compiler_builtins/src/hexagon/modsi3.s | 44 + .../compiler_builtins/src/hexagon/sfdiv_opt.s | 42 + .../src/hexagon/sfsqrt_opt.s | 49 + .../compiler_builtins/src/hexagon/udivdi3.s | 50 + .../src/hexagon/udivmoddi4.s | 50 + .../src/hexagon/udivmodsi4.s | 39 + .../compiler_builtins/src/hexagon/udivsi3.s | 36 + .../compiler_builtins/src/hexagon/umoddi3.s | 53 + .../compiler_builtins/src/hexagon/umodsi3.s | 34 + vendor/compiler_builtins/src/lib.rs | 4 + vendor/cpufeatures/.cargo-checksum.json | 2 +- vendor/cpufeatures/CHANGELOG.md | 6 + vendor/cpufeatures/Cargo.toml | 3 +- vendor/cpufeatures/src/x86.rs | 5 + vendor/crossbeam-channel/.cargo-checksum.json | 2 +- vendor/crossbeam-channel/CHANGELOG.md | 4 + vendor/crossbeam-channel/Cargo.lock | 29 +- vendor/crossbeam-channel/Cargo.toml | 6 +- vendor/crossbeam-channel/README.md | 4 +- vendor/crossbeam-channel/tests/mpsc.rs | 6 +- vendor/crossbeam-channel/tests/ready.rs | 2 - vendor/crossbeam-channel/tests/select.rs | 2 - .../crossbeam-channel/tests/select_macro.rs | 18 +- vendor/crossbeam-deque/.cargo-checksum.json | 2 +- vendor/crossbeam-deque/CHANGELOG.md | 4 + vendor/crossbeam-deque/Cargo.toml | 8 +- vendor/crossbeam-deque/README.md | 4 +- vendor/crossbeam-deque/src/deque.rs | 5 +- vendor/crossbeam-epoch/.cargo-checksum.json | 2 +- vendor/crossbeam-epoch/CHANGELOG.md | 12 + vendor/crossbeam-epoch/Cargo.lock | 177 +- vendor/crossbeam-epoch/Cargo.toml | 20 +- vendor/crossbeam-epoch/README.md | 4 +- vendor/crossbeam-epoch/build-common.rs | 13 - vendor/crossbeam-epoch/build.rs | 57 - vendor/crossbeam-epoch/no_atomic.rs | 80 - vendor/crossbeam-epoch/src/atomic.rs | 66 +- vendor/crossbeam-epoch/src/epoch.rs | 3 +- vendor/crossbeam-epoch/src/guard.rs | 25 +- vendor/crossbeam-epoch/src/internal.rs | 31 +- vendor/crossbeam-epoch/src/lib.rs | 16 +- vendor/crossbeam-epoch/src/sync/once_lock.rs | 27 +- vendor/crossbeam-epoch/src/sync/queue.rs | 5 +- vendor/crossbeam-utils/.cargo-checksum.json | 2 +- vendor/crossbeam-utils/CHANGELOG.md | 15 + vendor/crossbeam-utils/Cargo.toml | 11 +- vendor/crossbeam-utils/README.md | 4 +- vendor/crossbeam-utils/build.rs | 28 +- vendor/crossbeam-utils/no_atomic.rs | 68 - .../crossbeam-utils/src/atomic/atomic_cell.rs | 373 +- vendor/crossbeam-utils/src/atomic/consume.rs | 31 +- vendor/crossbeam-utils/src/atomic/mod.rs | 6 +- vendor/crossbeam-utils/src/backoff.rs | 17 +- vendor/crossbeam-utils/src/cache_padded.rs | 19 +- vendor/crossbeam-utils/src/lib.rs | 27 +- vendor/crossbeam-utils/src/sync/once_lock.rs | 27 +- vendor/crossbeam-utils/src/sync/parker.rs | 3 +- vendor/crossbeam-utils/src/thread.rs | 17 +- vendor/crossbeam-utils/tests/atomic_cell.rs | 8 +- vendor/crossbeam-utils/tests/wait_group.rs | 10 +- vendor/ctrlc/.cargo-checksum.json | 2 +- vendor/ctrlc/Cargo.lock | 38 +- vendor/ctrlc/Cargo.toml | 6 +- vendor/ctrlc/README.md | 2 +- vendor/erased-serde/.cargo-checksum.json | 2 +- vendor/erased-serde/Cargo.toml | 8 +- vendor/erased-serde/README.md | 8 +- vendor/erased-serde/src/any.rs | 25 +- vendor/erased-serde/src/de.rs | 316 +- vendor/erased-serde/src/error.rs | 233 +- vendor/erased-serde/src/features_check/mod.rs | 2 +- vendor/erased-serde/src/lib.rs | 19 +- vendor/erased-serde/src/sealed.rs | 11 + vendor/erased-serde/src/ser.rs | 1887 ++-- vendor/faster-hex-0.8.1/.cargo-checksum.json | 1 - vendor/faster-hex-0.8.1/Cargo.toml | 67 - vendor/faster-hex-0.8.1/LICENSE | 21 - .../Rust Project Developers | 25 - .../LICENSE-THIRD-PARTY/fast-hex | 21 - vendor/faster-hex-0.8.1/README.md | 114 - vendor/faster-hex-0.8.1/src/decode.rs | 530 - vendor/faster-hex-0.8.1/src/encode.rs | 254 - vendor/faster-hex-0.8.1/src/error.rs | 30 - vendor/faster-hex-0.8.1/src/lib.rs | 216 - vendor/faster-hex-0.8.1/src/serde.rs | 372 - vendor/fd-lock/.cargo-checksum.json | 2 +- vendor/fd-lock/Cargo.toml | 6 +- vendor/fd-lock/src/read_guard.rs | 8 +- vendor/fd-lock/src/rw_lock.rs | 4 +- vendor/fd-lock/src/sys/mod.rs | 4 +- vendor/fd-lock/src/sys/unix/mod.rs | 13 + vendor/fd-lock/src/sys/unix/read_guard.rs | 16 +- vendor/fd-lock/src/sys/unix/rw_lock.rs | 44 +- vendor/fd-lock/src/sys/unix/write_guard.rs | 18 +- vendor/fd-lock/src/sys/windows/read_guard.rs | 9 +- vendor/fd-lock/src/sys/windows/rw_lock.rs | 14 +- vendor/fd-lock/src/sys/windows/write_guard.rs | 11 +- vendor/fd-lock/src/write_guard.rs | 10 +- vendor/git2/.cargo-checksum.json | 2 +- vendor/git2/CHANGELOG.md | 22 + vendor/git2/Cargo.lock | 143 +- vendor/git2/Cargo.toml | 4 +- vendor/git2/README.md | 4 +- vendor/git2/examples/init.rs | 2 +- vendor/git2/src/diff.rs | 2 +- vendor/git2/src/opts.rs | 38 + vendor/git2/src/reference.rs | 8 +- vendor/git2/src/remote.rs | 2 +- vendor/git2/src/repo.rs | 80 + vendor/git2/src/tree.rs | 66 +- vendor/gix-actor/.cargo-checksum.json | 2 +- vendor/gix-actor/Cargo.toml | 6 +- vendor/gix-attributes/.cargo-checksum.json | 2 +- vendor/gix-attributes/Cargo.toml | 10 +- vendor/gix-bitmap/.cargo-checksum.json | 2 +- vendor/gix-bitmap/Cargo.toml | 2 +- vendor/gix-chunk/.cargo-checksum.json | 2 +- vendor/gix-chunk/Cargo.toml | 2 +- vendor/gix-command/.cargo-checksum.json | 2 +- vendor/gix-command/Cargo.toml | 6 +- vendor/gix-commitgraph/.cargo-checksum.json | 2 +- vendor/gix-commitgraph/Cargo.toml | 8 +- vendor/gix-commitgraph/src/file/init.rs | 46 +- vendor/gix-commitgraph/src/file/verify.rs | 2 +- vendor/gix-config-value/.cargo-checksum.json | 2 +- vendor/gix-config-value/Cargo.toml | 4 +- vendor/gix-config-value/src/integer.rs | 5 + vendor/gix-config/.cargo-checksum.json | 2 +- vendor/gix-config/Cargo.toml | 14 +- vendor/gix-config/src/parse/section/header.rs | 36 +- vendor/gix-config/src/source.rs | 16 +- vendor/gix-config/src/value/normalize.rs | 20 +- vendor/gix-credentials/.cargo-checksum.json | 2 +- vendor/gix-credentials/Cargo.toml | 16 +- vendor/gix-date/.cargo-checksum.json | 2 +- vendor/gix-date/Cargo.toml | 2 +- vendor/gix-diff/.cargo-checksum.json | 2 +- vendor/gix-diff/Cargo.toml | 24 +- vendor/gix-discover/.cargo-checksum.json | 2 +- vendor/gix-discover/Cargo.toml | 10 +- vendor/gix-discover/src/upwards/types.rs | 4 - .../gix-features-0.35.0/.cargo-checksum.json | 1 - vendor/gix-features-0.35.0/CHANGELOG.md | 1563 --- vendor/gix-features-0.35.0/Cargo.toml | 184 - vendor/gix-features-0.35.0/LICENSE-APACHE | 191 - vendor/gix-features-0.35.0/LICENSE-MIT | 21 - vendor/gix-features-0.35.0/src/cache.rs | 76 - vendor/gix-features-0.35.0/src/decode.rs | 38 - vendor/gix-features-0.35.0/src/fs.rs | 118 - vendor/gix-features-0.35.0/src/hash.rs | 190 - vendor/gix-features-0.35.0/src/interrupt.rs | 161 - vendor/gix-features-0.35.0/src/io.rs | 94 - vendor/gix-features-0.35.0/src/lib.rs | 66 - .../src/parallel/eager_iter.rs | 124 - .../src/parallel/in_order.rs | 83 - .../src/parallel/in_parallel.rs | 301 - .../gix-features-0.35.0/src/parallel/mod.rs | 178 - .../src/parallel/reduce.rs | 279 - .../src/parallel/serial.rs | 174 - vendor/gix-features-0.35.0/src/progress.rs | 150 - vendor/gix-features-0.35.0/src/threading.rs | 110 - vendor/gix-features-0.35.0/src/zlib/mod.rs | 52 - .../src/zlib/stream/deflate/mod.rs | 113 - .../src/zlib/stream/deflate/tests.rs | 101 - .../src/zlib/stream/inflate.rs | 40 - .../src/zlib/stream/mod.rs | 4 - vendor/gix-features-0.35.0/tests/features.rs | 1 - vendor/gix-features-0.35.0/tests/hash.rs | 13 - .../tests/parallel/in_order_iter.rs | 54 - .../gix-features-0.35.0/tests/parallel/mod.rs | 125 - .../tests/parallel_shared.rs | 1 - .../tests/parallel_shared_threaded.rs | 1 - .../tests/parallel_threaded.rs | 122 - vendor/gix-features-0.35.0/tests/pipe.rs | 117 - vendor/gix-features-0.35.0/tests/trace/mod.rs | 15 - vendor/gix-features/.cargo-checksum.json | 2 +- vendor/gix-features/Cargo.toml | 8 +- vendor/gix-features/src/parallel/serial.rs | 2 +- vendor/gix-filter/.cargo-checksum.json | 2 +- vendor/gix-filter/Cargo.toml | 25 +- vendor/gix-fs/.cargo-checksum.json | 2 +- vendor/gix-fs/Cargo.toml | 4 +- vendor/gix-glob/.cargo-checksum.json | 2 +- vendor/gix-glob/Cargo.toml | 6 +- vendor/gix-glob/src/wildmatch.rs | 283 +- vendor/gix-hash/.cargo-checksum.json | 2 +- vendor/gix-hash/Cargo.toml | 2 +- vendor/gix-hash/src/lib.rs | 2 +- vendor/gix-hash/src/object_id.rs | 31 +- vendor/gix-hash/src/oid.rs | 40 +- vendor/gix-hashtable/.cargo-checksum.json | 2 +- vendor/gix-hashtable/Cargo.toml | 4 +- vendor/gix-ignore/.cargo-checksum.json | 2 +- vendor/gix-ignore/Cargo.toml | 6 +- vendor/gix-index/.cargo-checksum.json | 2 +- vendor/gix-index/Cargo.toml | 16 +- vendor/gix-index/src/decode/entries.rs | 2 +- vendor/gix-index/src/decode/mod.rs | 2 +- vendor/gix-index/src/extension/link.rs | 2 +- .../gix-index/src/extension/resolve_undo.rs | 2 +- vendor/gix-index/src/extension/tree/decode.rs | 2 +- .../src/extension/untracked_cache.rs | 4 +- vendor/gix-index/src/file/init.rs | 3 +- vendor/gix-index/src/fs.rs | 14 +- vendor/gix-lock/.cargo-checksum.json | 2 +- vendor/gix-lock/Cargo.toml | 6 +- vendor/gix-macros/.cargo-checksum.json | 2 +- vendor/gix-macros/Cargo.toml | 2 +- vendor/gix-negotiate/.cargo-checksum.json | 2 +- vendor/gix-negotiate/Cargo.toml | 12 +- vendor/gix-object/.cargo-checksum.json | 2 +- vendor/gix-object/Cargo.toml | 12 +- vendor/gix-object/src/tree/ref_iter.rs | 3 + vendor/gix-odb/.cargo-checksum.json | 2 +- vendor/gix-odb/Cargo.toml | 16 +- vendor/gix-pack/.cargo-checksum.json | 2 +- vendor/gix-pack/Cargo.toml | 20 +- vendor/gix-pack/src/data/entry/decode.rs | 4 +- vendor/gix-pack/src/data/file/verify.rs | 2 +- vendor/gix-pack/src/index/access.rs | 4 +- vendor/gix-pack/src/index/verify.rs | 4 +- vendor/gix-pack/src/multi_index/access.rs | 2 +- .../.cargo-checksum.json | 2 +- vendor/gix-packetline-blocking/Cargo.toml | 6 +- .../src/read/sidebands/async_io.rs | 36 +- vendor/gix-packetline/.cargo-checksum.json | 2 +- vendor/gix-packetline/Cargo.toml | 10 +- .../src/read/sidebands/async_io.rs | 36 +- vendor/gix-path/.cargo-checksum.json | 2 +- vendor/gix-path/Cargo.toml | 6 +- vendor/gix-pathspec/.cargo-checksum.json | 2 +- vendor/gix-pathspec/Cargo.toml | 10 +- vendor/gix-prompt/.cargo-checksum.json | 2 +- vendor/gix-prompt/Cargo.toml | 6 +- vendor/gix-protocol/.cargo-checksum.json | 2 +- vendor/gix-protocol/Cargo.toml | 18 +- vendor/gix-quote/.cargo-checksum.json | 2 +- vendor/gix-quote/Cargo.toml | 2 +- vendor/gix-quote/src/ansi_c.rs | 4 +- vendor/gix-ref/.cargo-checksum.json | 2 +- vendor/gix-ref/Cargo.toml | 22 +- vendor/gix-ref/src/store/file/find.rs | 5 +- vendor/gix-ref/src/store/file/loose/mod.rs | 10 + vendor/gix-ref/src/store/file/mod.rs | 13 + vendor/gix-ref/src/store/file/packed.rs | 6 +- vendor/gix-ref/src/store/packed/buffer.rs | 46 +- vendor/gix-refspec/.cargo-checksum.json | 2 +- vendor/gix-refspec/Cargo.toml | 8 +- vendor/gix-refspec/src/match_group/mod.rs | 24 +- vendor/gix-refspec/src/match_group/util.rs | 6 +- vendor/gix-revision/.cargo-checksum.json | 2 +- vendor/gix-revision/Cargo.toml | 14 +- vendor/gix-revwalk/.cargo-checksum.json | 2 +- vendor/gix-revwalk/Cargo.toml | 12 +- vendor/gix-sec/.cargo-checksum.json | 2 +- vendor/gix-sec/Cargo.toml | 6 +- vendor/gix-sec/src/identity.rs | 57 +- vendor/gix-submodule/.cargo-checksum.json | 2 +- vendor/gix-submodule/Cargo.toml | 12 +- vendor/gix-tempfile/.cargo-checksum.json | 2 +- vendor/gix-tempfile/Cargo.lock | 192 +- vendor/gix-tempfile/Cargo.toml | 4 +- vendor/gix-trace/.cargo-checksum.json | 2 +- vendor/gix-trace/Cargo.toml | 2 +- vendor/gix-transport/.cargo-checksum.json | 2 +- vendor/gix-transport/Cargo.toml | 20 +- vendor/gix-traverse/.cargo-checksum.json | 2 +- vendor/gix-traverse/Cargo.toml | 14 +- vendor/gix-url/.cargo-checksum.json | 2 +- vendor/gix-url/Cargo.toml | 10 +- vendor/gix-utils/.cargo-checksum.json | 2 +- vendor/gix-utils/Cargo.toml | 2 +- vendor/gix-validate/.cargo-checksum.json | 2 +- vendor/gix-validate/Cargo.toml | 2 +- vendor/gix-worktree/.cargo-checksum.json | 2 +- vendor/gix-worktree/Cargo.toml | 30 +- vendor/gix/.cargo-checksum.json | 2 +- vendor/gix/Cargo.lock | 1095 +- vendor/gix/Cargo.toml | 104 +- vendor/gix/src/clone/access.rs | 12 +- vendor/gix/src/clone/fetch/mod.rs | 13 +- vendor/gix/src/clone/mod.rs | 7 +- vendor/gix/src/config/snapshot/access.rs | 20 +- vendor/gix/src/config/tree/keys.rs | 10 + vendor/gix/src/config/tree/mod.rs | 12 +- vendor/gix/src/config/tree/sections/core.rs | 9 +- vendor/gix/src/config/tree/sections/diff.rs | 4 +- .../gix/src/config/tree/sections/mailmap.rs | 21 + vendor/gix/src/config/tree/sections/mod.rs | 9 + vendor/gix/src/config/tree/sections/push.rs | 64 + vendor/gix/src/discover.rs | 6 + vendor/gix/src/interrupt.rs | 32 +- vendor/gix/src/lib.rs | 4 + vendor/gix/src/mailmap.rs | 2 +- vendor/gix/src/push.rs | 21 + vendor/gix/src/reference/remote.rs | 66 +- .../connection/fetch/update_refs/tests.rs | 4 +- vendor/gix/src/remote/mod.rs | 2 +- .../gix/src/remote/url/scheme_permission.rs | 2 +- vendor/gix/src/repository/config/branch.rs | 213 + vendor/gix/src/repository/config/mod.rs | 100 +- vendor/gix/src/repository/config/remote.rs | 55 + vendor/gix/src/repository/mailmap.rs | 36 +- vendor/gix/src/repository/mod.rs | 32 + vendor/gix/src/revision/mod.rs | 3 +- .../src/revision/spec/parse/delegate/mod.rs | 3 +- .../revision/spec/parse/delegate/revision.rs | 50 +- vendor/gix/src/revision/spec/parse/types.rs | 15 +- vendor/handlebars-3.5.5/.cargo-checksum.json | 1 - vendor/handlebars-3.5.5/CHANGELOG.md | 405 - vendor/handlebars-3.5.5/Cargo.lock | 1415 --- vendor/handlebars-3.5.5/Cargo.toml | 91 - vendor/handlebars-3.5.5/README.md | 200 - vendor/handlebars-3.5.5/benches/bench.rs | 214 - .../examples/decorator/template.hbs | 21 - vendor/handlebars-3.5.5/examples/error.rs | 24 - .../examples/error/template.hbs | 19 - vendor/handlebars-3.5.5/examples/partials.rs | 35 - .../examples/partials/template2.hbs | 5 - vendor/handlebars-3.5.5/examples/render.rs | 135 - .../examples/render/template.hbs | 18 - .../examples/render_file/template.hbs | 18 - .../examples/script/goals.rhai | 3 - .../examples/script/template.hbs | 10 - vendor/handlebars-3.5.5/release.toml | 6 - vendor/handlebars-3.5.5/src/context.rs | 453 - vendor/handlebars-3.5.5/src/decorators/mod.rs | 300 - vendor/handlebars-3.5.5/src/error.rs | 297 - .../src/helpers/helper_boolean.rs | 78 - .../handlebars-3.5.5/src/helpers/helper_if.rs | 129 - .../src/helpers/helper_lookup.rs | 83 - vendor/handlebars-3.5.5/src/helpers/mod.rs | 258 - vendor/handlebars-3.5.5/src/lib.rs | 401 - vendor/handlebars-3.5.5/src/macros.rs | 174 - vendor/handlebars-3.5.5/src/output.rs | 48 - vendor/handlebars-3.5.5/src/partial.rs | 284 - vendor/handlebars-3.5.5/src/registry.rs | 989 -- vendor/handlebars-3.5.5/src/render.rs | 1109 -- vendor/handlebars-3.5.5/src/support.rs | 76 - vendor/handlebars-3.5.5/src/template.rs | 1162 -- vendor/handlebars-3.5.5/tests/escape.rs | 21 - vendor/handlebars-3.5.5/tests/helper_macro.rs | 71 - .../tests/helper_with_space.rs | 36 - .../handlebars-3.5.5/tests/subexpression.rs | 55 - vendor/handlebars-4.3.7/.cargo-checksum.json | 1 + vendor/handlebars-4.3.7/CHANGELOG.md | 540 + vendor/handlebars-4.3.7/Cargo.lock | 1535 +++ vendor/handlebars-4.3.7/Cargo.toml | 132 + .../LICENSE | 0 vendor/handlebars-4.3.7/README.md | 201 + vendor/handlebars-4.3.7/benches/bench.rs | 236 + .../build-wasm.sh | 0 .../examples/decorator.rs | 6 +- .../examples/decorator/template.hbs | 21 + vendor/handlebars-4.3.7/examples/dev_mode.rs | 31 + .../examples/dev_mode/template.hbs | 8 + vendor/handlebars-4.3.7/examples/error.rs | 86 + .../examples/error/error.hbs | 0 .../examples/error/template.hbs | 19 + .../handlebars-4.3.7/examples/helper_macro.rs | 63 + vendor/handlebars-4.3.7/examples/partials.rs | 34 + .../examples/partials/base0.hbs | 2 +- .../examples/partials/base1.hbs | 2 +- .../examples/partials/template2.hbs | 4 + .../examples/quick.rs | 0 vendor/handlebars-4.3.7/examples/render.rs | 134 + .../examples/render/template.hbs | 18 + .../examples/render_cli/simple.hbs | 0 .../examples/render_file.rs | 10 +- .../examples/render_file/template.hbs | 19 + .../examples/script.rs | 7 - .../examples/script/goals.rhai | 3 + .../examples/script/template.hbs | 10 + .../profile.sh | 0 vendor/handlebars-4.3.7/release.toml | 7 + .../rustfmt.toml | 0 .../src/block.rs | 10 +- .../src/cli.rs | 6 +- vendor/handlebars-4.3.7/src/context.rs | 456 + .../src/decorators/inline.rs | 14 +- vendor/handlebars-4.3.7/src/decorators/mod.rs | 300 + vendor/handlebars-4.3.7/src/error.rs | 261 + .../src/grammar.pest | 31 +- .../src/grammar.rs | 21 +- .../src/helpers/block_util.rs | 5 +- .../src/helpers/helper_each.rs | 178 +- .../src/helpers/helper_extras.rs | 112 + .../handlebars-4.3.7/src/helpers/helper_if.rs | 189 + .../src/helpers/helper_log.rs | 0 .../src/helpers/helper_lookup.rs | 100 + .../src/helpers/helper_raw.rs | 0 .../src/helpers/helper_with.rs | 64 +- vendor/handlebars-4.3.7/src/helpers/mod.rs | 286 + .../src/helpers/scripting.rs | 28 +- .../src/json/mod.rs | 0 .../src/json/path.rs | 8 +- .../src/json/value.rs | 5 +- vendor/handlebars-4.3.7/src/lib.rs | 422 + vendor/handlebars-4.3.7/src/local_vars.rs | 37 + vendor/handlebars-4.3.7/src/macros.rs | 186 + vendor/handlebars-4.3.7/src/output.rs | 75 + vendor/handlebars-4.3.7/src/partial.rs | 685 ++ vendor/handlebars-4.3.7/src/registry.rs | 1270 +++ vendor/handlebars-4.3.7/src/render.rs | 1206 ++ vendor/handlebars-4.3.7/src/sources.rs | 34 + vendor/handlebars-4.3.7/src/support.rs | 134 + vendor/handlebars-4.3.7/src/template.rs | 1337 +++ .../src/util.rs | 0 .../tests/block_context.rs | 0 .../tests/data_helper.rs | 0 vendor/handlebars-4.3.7/tests/embed.rs | 29 + vendor/handlebars-4.3.7/tests/escape.rs | 108 + .../tests/helper_function_lifetime.rs | 0 vendor/handlebars-4.3.7/tests/helper_macro.rs | 109 + .../tests/helper_with_space.rs | 90 + .../tests/root_var.rs | 0 .../handlebars-4.3.7/tests/subexpression.rs | 169 + .../tests/template_names.rs | 0 .../tests/templates/hello.hbs | 1 + vendor/handlebars-4.3.7/tests/whitespace.rs | 24 + .../wasm/LICENSE | 0 .../wasm/README.md | 0 .../wasm/wapm.toml | 0 vendor/handlebars/.cargo-checksum.json | 2 +- vendor/handlebars/CHANGELOG.md | 23 +- vendor/handlebars/Cargo.lock | 1003 +- vendor/handlebars/Cargo.toml | 22 +- vendor/handlebars/README.md | 10 +- vendor/handlebars/examples/decorator.rs | 24 +- vendor/handlebars/examples/error.rs | 18 +- vendor/handlebars/examples/render.rs | 18 +- vendor/handlebars/examples/render_file.rs | 19 +- vendor/handlebars/src/block.rs | 15 +- vendor/handlebars/src/cli.rs | 4 +- vendor/handlebars/src/context.rs | 27 +- vendor/handlebars/src/decorators/inline.rs | 11 +- vendor/handlebars/src/decorators/mod.rs | 20 +- vendor/handlebars/src/error.rs | 200 +- vendor/handlebars/src/helpers/block_util.rs | 4 +- vendor/handlebars/src/helpers/helper_each.rs | 41 +- vendor/handlebars/src/helpers/helper_if.rs | 6 +- vendor/handlebars/src/helpers/helper_log.rs | 66 +- .../handlebars/src/helpers/helper_lookup.rs | 44 +- vendor/handlebars/src/helpers/helper_raw.rs | 2 +- vendor/handlebars/src/helpers/helper_with.rs | 5 +- vendor/handlebars/src/helpers/mod.rs | 27 +- vendor/handlebars/src/helpers/scripting.rs | 22 +- .../src/helpers/string_helpers/mod.rs | 132 + vendor/handlebars/src/json/path.rs | 5 +- vendor/handlebars/src/json/value.rs | 36 +- vendor/handlebars/src/lib.rs | 44 +- vendor/handlebars/src/local_vars.rs | 2 +- vendor/handlebars/src/macros.rs | 29 +- vendor/handlebars/src/partial.rs | 56 +- vendor/handlebars/src/registry.rs | 235 +- vendor/handlebars/src/render.rs | 150 +- vendor/handlebars/src/sources.rs | 21 +- vendor/handlebars/src/template.rs | 5 +- vendor/handlebars/src/util.rs | 8 - vendor/handlebars/tests/data_helper.rs | 2 +- vendor/handlebars/tests/embed.rs | 51 +- vendor/handlebars/tests/escape.rs | 14 + .../tests/helper_function_lifetime.rs | 9 +- vendor/handlebars/tests/helper_with_space.rs | 2 +- vendor/handlebars/tests/subexpression.rs | 18 +- vendor/hkdf/.cargo-checksum.json | 2 +- vendor/hkdf/Cargo.toml | 23 +- vendor/hkdf/src/lib.rs | 22 +- vendor/hkdf/tests/tests.rs | 11 +- vendor/home/.cargo-checksum.json | 2 +- vendor/home/Cargo.toml | 26 +- vendor/home/src/env.rs | 2 +- vendor/home/src/lib.rs | 43 +- vendor/home/src/windows.rs | 23 +- vendor/http-auth/.cargo-checksum.json | 2 +- vendor/http-auth/CHANGELOG.md | 4 + vendor/http-auth/Cargo.lock | 56 +- vendor/http-auth/Cargo.toml | 9 +- vendor/http-auth/src/digest.rs | 12 +- vendor/http-auth/src/lib.rs | 85 +- vendor/http-auth/src/parser.rs | 2 + vendor/itoa/.cargo-checksum.json | 2 +- vendor/itoa/Cargo.toml | 2 +- vendor/itoa/src/lib.rs | 5 +- vendor/itoa/tests/test.rs | 1 + vendor/jobserver/.cargo-checksum.json | 2 +- vendor/jobserver/Cargo.toml | 7 +- vendor/jobserver/src/error.rs | 9 +- vendor/jobserver/src/lib.rs | 75 +- vendor/jobserver/src/unix.rs | 9 + vendor/libc/.cargo-checksum.json | 2 +- vendor/libc/CONTRIBUTING.md | 2 +- vendor/libc/Cargo.toml | 3 +- vendor/libc/build.rs | 6 +- vendor/libc/src/fuchsia/mod.rs | 5 +- vendor/libc/src/macros.rs | 6 + vendor/libc/src/teeos/mod.rs | 6 + vendor/libc/src/unix/aix/mod.rs | 2 +- vendor/libc/src/unix/bsd/apple/mod.rs | 12 +- .../src/unix/bsd/freebsdlike/freebsd/mod.rs | 5 + vendor/libc/src/unix/bsd/netbsdlike/mod.rs | 4 + .../src/unix/bsd/netbsdlike/netbsd/aarch64.rs | 59 + .../src/unix/bsd/netbsdlike/netbsd/arm.rs | 59 + .../src/unix/bsd/netbsdlike/netbsd/mod.rs | 46 +- .../src/unix/bsd/netbsdlike/netbsd/x86_64.rs | 27 + .../src/unix/bsd/netbsdlike/openbsd/mod.rs | 24 +- .../unix/bsd/netbsdlike/openbsd/riscv64.rs | 19 + vendor/libc/src/unix/haiku/mod.rs | 4 +- vendor/libc/src/unix/haiku/native.rs | 122 + vendor/libc/src/unix/hurd/b32.rs | 2 + vendor/libc/src/unix/hurd/b64.rs | 2 + vendor/libc/src/unix/hurd/mod.rs | 2100 +++- .../libc/src/unix/linux_like/android/mod.rs | 174 +- .../src/unix/linux_like/emscripten/mod.rs | 2 +- .../unix/linux_like/linux/arch/generic/mod.rs | 28 + .../unix/linux_like/linux/arch/mips/mod.rs | 28 + .../unix/linux_like/linux/arch/powerpc/mod.rs | 28 + .../unix/linux_like/linux/arch/sparc/mod.rs | 28 + .../libc/src/unix/linux_like/linux/gnu/mod.rs | 109 + vendor/libc/src/unix/linux_like/linux/mod.rs | 540 +- .../src/unix/linux_like/linux/musl/mod.rs | 111 + .../src/unix/linux_like/linux/uclibc/mod.rs | 2 +- vendor/libc/src/unix/linux_like/mod.rs | 10 +- vendor/libc/src/unix/mod.rs | 32 +- vendor/libc/src/unix/nto/mod.rs | 2 +- vendor/libc/src/unix/redox/mod.rs | 2 +- vendor/libc/src/unix/solarish/mod.rs | 11 +- vendor/libc/src/vxworks/mod.rs | 4 +- vendor/libgit2-sys/.cargo-checksum.json | 2 +- vendor/libgit2-sys/CHANGELOG.md | 16 + vendor/libgit2-sys/Cargo.toml | 2 +- vendor/libgit2-sys/build.rs | 2 +- vendor/libgit2-sys/lib.rs | 13 + vendor/libloading-0.7.4/.cargo-checksum.json | 1 - vendor/libloading-0.7.4/Cargo.toml | 51 - vendor/libloading-0.7.4/LICENSE | 12 - vendor/libloading-0.7.4/README.mkd | 13 - vendor/libloading-0.7.4/src/changelog.rs | 332 - vendor/libloading-0.7.4/src/error.rs | 130 - vendor/libloading-0.7.4/src/lib.rs | 80 - vendor/libloading-0.7.4/src/os/mod.rs | 27 - vendor/libloading-0.7.4/src/os/unix/consts.rs | 237 - vendor/libloading-0.7.4/src/os/unix/mod.rs | 444 - vendor/libloading-0.7.4/src/os/windows/mod.rs | 532 - vendor/libloading-0.7.4/src/safe.rs | 299 - vendor/libloading-0.7.4/src/test_helpers.rs | 37 - vendor/libloading-0.7.4/src/util.rs | 34 - vendor/libloading-0.7.4/tests/constants.rs | 13 - vendor/libloading-0.7.4/tests/functions.rs | 285 - .../tests/library_filename.rs | 17 - vendor/libloading-0.7.4/tests/markers.rs | 96 - vendor/libloading-0.7.4/tests/windows.rs | 64 - vendor/lsp-server/.cargo-checksum.json | 1 + vendor/lsp-server/Cargo.lock | 320 + vendor/lsp-server/Cargo.toml | 37 + vendor/lsp-server/examples/goto_def.rs | 129 + vendor/lsp-server/src/error.rs | 65 + vendor/lsp-server/src/lib.rs | 438 + vendor/lsp-server/src/msg.rs | 351 + vendor/lsp-server/src/req_queue.rs | 69 + vendor/lsp-server/src/socket.rs | 46 + vendor/lsp-server/src/stdio.rs | 70 + vendor/lsp-types/.cargo-checksum.json | 2 +- vendor/lsp-types/CHANGELOG.md | 596 +- vendor/lsp-types/Cargo.toml | 2 +- vendor/lsp-types/LICENSE | 44 +- vendor/lsp-types/README.md | 32 +- vendor/lsp-types/release.sh | 30 +- vendor/lsp-types/release.toml | 2 +- vendor/lsp-types/src/call_hierarchy.rs | 254 +- vendor/lsp-types/src/code_action.rs | 790 +- vendor/lsp-types/src/code_lens.rs | 132 +- vendor/lsp-types/src/color.rs | 244 +- vendor/lsp-types/src/completion.rs | 1232 +- vendor/lsp-types/src/document_diagnostic.rs | 269 + vendor/lsp-types/src/document_highlight.rs | 102 +- vendor/lsp-types/src/document_link.rs | 134 +- vendor/lsp-types/src/document_symbols.rs | 266 +- vendor/lsp-types/src/error_codes.rs | 90 +- vendor/lsp-types/src/file_operations.rs | 426 +- vendor/lsp-types/src/folding_range.rs | 289 +- vendor/lsp-types/src/formatting.rs | 306 +- vendor/lsp-types/src/hover.rs | 172 +- vendor/lsp-types/src/inlay_hint.rs | 562 +- vendor/lsp-types/src/inline_completion.rs | 162 + vendor/lsp-types/src/inline_value.rs | 434 +- vendor/lsp-types/src/lib.rs | 5679 +++++----- vendor/lsp-types/src/linked_editing.rs | 122 +- vendor/lsp-types/src/lsif.rs | 674 +- vendor/lsp-types/src/moniker.rs | 184 +- vendor/lsp-types/src/notification.rs | 722 +- vendor/lsp-types/src/progress.rs | 268 +- vendor/lsp-types/src/references.rs | 60 +- vendor/lsp-types/src/rename.rs | 176 +- vendor/lsp-types/src/request.rs | 2069 ++-- vendor/lsp-types/src/selection_range.rs | 172 +- vendor/lsp-types/src/semantic_tokens.rs | 1467 +-- vendor/lsp-types/src/signature_help.rs | 414 +- vendor/lsp-types/src/trace.rs | 159 +- vendor/lsp-types/src/type_hierarchy.rs | 180 +- vendor/lsp-types/src/window.rs | 349 +- vendor/lsp-types/src/workspace_diagnostic.rs | 149 + vendor/lsp-types/src/workspace_folders.rs | 98 +- vendor/lsp-types/src/workspace_symbols.rs | 211 +- vendor/lsp-types/tests/lsif.rs | 34 +- vendor/lsp-types/tests/tsc-unix.lsif | 270 +- vendor/measureme/.cargo-checksum.json | 2 +- vendor/measureme/Cargo.toml | 2 +- vendor/measureme/src/event_id.rs | 12 +- vendor/measureme/src/file_header.rs | 2 +- vendor/measureme/src/raw_event.rs | 26 +- vendor/measureme/src/serialization.rs | 10 +- vendor/measureme/src/stringtable.rs | 41 +- vendor/memchr/.cargo-checksum.json | 2 +- vendor/memchr/Cargo.toml | 5 +- vendor/memchr/README.md | 100 + vendor/memchr/src/arch/all/mod.rs | 48 +- vendor/memchr/src/lib.rs | 2 +- vendor/memchr/src/memmem/mod.rs | 4 +- vendor/object/.cargo-checksum.json | 2 +- vendor/object/CHANGELOG.md | 64 + vendor/object/Cargo.toml | 6 +- vendor/object/README.md | 16 +- vendor/object/src/common.rs | 35 + vendor/object/src/elf.rs | 248 +- vendor/object/src/lib.rs | 49 +- vendor/object/src/pe.rs | 2 + vendor/object/src/read/any.rs | 44 +- vendor/object/src/read/archive.rs | 20 + vendor/object/src/read/coff/comdat.rs | 16 +- vendor/object/src/read/coff/file.rs | 27 +- vendor/object/src/read/coff/import.rs | 17 +- vendor/object/src/read/coff/mod.rs | 47 +- vendor/object/src/read/coff/relocation.rs | 24 +- vendor/object/src/read/coff/section.rs | 27 +- vendor/object/src/read/coff/symbol.rs | 47 +- vendor/object/src/read/elf/attributes.rs | 20 +- vendor/object/src/read/elf/comdat.rs | 20 +- vendor/object/src/read/elf/compression.rs | 2 +- vendor/object/src/read/elf/dynamic.rs | 2 +- vendor/object/src/read/elf/file.rs | 15 +- vendor/object/src/read/elf/hash.rs | 14 +- vendor/object/src/read/elf/mod.rs | 42 +- vendor/object/src/read/elf/note.rs | 15 +- vendor/object/src/read/elf/relocation.rs | 68 +- vendor/object/src/read/elf/section.rs | 18 +- vendor/object/src/read/elf/segment.rs | 16 +- vendor/object/src/read/elf/symbol.rs | 38 +- vendor/object/src/read/elf/version.rs | 15 +- vendor/object/src/read/macho/dyld_cache.rs | 7 +- vendor/object/src/read/macho/fat.rs | 2 +- vendor/object/src/read/macho/file.rs | 74 +- vendor/object/src/read/macho/load_command.rs | 37 +- vendor/object/src/read/macho/mod.rs | 48 +- vendor/object/src/read/macho/relocation.rs | 41 +- vendor/object/src/read/macho/section.rs | 16 +- vendor/object/src/read/macho/segment.rs | 16 +- vendor/object/src/read/macho/symbol.rs | 26 +- vendor/object/src/read/mod.rs | 119 +- vendor/object/src/read/pe/data_directory.rs | 2 + vendor/object/src/read/pe/export.rs | 2 + vendor/object/src/read/pe/file.rs | 53 +- vendor/object/src/read/pe/import.rs | 5 + vendor/object/src/read/pe/mod.rs | 42 +- vendor/object/src/read/pe/relocation.rs | 2 + vendor/object/src/read/pe/resource.rs | 2 + vendor/object/src/read/pe/section.rs | 32 +- vendor/object/src/read/read_cache.rs | 10 +- vendor/object/src/read/read_ref.rs | 2 +- vendor/object/src/read/traits.rs | 156 +- vendor/object/src/read/util.rs | 2 +- vendor/object/src/read/wasm.rs | 45 +- vendor/object/src/read/xcoff/comdat.rs | 24 +- vendor/object/src/read/xcoff/file.rs | 117 +- vendor/object/src/read/xcoff/mod.rs | 44 +- vendor/object/src/read/xcoff/relocation.rs | 8 +- vendor/object/src/read/xcoff/section.rs | 18 +- vendor/object/src/read/xcoff/segment.rs | 16 +- vendor/object/src/read/xcoff/symbol.rs | 169 +- vendor/object/src/write/coff.rs | 725 -- vendor/object/src/write/coff/mod.rs | 10 + vendor/object/src/write/coff/object.rs | 583 + vendor/object/src/write/coff/writer.rs | 518 + vendor/object/src/write/elf/object.rs | 142 +- vendor/object/src/write/macho.rs | 473 +- vendor/object/src/write/mod.rs | 17 +- vendor/object/src/write/util.rs | 2 +- vendor/object/src/xcoff.rs | 12 + vendor/object/tests/round_trip/macho.rs | 13 +- vendor/object/tests/round_trip/mod.rs | 231 +- vendor/object/tests/round_trip/tls.rs | 56 +- vendor/once_cell/.cargo-checksum.json | 2 +- vendor/once_cell/CHANGELOG.md | 4 + vendor/once_cell/Cargo.lock | 19 +- vendor/once_cell/Cargo.toml | 13 +- vendor/once_cell/README.md | 3 +- vendor/once_cell/src/imp_cs.rs | 2 +- vendor/once_cell/src/lib.rs | 12 +- vendor/once_cell/src/race.rs | 2 +- vendor/openssl-sys/.cargo-checksum.json | 2 +- vendor/openssl-sys/CHANGELOG.md | 89 +- vendor/openssl-sys/Cargo.toml | 7 +- vendor/openssl-sys/build/cfgs.rs | 15 + vendor/openssl-sys/build/expando.c | 4 + vendor/openssl-sys/build/find_normal.rs | 2 +- vendor/openssl-sys/build/main.rs | 34 +- vendor/openssl-sys/build/run_bindgen.rs | 36 +- vendor/openssl-sys/src/crypto.rs | 2 +- vendor/openssl-sys/src/evp.rs | 32 +- vendor/openssl-sys/src/handwritten/bn.rs | 1 - vendor/openssl-sys/src/handwritten/dh.rs | 1 + vendor/openssl-sys/src/handwritten/evp.rs | 55 +- vendor/openssl-sys/src/handwritten/rand.rs | 3 + vendor/openssl-sys/src/handwritten/ssl.rs | 27 + vendor/openssl-sys/src/handwritten/types.rs | 2 +- vendor/openssl-sys/src/handwritten/x509.rs | 33 +- vendor/openssl-sys/src/handwritten/x509v3.rs | 20 + vendor/openssl-sys/src/lib.rs | 2 +- vendor/openssl-sys/src/obj_mac.rs | 31 + vendor/openssl-sys/src/ssl.rs | 15 + vendor/openssl-sys/src/x509v3.rs | 10 +- vendor/openssl/.cargo-checksum.json | 2 +- vendor/openssl/CHANGELOG.md | 95 +- vendor/openssl/Cargo.lock | 228 +- vendor/openssl/Cargo.toml | 4 +- vendor/openssl/build.rs | 67 +- vendor/openssl/src/asn1.rs | 38 +- vendor/openssl/src/bn.rs | 19 +- vendor/openssl/src/cipher.rs | 103 +- vendor/openssl/src/cipher_ctx.rs | 10 +- vendor/openssl/src/cms.rs | 14 +- vendor/openssl/src/dh.rs | 21 +- vendor/openssl/src/ec.rs | 6 +- vendor/openssl/src/ecdsa.rs | 6 +- vendor/openssl/src/hash.rs | 22 +- vendor/openssl/src/lib.rs | 33 +- vendor/openssl/src/md.rs | 10 +- vendor/openssl/src/md_ctx.rs | 2 +- vendor/openssl/src/nid.rs | 18 +- vendor/openssl/src/pkcs5.rs | 2 +- vendor/openssl/src/pkcs7.rs | 127 +- vendor/openssl/src/pkey.rs | 34 +- vendor/openssl/src/pkey_ctx.rs | 20 +- vendor/openssl/src/provider.rs | 4 + vendor/openssl/src/rand.rs | 36 +- vendor/openssl/src/sign.rs | 2 +- vendor/openssl/src/ssl/mod.rs | 369 +- vendor/openssl/src/ssl/test/mod.rs | 129 +- vendor/openssl/src/symm.rs | 159 +- vendor/openssl/src/x509/mod.rs | 95 +- vendor/openssl/src/x509/store.rs | 23 +- vendor/openssl/src/x509/tests.rs | 41 +- vendor/openssl/test/entry_extensions.crl | 17 +- vendor/pasetors/.cargo-checksum.json | 2 +- vendor/pasetors/CHANGELOG.md | 7 + vendor/pasetors/Cargo.toml | 4 +- vendor/pasetors/README.md | 4 +- vendor/pasetors/src/claims.rs | 44 +- vendor/pasetors/src/lib.rs | 2 +- vendor/pkg-config/.cargo-checksum.json | 2 +- vendor/pkg-config/CHANGELOG.md | 10 + vendor/pkg-config/Cargo.toml | 2 +- vendor/pkg-config/src/lib.rs | 198 +- vendor/proc-macro2/.cargo-checksum.json | 2 +- vendor/proc-macro2/Cargo.toml | 2 +- vendor/proc-macro2/build.rs | 167 +- vendor/proc-macro2/build/probe.rs | 21 + vendor/proc-macro2/src/fallback.rs | 2 +- vendor/proc-macro2/src/lib.rs | 15 +- vendor/proc-macro2/src/marker.rs | 5 +- vendor/proc-macro2/src/wrapper.rs | 71 +- vendor/prodash/.cargo-checksum.json | 2 +- vendor/prodash/CHANGELOG.md | 76 +- vendor/prodash/Cargo.lock | 482 +- vendor/prodash/Cargo.toml | 35 +- vendor/prodash/README.md | 2 +- vendor/prodash/src/messages.rs | 2 +- .../src/render/tui/draw/information.rs | 2 +- vendor/prodash/src/render/tui/engine.rs | 36 +- vendor/prodash/src/unit/duration.rs | 8 +- vendor/pulldown-cmark/.cargo-checksum.json | 2 +- vendor/pulldown-cmark/Cargo.lock | 339 +- vendor/pulldown-cmark/Cargo.toml | 4 +- .../examples/parser-map-event-print.rs | 12 +- .../examples/parser-map-tag-print.rs | 67 +- vendor/pulldown-cmark/src/firstpass.rs | 20 +- vendor/pulldown-cmark/src/lib.rs | 1 + vendor/pulldown-cmark/tests/lib.rs | 36 +- .../pulldown-cmark/tests/suite/footnotes.rs | 22 +- vendor/quick-error-1.2.3/.cargo-checksum.json | 1 - vendor/quick-error-1.2.3/Cargo.lock | 6 - vendor/quick-error-1.2.3/Cargo.toml | 23 - vendor/quick-error-1.2.3/LICENSE-APACHE | 202 - vendor/quick-error-1.2.3/LICENSE-MIT | 19 - vendor/quick-error-1.2.3/README.rst | 66 - vendor/quick-error-1.2.3/bulk.yaml | 8 - vendor/quick-error-1.2.3/examples/context.rs | 48 - vendor/quick-error-1.2.3/src/lib.rs | 1262 --- vendor/quick-error-1.2.3/vagga.yaml | 36 - vendor/quick-error/.cargo-checksum.json | 2 +- vendor/quick-error/Cargo.lock | 3 +- vendor/quick-error/Cargo.toml | 3 +- vendor/quick-error/README.rst | 6 +- vendor/quick-error/examples/context.rs | 21 +- vendor/quick-error/src/lib.rs | 310 +- vendor/quick-error/vagga.yaml | 6 +- vendor/quote/.cargo-checksum.json | 2 +- vendor/quote/Cargo.toml | 4 +- vendor/quote/src/lib.rs | 4 +- vendor/ra-ap-rustc_abi/.cargo-checksum.json | 1 - vendor/ra-ap-rustc_abi/Cargo.toml | 77 - vendor/ra-ap-rustc_abi/src/layout.rs | 1232 -- vendor/ra-ap-rustc_abi/src/lib.rs | 1660 --- vendor/ra-ap-rustc_index/.cargo-checksum.json | 1 - vendor/ra-ap-rustc_index/Cargo.toml | 55 - vendor/ra-ap-rustc_index/src/bit_set.rs | 2047 ---- vendor/ra-ap-rustc_index/src/bit_set/tests.rs | 873 -- vendor/ra-ap-rustc_index/src/idx.rs | 45 - vendor/ra-ap-rustc_index/src/interval.rs | 326 - .../ra-ap-rustc_index/src/interval/tests.rs | 199 - vendor/ra-ap-rustc_index/src/lib.rs | 48 - vendor/ra-ap-rustc_index/src/slice.rs | 256 - vendor/ra-ap-rustc_index/src/vec.rs | 315 - vendor/ra-ap-rustc_index/src/vec/tests.rs | 57 - .../.cargo-checksum.json | 1 - vendor/ra-ap-rustc_index_macros/Cargo.toml | 45 - vendor/ra-ap-rustc_index_macros/src/lib.rs | 41 - .../ra-ap-rustc_index_macros/src/newtype.rs | 324 - vendor/ra-ap-rustc_lexer/.cargo-checksum.json | 2 +- vendor/ra-ap-rustc_lexer/Cargo.toml | 4 +- vendor/ra-ap-rustc_lexer/src/lib.rs | 5 +- vendor/ra-ap-rustc_lexer/src/unescape.rs | 135 +- .../.cargo-checksum.json | 1 - vendor/ra-ap-rustc_parse_format/Cargo.toml | 34 - vendor/ra-ap-rustc_parse_format/src/lib.rs | 1057 -- vendor/ra-ap-rustc_parse_format/src/tests.rs | 468 - .../.cargo-checksum.json | 2 +- vendor/rust-analyzer-salsa-macros/Cargo.toml | 2 +- .../src/database_storage.rs | 5 + .../src/query_group.rs | 6 + .../rust-analyzer-salsa/.cargo-checksum.json | 2 +- vendor/rust-analyzer-salsa/Cargo.lock | 193 +- vendor/rust-analyzer-salsa/Cargo.toml | 9 +- vendor/rust-analyzer-salsa/src/derived.rs | 25 +- vendor/rust-analyzer-salsa/src/hash.rs | 3 + vendor/rust-analyzer-salsa/src/input.rs | 120 +- vendor/rust-analyzer-salsa/src/interned.rs | 28 +- vendor/rust-analyzer-salsa/src/lib.rs | 23 +- vendor/rust-analyzer-salsa/src/lru.rs | 2 +- vendor/rust-analyzer-salsa/src/plumbing.rs | 23 +- vendor/rust-analyzer-salsa/src/revision.rs | 26 +- vendor/rust-analyzer-salsa/src/runtime.rs | 19 +- .../src/runtime/dependency_graph.rs | 2 +- .../src/runtime/local_state.rs | 2 +- vendor/rust-analyzer-salsa/src/storage.rs | 8 +- vendor/rust-analyzer-salsa/tests/cycles.rs | 2 +- .../parallel/parallel_cycle_all_recover.rs | 2 +- .../parallel/parallel_cycle_mid_recover.rs | 2 +- .../parallel/parallel_cycle_none_recover.rs | 2 +- .../parallel/parallel_cycle_one_recovers.rs | 2 +- vendor/rustix/.cargo-checksum.json | 2 +- vendor/rustix/Cargo.toml | 4 +- vendor/rustix/README.md | 13 +- vendor/rustix/src/backend/libc/fs/syscalls.rs | 6 +- vendor/rustix/src/backend/libc/fs/types.rs | 6 +- vendor/rustix/src/backend/libc/io/errno.rs | 4 +- vendor/rustix/src/backend/libc/io/syscalls.rs | 28 +- vendor/rustix/src/backend/libc/mod.rs | 18 +- .../rustix/src/backend/libc/mount/syscalls.rs | 4 +- vendor/rustix/src/backend/libc/mount/types.rs | 2 +- .../rustix/src/backend/libc/net/syscalls.rs | 68 +- vendor/rustix/src/backend/libc/pipe/types.rs | 4 +- .../rustix/src/backend/libc/pty/syscalls.rs | 2 +- .../rustix/src/backend/libc/rand/syscalls.rs | 8 +- vendor/rustix/src/backend/libc/winsock_c.rs | 2 +- .../src/backend/linux_raw/event/epoll.rs | 6 +- .../src/backend/linux_raw/fs/inotify.rs | 2 +- .../src/backend/linux_raw/fs/syscalls.rs | 8 +- .../rustix/src/backend/linux_raw/fs/types.rs | 6 +- .../rustix/src/backend/linux_raw/io/errno.rs | 4 +- .../src/backend/linux_raw/io/syscalls.rs | 63 +- .../src/backend/linux_raw/mount/syscalls.rs | 4 +- .../src/backend/linux_raw/mount/types.rs | 2 +- .../rustix/src/backend/linux_raw/net/addr.rs | 22 +- .../backend/linux_raw/net/read_sockaddr.rs | 42 +- .../src/backend/linux_raw/net/syscalls.rs | 98 +- .../src/backend/linux_raw/pipe/types.rs | 6 +- .../src/backend/linux_raw/process/syscalls.rs | 87 +- .../src/backend/linux_raw/rand/syscalls.rs | 11 +- .../src/backend/linux_raw/runtime/syscalls.rs | 19 +- vendor/rustix/src/buffer.rs | 21 + vendor/rustix/src/event/kqueue.rs | 2 +- vendor/rustix/src/event/poll.rs | 4 +- vendor/rustix/src/fs/mod.rs | 4 +- vendor/rustix/src/io/close.rs | 4 +- vendor/rustix/src/io/ioctl.rs | 8 +- vendor/rustix/src/io/read_write.rs | 43 +- vendor/rustix/src/ioctl/mod.rs | 4 +- vendor/rustix/src/lib.rs | 3 +- .../src/maybe_polyfill/no_std/os/fd/owned.rs | 12 +- vendor/rustix/src/mount/fsopen.rs | 2 +- vendor/rustix/src/net/send_recv/mod.rs | 78 +- vendor/rustix/src/net/socket.rs | 76 +- vendor/rustix/src/net/sockopt.rs | 24 +- vendor/rustix/src/net/wsa.rs | 8 +- vendor/rustix/src/param/mod.rs | 4 +- vendor/rustix/src/path/arg.rs | 4 +- vendor/rustix/src/process/procctl.rs | 5 +- vendor/rustix/src/rand/getrandom.rs | 25 +- vendor/rustix/src/rand/mod.rs | 2 +- vendor/rustix/src/runtime.rs | 16 - vendor/rustix/src/termios/types.rs | 10 +- vendor/ruzstd/.cargo-checksum.json | 2 +- vendor/ruzstd/Cargo.lock | 135 +- vendor/ruzstd/Cargo.toml | 16 +- vendor/ruzstd/Readme.md | 15 +- .../ruzstd/benches/reversedbitreader_bench.rs | 18 +- vendor/ruzstd/src/blocks/literals_section.rs | 16 +- vendor/ruzstd/src/blocks/sequence_section.rs | 7 +- vendor/ruzstd/src/decoding/bit_reader.rs | 9 +- vendor/ruzstd/src/decoding/block_decoder.rs | 93 +- vendor/ruzstd/src/decoding/decodebuffer.rs | 32 +- vendor/ruzstd/src/decoding/dictionary.rs | 17 +- .../src/decoding/literals_section_decoder.rs | 40 +- vendor/ruzstd/src/decoding/ringbuffer.rs | 48 +- .../ruzstd/src/decoding/sequence_execution.rs | 12 +- .../src/decoding/sequence_section_decoder.rs | 42 +- vendor/ruzstd/src/frame.rs | 65 +- vendor/ruzstd/src/frame_decoder.rs | 51 +- vendor/ruzstd/src/fse/fse_decoder.rs | 30 +- vendor/ruzstd/src/huff0/huff0_decoder.rs | 60 +- vendor/ruzstd/src/io_nostd.rs | 31 +- vendor/ruzstd/src/lib.rs | 1 - vendor/ruzstd/src/streaming_decoder.rs | 13 +- vendor/ruzstd/src/tests/fuzz_regressions.rs | 12 +- vendor/ruzstd/src/tests/mod.rs | 17 +- vendor/ryu/.cargo-checksum.json | 2 +- vendor/ryu/Cargo.lock | 30 +- vendor/ryu/Cargo.toml | 2 +- vendor/ryu/README.md | 2 +- vendor/ryu/src/buffer/mod.rs | 2 +- vendor/ryu/src/d2s_intrinsics.rs | 10 +- vendor/ryu/src/lib.rs | 3 +- vendor/ryu/tests/d2s_intrinsics_test.rs | 72 + vendor/ryu/tests/d2s_test.rs | 3 +- vendor/ryu/tests/f2s_test.rs | 3 +- vendor/semver/.cargo-checksum.json | 2 +- vendor/semver/Cargo.toml | 4 +- vendor/semver/src/lib.rs | 3 +- vendor/serde-untagged/.cargo-checksum.json | 2 +- vendor/serde-untagged/Cargo.toml | 6 +- vendor/serde-untagged/src/any.rs | 4 +- vendor/serde-untagged/src/error.rs | 6 +- vendor/serde-untagged/src/int.rs | 20 +- vendor/serde-untagged/src/lib.rs | 27 +- vendor/serde-untagged/src/map.rs | 6 +- vendor/serde-untagged/src/seq.rs | 5 +- vendor/serde/.cargo-checksum.json | 2 +- vendor/serde/Cargo.toml | 4 +- vendor/serde/src/de/mod.rs | 4 +- vendor/serde/src/lib.rs | 3 +- vendor/serde/src/ser/mod.rs | 4 +- vendor/serde_derive/.cargo-checksum.json | 2 +- vendor/serde_derive/Cargo.toml | 8 +- vendor/serde_derive/src/bound.rs | 9 +- vendor/serde_derive/src/internals/attr.rs | 7 +- vendor/serde_derive/src/internals/receiver.rs | 8 +- vendor/serde_derive/src/lib.rs | 3 +- vendor/serde_derive/src/pretend.rs | 8 +- vendor/serde_json/.cargo-checksum.json | 2 +- vendor/serde_json/Cargo.toml | 6 +- vendor/serde_json/build.rs | 2 +- vendor/serde_json/src/de.rs | 1 + vendor/serde_json/src/lib.rs | 4 +- vendor/serde_json/src/value/mod.rs | 1 + vendor/serde_json/tests/test.rs | 16 +- vendor/serde_json/tests/ui/parse_key.stderr | 2 +- vendor/serde_spanned/.cargo-checksum.json | 2 +- vendor/serde_spanned/Cargo.toml | 11 +- vendor/serde_spanned/src/spanned.rs | 57 + vendor/similar/.cargo-checksum.json | 2 +- vendor/similar/CHANGELOG.md | 6 + vendor/similar/Cargo.lock | 227 +- vendor/similar/Cargo.toml | 2 +- vendor/similar/src/algorithms/lcs.rs | 74 +- vendor/similar/src/algorithms/myers.rs | 29 + vendor/similar/src/algorithms/patience.rs | 29 + vendor/similar/src/text/inline.rs | 6 + vendor/smallvec/.cargo-checksum.json | 2 +- vendor/smallvec/Cargo.toml | 2 +- vendor/smallvec/src/lib.rs | 14 + vendor/smallvec/src/tests.rs | 12 + vendor/smol_str/.cargo-checksum.json | 2 +- vendor/smol_str/Cargo.toml | 2 +- vendor/smol_str/LICENSE-APACHE | 402 +- vendor/smol_str/LICENSE-MIT | 46 +- vendor/smol_str/README.md | 57 +- vendor/smol_str/bors.toml | 4 +- vendor/smol_str/src/lib.rs | 1316 ++- vendor/smol_str/tests/test.rs | 526 +- vendor/smol_str/tests/tidy.rs | 92 +- vendor/snapbox/.cargo-checksum.json | 2 +- vendor/snapbox/Cargo.lock | 72 +- vendor/snapbox/Cargo.toml | 8 +- vendor/snapbox/examples/diff.rs | 24 + vendor/snapbox/src/lib.rs | 2 +- vendor/snapbox/src/report/color.rs | 4 +- vendor/syn/.cargo-checksum.json | 2 +- vendor/syn/Cargo.toml | 9 +- vendor/syn/benches/rust.rs | 9 +- vendor/syn/src/attr.rs | 2 +- vendor/syn/src/buffer.rs | 9 +- vendor/syn/src/data.rs | 90 +- vendor/syn/src/error.rs | 3 +- vendor/syn/src/expr.rs | 302 +- vendor/syn/src/gen/clone.rs | 11 +- vendor/syn/src/gen/debug.rs | 11 +- vendor/syn/src/gen/eq.rs | 19 +- vendor/syn/src/gen/fold.rs | 366 +- vendor/syn/src/gen/hash.rs | 11 +- vendor/syn/src/gen/visit.rs | 364 +- vendor/syn/src/gen/visit_mut.rs | 364 +- vendor/syn/src/generics.rs | 2 +- vendor/syn/src/item.rs | 16 +- vendor/syn/src/lib.rs | 61 +- vendor/syn/src/lit.rs | 21 +- vendor/syn/src/macros.rs | 95 +- vendor/syn/src/meta.rs | 2 +- vendor/syn/src/op.rs | 86 +- vendor/syn/src/parse.rs | 52 + vendor/syn/src/parse_quote.rs | 32 +- vendor/syn/src/pat.rs | 40 +- vendor/syn/src/path.rs | 7 +- vendor/syn/src/restriction.rs | 4 +- vendor/syn/src/stmt.rs | 4 +- vendor/syn/src/ty.rs | 5 +- vendor/syn/tests/common/eq.rs | 66 +- vendor/syn/tests/debug/gen.rs | 499 +- vendor/syn/tests/debug/mod.rs | 12 +- vendor/syn/tests/macros/mod.rs | 26 +- vendor/syn/tests/repo/mod.rs | 3 +- vendor/syn/tests/test_asyncness.rs | 8 +- vendor/syn/tests/test_derive_input.rs | 14 + vendor/syn/tests/test_expr.rs | 271 +- vendor/syn/tests/test_generics.rs | 8 +- vendor/syn/tests/test_item.rs | 10 +- vendor/syn/tests/test_meta.rs | 1 + vendor/syn/tests/test_parse_buffer.rs | 3 +- vendor/syn/tests/test_parse_quote.rs | 164 + vendor/syn/tests/test_parse_stream.rs | 2 +- vendor/syn/tests/test_pat.rs | 59 +- vendor/syn/tests/test_path.rs | 2 + vendor/syn/tests/test_precedence.rs | 181 +- vendor/syn/tests/test_round_trip.rs | 3 +- vendor/syn/tests/test_shebang.rs | 8 +- vendor/syn/tests/test_size.rs | 4 +- vendor/syn/tests/test_stmt.rs | 94 +- vendor/syn/tests/test_ty.rs | 64 +- vendor/sysinfo-0.26.7/.cargo-checksum.json | 1 - vendor/sysinfo-0.26.7/CHANGELOG.md | 511 - vendor/sysinfo-0.26.7/Cargo.lock | 249 - vendor/sysinfo-0.26.7/Cargo.toml | 100 - vendor/sysinfo-0.26.7/Makefile | 45 - vendor/sysinfo-0.26.7/README.md | 214 - vendor/sysinfo-0.26.7/examples/simple.c | 86 - vendor/sysinfo-0.26.7/examples/simple.rs | 448 - .../src/apple/app_store/process.rs | 84 - vendor/sysinfo-0.26.7/src/apple/cpu.rs | 331 - vendor/sysinfo-0.26.7/src/apple/disk.rs | 395 - .../src/apple/macos/component/x86.rs | 326 - vendor/sysinfo-0.26.7/src/apple/macos/disk.rs | 126 - vendor/sysinfo-0.26.7/src/apple/macos/ffi.rs | 291 - vendor/sysinfo-0.26.7/src/apple/macos/mod.rs | 20 - .../sysinfo-0.26.7/src/apple/macos/process.rs | 688 -- .../sysinfo-0.26.7/src/apple/macos/system.rs | 136 - vendor/sysinfo-0.26.7/src/apple/network.rs | 240 - vendor/sysinfo-0.26.7/src/apple/process.rs | 83 - vendor/sysinfo-0.26.7/src/apple/system.rs | 691 -- vendor/sysinfo-0.26.7/src/apple/users.rs | 178 - vendor/sysinfo-0.26.7/src/freebsd/disk.rs | 143 - vendor/sysinfo-0.26.7/src/freebsd/network.rs | 199 - vendor/sysinfo-0.26.7/src/freebsd/process.rs | 275 - vendor/sysinfo-0.26.7/src/freebsd/system.rs | 808 -- vendor/sysinfo-0.26.7/src/freebsd/utils.rs | 296 - vendor/sysinfo-0.26.7/src/lib.rs | 491 - vendor/sysinfo-0.26.7/src/linux/component.rs | 352 - vendor/sysinfo-0.26.7/src/linux/cpu.rs | 553 - vendor/sysinfo-0.26.7/src/linux/disk.rs | 294 - vendor/sysinfo-0.26.7/src/linux/network.rs | 314 - vendor/sysinfo-0.26.7/src/linux/process.rs | 711 -- vendor/sysinfo-0.26.7/src/linux/system.rs | 750 -- vendor/sysinfo-0.26.7/src/linux/utils.rs | 123 - vendor/sysinfo-0.26.7/src/macros.rs | 58 - vendor/sysinfo-0.26.7/src/sysinfo.h | 45 - vendor/sysinfo-0.26.7/src/system.rs | 117 - vendor/sysinfo-0.26.7/src/traits.rs | 1678 --- vendor/sysinfo-0.26.7/src/unknown/disk.rs | 42 - vendor/sysinfo-0.26.7/src/unknown/network.rs | 81 - vendor/sysinfo-0.26.7/src/unknown/process.rs | 94 - vendor/sysinfo-0.26.7/src/unknown/system.rs | 182 - vendor/sysinfo-0.26.7/src/users.rs | 97 - vendor/sysinfo-0.26.7/src/utils.rs | 47 - vendor/sysinfo-0.26.7/src/windows/cpu.rs | 548 - vendor/sysinfo-0.26.7/src/windows/disk.rs | 255 - vendor/sysinfo-0.26.7/src/windows/mod.rs | 18 - vendor/sysinfo-0.26.7/src/windows/network.rs | 249 - vendor/sysinfo-0.26.7/src/windows/process.rs | 1065 -- vendor/sysinfo-0.26.7/src/windows/system.rs | 678 -- vendor/sysinfo-0.26.7/src/windows/users.rs | 181 - vendor/sysinfo-0.26.7/src/windows/utils.rs | 36 - .../tests/code_checkers/utils.rs | 49 - vendor/sysinfo-0.26.7/tests/process.rs | 457 - vendor/sysinfo-0.29.11/.cargo-checksum.json | 1 + .../ADDING_NEW_PLATFORMS.md | 0 vendor/sysinfo-0.29.11/CHANGELOG.md | 658 ++ vendor/sysinfo-0.29.11/Cargo.lock | 363 + vendor/sysinfo-0.29.11/Cargo.toml | 119 + .../LICENSE | 0 vendor/sysinfo-0.29.11/Makefile | 45 + vendor/sysinfo-0.29.11/README.md | 213 + .../benches/basic.rs | 0 vendor/sysinfo-0.29.11/examples/simple.c | 86 + vendor/sysinfo-0.29.11/examples/simple.rs | 459 + .../md_doc/component.md | 0 .../md_doc/cpu.md | 0 .../md_doc/disk.md | 0 .../md_doc/network_data.md | 0 .../md_doc/networks.md | 0 .../md_doc/pid.md | 2 +- .../md_doc/process.md | 0 vendor/sysinfo-0.29.11/md_doc/serde.md | 14 + vendor/sysinfo-0.29.11/md_doc/sid.md | 1 + .../md_doc/system.md | 0 .../src/apple/app_store/component.rs | 0 .../src/apple/app_store/mod.rs | 0 .../src/apple/app_store/process.rs | 0 .../src/apple/component.rs | 0 vendor/sysinfo-0.29.11/src/apple/cpu.rs | 344 + .../src/apple/disk.rs | 0 .../src/apple/ffi.rs | 0 .../src/apple/ios.rs | 0 .../src/apple/macos/component/arm.rs | 0 .../src/apple/macos/component/mod.rs | 0 .../src/apple/macos/component/x86.rs | 330 + vendor/sysinfo-0.29.11/src/apple/macos/cpu.rs | 95 + .../src/apple/macos/disk.rs | 0 vendor/sysinfo-0.29.11/src/apple/macos/ffi.rs | 312 + vendor/sysinfo-0.29.11/src/apple/macos/mod.rs | 23 + .../src/apple/macos/process.rs | 717 ++ .../sysinfo-0.29.11/src/apple/macos/system.rs | 165 + .../src/apple/macos/utils.rs | 0 .../src/apple/mod.rs | 0 .../src/apple/network.rs | 0 .../src/apple/process.rs | 0 vendor/sysinfo-0.29.11/src/apple/system.rs | 703 ++ .../src/apple/users.rs | 0 .../src/apple/utils.rs | 0 .../src/c_interface.rs | 12 +- .../src/common.rs | 215 +- .../src/debug.rs | 2 +- .../src/freebsd/component.rs | 0 .../src/freebsd/cpu.rs | 0 .../src/freebsd/disk.rs | 0 .../src/freebsd/mod.rs | 0 .../src/freebsd/network.rs | 0 .../src/freebsd/process.rs | 0 vendor/sysinfo-0.29.11/src/freebsd/system.rs | 811 ++ .../src/freebsd/utils.rs | 0 vendor/sysinfo-0.29.11/src/lib.rs | 538 + vendor/sysinfo-0.29.11/src/linux/component.rs | 352 + .../src/linux/cpu.rs | 0 .../src/linux/disk.rs | 0 .../src/linux/mod.rs | 0 .../src/linux/network.rs | 0 vendor/sysinfo-0.29.11/src/linux/process.rs | 732 ++ vendor/sysinfo-0.29.11/src/linux/system.rs | 802 ++ .../src/linux/utils.rs | 0 vendor/sysinfo-0.29.11/src/macros.rs | 91 + vendor/sysinfo-0.29.11/src/network.rs | 22 + .../src/network_helper_nix.rs | 0 .../src/network_helper_win.rs | 50 +- vendor/sysinfo-0.29.11/src/serde.rs | 346 + vendor/sysinfo-0.29.11/src/sysinfo.h | 55 + .../src/system.rs | 0 vendor/sysinfo-0.29.11/src/traits.rs | 1796 +++ .../src/unknown/component.rs | 0 .../src/unknown/cpu.rs | 0 vendor/sysinfo-0.29.11/src/unknown/disk.rs | 42 + .../src/unknown/mod.rs | 0 vendor/sysinfo-0.29.11/src/unknown/network.rs | 86 + vendor/sysinfo-0.29.11/src/unknown/process.rs | 106 + vendor/sysinfo-0.29.11/src/unknown/system.rs | 184 + vendor/sysinfo-0.29.11/src/users.rs | 124 + vendor/sysinfo-0.29.11/src/utils.rs | 47 + .../src/windows/component.rs | 0 vendor/sysinfo-0.29.11/src/windows/cpu.rs | 555 + vendor/sysinfo-0.29.11/src/windows/disk.rs | 255 + vendor/sysinfo-0.29.11/src/windows/mod.rs | 20 + vendor/sysinfo-0.29.11/src/windows/network.rs | 259 + vendor/sysinfo-0.29.11/src/windows/process.rs | 1160 ++ vendor/sysinfo-0.29.11/src/windows/sid.rs | 157 + vendor/sysinfo-0.29.11/src/windows/system.rs | 615 + .../src/windows/tools.rs | 0 vendor/sysinfo-0.29.11/src/windows/users.rs | 231 + vendor/sysinfo-0.29.11/src/windows/utils.rs | 127 + .../tests/code_checkers/docs.rs | 3 +- .../tests/code_checkers/headers.rs | 3 +- .../tests/code_checkers/mod.rs | 0 .../tests/code_checkers/signals.rs | 0 .../tests/code_checkers/utils.rs | 57 + .../tests/cpu.rs | 0 .../tests/disk_list.rs | 0 .../tests/extras.rs | 0 .../tests/network.rs | 0 vendor/sysinfo-0.29.11/tests/process.rs | 661 ++ .../tests/send_sync.rs | 1 + .../tests/uptime.rs | 0 vendor/sysinfo/.cargo-checksum.json | 2 +- vendor/sysinfo/CHANGELOG.md | 118 +- vendor/sysinfo/Cargo.lock | 303 +- vendor/sysinfo/Cargo.toml | 86 +- vendor/sysinfo/README.md | 69 +- vendor/sysinfo/benches/basic.rs | 43 +- vendor/sysinfo/examples/simple.c | 22 +- vendor/sysinfo/examples/simple.rs | 191 +- vendor/sysinfo/md_doc/component.md | 16 - vendor/sysinfo/md_doc/cpu.md | 1 - vendor/sysinfo/md_doc/disk.md | 1 - vendor/sysinfo/md_doc/is_supported.md | 10 + .../md_doc/minimum_cpu_update_interval.md | 8 + vendor/sysinfo/md_doc/network_data.md | 1 - vendor/sysinfo/md_doc/networks.md | 8 - vendor/sysinfo/md_doc/pid.md | 2 +- vendor/sysinfo/md_doc/process.md | 10 - vendor/sysinfo/md_doc/serde.md | 2 +- vendor/sysinfo/md_doc/supported_signals.md | 8 + vendor/sysinfo/md_doc/system.md | 1 - vendor/sysinfo/migration_guide.md | 131 + .../sysinfo/src/apple/app_store/component.rs | 26 - vendor/sysinfo/src/apple/component.rs | 3 - vendor/sysinfo/src/apple/cpu.rs | 335 - vendor/sysinfo/src/apple/ffi.rs | 38 - .../sysinfo/src/apple/macos/component/mod.rs | 13 - .../sysinfo/src/apple/macos/component/x86.rs | 326 - vendor/sysinfo/src/apple/macos/ffi.rs | 293 - vendor/sysinfo/src/apple/macos/mod.rs | 20 - vendor/sysinfo/src/apple/macos/process.rs | 717 -- vendor/sysinfo/src/apple/macos/system.rs | 165 - vendor/sysinfo/src/apple/mod.rs | 32 - vendor/sysinfo/src/apple/system.rs | 703 -- vendor/sysinfo/src/apple/utils.rs | 71 - vendor/sysinfo/src/c_interface.rs | 318 +- vendor/sysinfo/src/common.rs | 3151 +++++- vendor/sysinfo/src/debug.rs | 64 +- vendor/sysinfo/src/freebsd/component.rs | 69 - vendor/sysinfo/src/freebsd/cpu.rs | 44 - vendor/sysinfo/src/freebsd/mod.rs | 16 - vendor/sysinfo/src/freebsd/system.rs | 813 -- vendor/sysinfo/src/lib.rs | 326 +- vendor/sysinfo/src/linux/component.rs | 352 - vendor/sysinfo/src/linux/mod.rs | 16 - vendor/sysinfo/src/linux/process.rs | 730 -- vendor/sysinfo/src/linux/system.rs | 750 -- vendor/sysinfo/src/macros.rs | 2 +- vendor/sysinfo/src/network.rs | 13 +- vendor/sysinfo/src/serde.rs | 293 +- vendor/sysinfo/src/sysinfo.h | 57 +- vendor/sysinfo/src/traits.rs | 1771 --- .../src/unix/apple/app_store/component.rs | 57 + .../src/{ => unix}/apple/app_store/mod.rs | 0 .../src/unix/apple/app_store/process.rs | 95 + vendor/sysinfo/src/unix/apple/component.rs | 3 + vendor/sysinfo/src/unix/apple/cpu.rs | 404 + vendor/sysinfo/src/unix/apple/disk.rs | 432 + vendor/sysinfo/src/unix/apple/ffi.rs | 39 + vendor/sysinfo/src/{ => unix}/apple/ios.rs | 0 .../{ => unix}/apple/macos/component/arm.rs | 62 +- .../src/unix/apple/macos/component/mod.rs | 13 + .../src/unix/apple/macos/component/x86.rs | 346 + vendor/sysinfo/src/unix/apple/macos/cpu.rs | 95 + vendor/sysinfo/src/unix/apple/macos/disk.rs | 126 + vendor/sysinfo/src/unix/apple/macos/ffi.rs | 312 + vendor/sysinfo/src/unix/apple/macos/mod.rs | 23 + .../sysinfo/src/unix/apple/macos/process.rs | 751 ++ vendor/sysinfo/src/unix/apple/macos/system.rs | 162 + .../src/{ => unix}/apple/macos/utils.rs | 0 vendor/sysinfo/src/unix/apple/mod.rs | 87 + vendor/sysinfo/src/unix/apple/network.rs | 251 + vendor/sysinfo/src/unix/apple/process.rs | 77 + vendor/sysinfo/src/unix/apple/system.rs | 508 + vendor/sysinfo/src/unix/apple/users.rs | 151 + vendor/sysinfo/src/unix/apple/utils.rs | 70 + vendor/sysinfo/src/unix/freebsd/component.rs | 103 + vendor/sysinfo/src/unix/freebsd/cpu.rs | 200 + vendor/sysinfo/src/unix/freebsd/disk.rs | 169 + vendor/sysinfo/src/unix/freebsd/mod.rs | 63 + vendor/sysinfo/src/unix/freebsd/network.rs | 206 + vendor/sysinfo/src/unix/freebsd/process.rs | 319 + vendor/sysinfo/src/unix/freebsd/system.rs | 677 ++ vendor/sysinfo/src/unix/freebsd/utils.rs | 283 + vendor/sysinfo/src/unix/linux/component.rs | 379 + vendor/sysinfo/src/unix/linux/cpu.rs | 832 ++ vendor/sysinfo/src/unix/linux/disk.rs | 319 + vendor/sysinfo/src/unix/linux/mod.rs | 63 + vendor/sysinfo/src/unix/linux/network.rs | 322 + vendor/sysinfo/src/unix/linux/process.rs | 867 ++ vendor/sysinfo/src/unix/linux/system.rs | 755 ++ vendor/sysinfo/src/unix/linux/utils.rs | 121 + vendor/sysinfo/src/unix/mod.rs | 43 + vendor/sysinfo/src/unix/network_helper.rs | 118 + vendor/sysinfo/src/unix/users.rs | 150 + vendor/sysinfo/src/unix/utils.rs | 32 + vendor/sysinfo/src/unknown/component.rs | 49 +- vendor/sysinfo/src/unknown/cpu.rs | 23 +- vendor/sysinfo/src/unknown/disk.rs | 55 +- vendor/sysinfo/src/unknown/mod.rs | 28 +- vendor/sysinfo/src/unknown/network.rs | 66 +- vendor/sysinfo/src/unknown/process.rs | 57 +- vendor/sysinfo/src/unknown/system.rs | 143 +- vendor/sysinfo/src/unknown/users.rs | 25 + vendor/sysinfo/src/users.rs | 121 - vendor/sysinfo/src/utils.rs | 16 +- vendor/sysinfo/src/windows/component.rs | 376 +- vendor/sysinfo/src/windows/cpu.rs | 290 +- vendor/sysinfo/src/windows/disk.rs | 412 +- vendor/sysinfo/src/windows/mod.rs | 30 +- vendor/sysinfo/src/windows/network.rs | 130 +- vendor/sysinfo/src/windows/network_helper.rs | 107 + vendor/sysinfo/src/windows/process.rs | 844 +- vendor/sysinfo/src/windows/sid.rs | 85 +- vendor/sysinfo/src/windows/system.rs | 530 +- vendor/sysinfo/src/windows/tools.rs | 31 +- vendor/sysinfo/src/windows/users.rs | 301 +- vendor/sysinfo/src/windows/utils.rs | 83 +- vendor/sysinfo/test_bin/main.rs | 5 + vendor/sysinfo/tests/code_checkers/signals.rs | 14 +- vendor/sysinfo/tests/cpu.rs | 45 +- vendor/sysinfo/tests/disk_list.rs | 9 +- vendor/sysinfo/tests/network.rs | 14 +- vendor/sysinfo/tests/process.rs | 383 +- vendor/sysinfo/tests/system.rs | 233 + vendor/sysinfo/tests/uptime.rs | 12 - vendor/tar-0.4.38/.cargo-checksum.json | 1 - vendor/tar-0.4.38/Cargo.lock | 169 - vendor/tar-0.4.38/Cargo.toml | 37 - vendor/tar-0.4.38/README.md | 76 - vendor/tar-0.4.38/examples/extract_file.rs | 25 - vendor/tar-0.4.38/examples/list.rs | 17 - vendor/tar-0.4.38/examples/raw_list.rs | 48 - vendor/tar-0.4.38/examples/write.rs | 13 - vendor/tar-0.4.38/src/archive.rs | 577 - vendor/tar-0.4.38/src/builder.rs | 663 -- vendor/tar-0.4.38/src/entry.rs | 832 -- vendor/tar-0.4.38/src/entry_type.rs | 193 - vendor/tar-0.4.38/src/error.rs | 41 - vendor/tar-0.4.38/src/header.rs | 1642 --- vendor/tar-0.4.38/src/lib.rs | 44 - vendor/tar-0.4.38/src/pax.rs | 117 - vendor/tar-0.4.38/tests/all.rs | 1387 --- vendor/tar-0.4.38/tests/entry.rs | 379 - vendor/tar-0.4.38/tests/header/mod.rs | 246 - vendor/tempfile/.cargo-checksum.json | 2 +- vendor/tempfile/CHANGELOG.md | 5 + vendor/tempfile/Cargo.toml | 6 +- vendor/termcolor/.cargo-checksum.json | 2 +- vendor/termcolor/Cargo.toml | 2 +- vendor/termcolor/README.md | 23 +- vendor/termcolor/src/lib.rs | 248 +- vendor/thin-vec/.cargo-checksum.json | 2 +- vendor/thin-vec/Cargo.toml | 5 +- vendor/thin-vec/LICENSE-APACHE | 176 + vendor/thin-vec/LICENSE-MIT | 23 + vendor/thin-vec/RELEASES.md | 11 + vendor/thin-vec/src/lib.rs | 8596 +++++++------- .../thiserror-core-impl/.cargo-checksum.json | 1 - vendor/thiserror-core-impl/Cargo.toml | 41 - vendor/thiserror-core-impl/LICENSE-APACHE | 176 - vendor/thiserror-core-impl/src/ast.rs | 165 - vendor/thiserror-core-impl/src/attr.rs | 213 - vendor/thiserror-core-impl/src/expand.rs | 557 - vendor/thiserror-core-impl/src/fmt.rs | 170 - vendor/thiserror-core-impl/src/generics.rs | 83 - vendor/thiserror-core-impl/src/lib.rs | 35 - vendor/thiserror-core-impl/src/prop.rs | 135 - vendor/thiserror-core-impl/src/valid.rs | 237 - vendor/thiserror-core/.cargo-checksum.json | 1 - vendor/thiserror-core/Cargo.toml | 55 - vendor/thiserror-core/LICENSE-APACHE | 176 - vendor/thiserror-core/README.md | 27 - vendor/thiserror-core/build.rs | 66 - vendor/thiserror-core/rust-toolchain.toml | 2 - vendor/thiserror-core/src/aserror.rs | 51 - vendor/thiserror-core/src/display.rs | 32 - vendor/thiserror-core/src/lib.rs | 265 - vendor/thiserror-core/src/provide.rs | 15 - vendor/thiserror-core/tests/compiletest.rs | 7 - vendor/thiserror-core/tests/test_backtrace.rs | 297 - .../thiserror-core/tests/test_deprecated.rs | 10 - vendor/thiserror-core/tests/test_display.rs | 301 - vendor/thiserror-core/tests/test_error.rs | 56 - vendor/thiserror-core/tests/test_expr.rs | 88 - vendor/thiserror-core/tests/test_from.rs | 64 - vendor/thiserror-core/tests/test_generics.rs | 161 - vendor/thiserror-core/tests/test_lints.rs | 18 - vendor/thiserror-core/tests/test_option.rs | 108 - vendor/thiserror-core/tests/test_path.rs | 37 - vendor/thiserror-core/tests/test_source.rs | 65 - .../thiserror-core/tests/test_transparent.rs | 78 - .../thiserror-core/tests/ui/bad-field-attr.rs | 7 - .../tests/ui/bad-field-attr.stderr | 5 - .../thiserror-core/tests/ui/concat-display.rs | 15 - .../tests/ui/concat-display.stderr | 10 - .../tests/ui/duplicate-enum-source.rs | 13 - .../tests/ui/duplicate-enum-source.stderr | 5 - .../thiserror-core/tests/ui/duplicate-fmt.rs | 8 - .../tests/ui/duplicate-fmt.stderr | 5 - .../tests/ui/duplicate-struct-source.rs | 11 - .../tests/ui/duplicate-struct-source.stderr | 5 - .../tests/ui/duplicate-transparent.rs | 8 - .../tests/ui/duplicate-transparent.stderr | 5 - .../tests/ui/from-backtrace-backtrace.rs | 10 - .../tests/ui/from-backtrace-backtrace.stderr | 5 - .../tests/ui/from-not-source.rs | 11 - .../tests/ui/from-not-source.stderr | 5 - vendor/thiserror-core/tests/ui/lifetime.rs | 24 - .../thiserror-core/tests/ui/lifetime.stderr | 11 - vendor/thiserror-core/tests/ui/missing-fmt.rs | 10 - .../tests/ui/missing-fmt.stderr | 5 - vendor/thiserror-core/tests/ui/no-display.rs | 12 - .../thiserror-core/tests/ui/no-display.stderr | 17 - .../tests/ui/source-enum-not-error.rs | 14 - .../tests/ui/source-enum-not-error.stderr | 22 - .../tests/ui/source-struct-not-error.rs | 12 - .../tests/ui/source-struct-not-error.stderr | 21 - .../tests/ui/transparent-display.rs | 8 - .../tests/ui/transparent-display.stderr | 5 - .../tests/ui/transparent-enum-many.rs | 9 - .../tests/ui/transparent-enum-many.stderr | 6 - .../tests/ui/transparent-enum-source.rs | 9 - .../tests/ui/transparent-enum-source.stderr | 5 - .../tests/ui/transparent-struct-many.rs | 10 - .../tests/ui/transparent-struct-many.stderr | 5 - .../tests/ui/transparent-struct-source.rs | 7 - .../tests/ui/transparent-struct-source.stderr | 5 - .../tests/ui/unexpected-field-fmt.rs | 11 - .../tests/ui/unexpected-field-fmt.stderr | 5 - .../tests/ui/unexpected-struct-source.rs | 7 - .../tests/ui/unexpected-struct-source.stderr | 5 - vendor/thiserror-core/tests/ui/union.rs | 9 - vendor/thiserror-core/tests/ui/union.stderr | 8 - vendor/thiserror-impl/.cargo-checksum.json | 2 +- vendor/thiserror-impl/Cargo.toml | 8 +- vendor/thiserror-impl/src/ast.rs | 4 - vendor/thiserror-impl/src/expand.rs | 78 +- vendor/thiserror-impl/src/lib.rs | 8 +- vendor/thiserror/.cargo-checksum.json | 2 +- vendor/thiserror/Cargo.toml | 4 +- vendor/thiserror/build.rs | 118 +- vendor/thiserror/build/probe.rs | 32 + vendor/thiserror/src/lib.rs | 5 +- vendor/thiserror/tests/test_expr.rs | 6 +- .../tests/ui/fallback-impl-with-display.rs | 14 + .../ui/fallback-impl-with-display.stderr | 16 + .../tests/ui/invalid-input-impl-anyway.rs | 11 + .../tests/ui/invalid-input-impl-anyway.stderr | 5 + vendor/thiserror/tests/ui/missing-display.rs | 9 + .../thiserror/tests/ui/missing-display.stderr | 13 + vendor/toml/.cargo-checksum.json | 2 +- vendor/toml/Cargo.lock | 32 +- vendor/toml/Cargo.toml | 10 +- vendor/toml/src/table.rs | 7 +- vendor/toml/tests/testsuite/serde.rs | 29 + vendor/toml_edit/.cargo-checksum.json | 2 +- vendor/toml_edit/Cargo.lock | 28 +- vendor/toml_edit/Cargo.toml | 8 +- vendor/toml_edit/src/de/table.rs | 8 +- .../fixtures/invalid/datetime/y10k.stderr | 5 + .../{utf16.stderr => utf16-comment.stderr} | Bin .../invalid/encoding/utf16-key.stderr | Bin 0 -> 79 bytes .../fixtures/invalid/float/exp-point-3.stderr | 6 + .../invalid/float/exp-trailing-us-1.stderr | 6 + .../invalid/float/exp-trailing-us-2.stderr | 6 + ...overwrite-1.stderr => overwrite-01.stderr} | 0 ...overwrite-2.stderr => overwrite-02.stderr} | 0 ...overwrite-3.stderr => overwrite-03.stderr} | 0 ...overwrite-4.stderr => overwrite-04.stderr} | 0 ...overwrite-5.stderr => overwrite-05.stderr} | 0 ...overwrite-6.stderr => overwrite-06.stderr} | 0 ...overwrite-7.stderr => overwrite-07.stderr} | 0 ...overwrite-8.stderr => overwrite-08.stderr} | 0 ...overwrite-9.stderr => overwrite-09.stderr} | 0 .../invalid/inline-table/overwrite-10.stderr | 5 + .../invalid/key/duplicate-keys-1.stderr | 5 + ...te-keys.stderr => duplicate-keys-2.stderr} | 0 .../invalid/key/duplicate-keys-3.stderr | 5 + .../invalid/key/duplicate-keys-4.stderr | 5 + .../fixtures/invalid/key/duplicate.stderr | 5 - .../key/{newline.stderr => newline-1.stderr} | 0 .../fixtures/invalid/key/newline-2.stderr | 5 + .../fixtures/invalid/key/newline-3.stderr | 5 + .../{multiline.stderr => newline-4.stderr} | 0 .../fixtures/invalid/key/newline-5.stderr | 5 + ...{two-equals.stderr => two-equals-1.stderr} | 0 ...two-equals2.stderr => two-equals-2.stderr} | 0 ...two-equals3.stderr => two-equals-3.stderr} | 0 .../fixtures/invalid/local-date/y10k.stderr | 5 + .../invalid/local-datetime/y10k.stderr | 5 + .../fixtures/invalid/table/super-twice.stderr | 6 + vendor/triomphe/.cargo-checksum.json | 2 +- vendor/triomphe/Cargo.toml | 2 +- vendor/triomphe/src/thin_arc.rs | 25 +- vendor/typed-arena/.cargo-checksum.json | 1 - vendor/typed-arena/CHANGELOG.md | 143 - vendor/typed-arena/Cargo.toml | 44 - vendor/typed-arena/LICENSE | 21 - vendor/typed-arena/README.md | 71 - vendor/typed-arena/benches/benches.rs | 36 - vendor/typed-arena/src/lib.rs | 635 -- vendor/typed-arena/src/test.rs | 385 - vendor/unic-langid-impl/.cargo-checksum.json | 2 +- vendor/unic-langid-impl/Cargo.lock | 242 +- vendor/unic-langid-impl/Cargo.toml | 8 +- vendor/unic-langid-impl/LICENSE-APACHE | 201 + .../LICENSE-MIT | 0 .../data/cldr-misc-full/README.md | 29 +- .../src/bin/generate_layout.rs | 95 +- vendor/unic-langid-impl/src/layout_table.rs | 14 +- vendor/unic-langid-impl/src/lib.rs | 20 +- .../unic-langid-impl/src/likelysubtags/mod.rs | 6 +- .../src/likelysubtags/tables.rs | 9859 +++++++++++++++-- .../unic-langid-impl/src/subtags/language.rs | 2 +- .../unic-langid-impl/src/subtags/variant.rs | 2 +- .../tests/language_identifier_test.rs | 18 +- .../unic-langid-impl/tests/likelysubtags.rs | 6 +- .../.cargo-checksum.json | 2 +- vendor/unic-langid-macros-impl/Cargo.toml | 18 +- vendor/unic-langid-macros-impl/LICENSE-APACHE | 201 + .../LICENSE-MIT | 0 .../unic-langid-macros/.cargo-checksum.json | 2 +- vendor/unic-langid-macros/Cargo.toml | 18 +- vendor/unic-langid-macros/LICENSE-APACHE | 201 + vendor/unic-langid-macros/LICENSE-MIT | 23 + vendor/unic-langid/.cargo-checksum.json | 2 +- vendor/unic-langid/Cargo.toml | 15 +- vendor/unic-langid/LICENSE-APACHE | 201 + vendor/unic-langid/LICENSE-MIT | 23 + vendor/unic-langid/tests/langid.rs | 72 + vendor/unicode-bidi/.cargo-checksum.json | 2 +- vendor/unicode-bidi/Cargo.toml | 2 +- vendor/unicode-bidi/src/explicit.rs | 9 +- vendor/unicode-bidi/src/implicit.rs | 57 +- vendor/unicode-bidi/src/lib.rs | 2158 +++- vendor/unicode-bidi/src/prepare.rs | 9 - vendor/unicode-bidi/src/utf16.rs | 791 ++ vendor/winnow/.cargo-checksum.json | 2 +- vendor/winnow/Cargo.lock | 2 +- vendor/winnow/Cargo.toml | 8 +- vendor/winnow/src/_topic/mod.rs | 2 + vendor/winnow/src/_topic/nom.rs | 49 + vendor/winnow/src/_topic/why.rs | 7 +- vendor/winnow/src/ascii/mod.rs | 10 +- vendor/winnow/src/binary/mod.rs | 81 +- vendor/winnow/src/binary/tests.rs | 80 +- vendor/winnow/src/combinator/mod.rs | 4 +- vendor/winnow/src/combinator/multi.rs | 8 +- vendor/winnow/src/combinator/parser.rs | 12 +- vendor/winnow/src/lib.rs | 2 + vendor/winnow/src/parser.rs | 4 +- vendor/winnow/src/stream/mod.rs | 2 + vendor/winnow/src/token/tests.rs | 47 - vendor/xattr/.cargo-checksum.json | 2 +- vendor/xattr/Cargo.toml | 26 +- vendor/xattr/README.md | 9 +- vendor/xattr/src/error.rs | 2 +- vendor/xattr/src/lib.rs | 69 +- vendor/xattr/src/sys/bsd.rs | 186 +- vendor/xattr/src/sys/linux_macos.rs | 161 + vendor/xattr/src/sys/linux_macos/linux.rs | 52 - vendor/xattr/src/sys/linux_macos/macos.rs | 120 - vendor/xattr/src/sys/linux_macos/mod.rs | 168 - vendor/xattr/src/sys/mod.rs | 6 - vendor/xattr/src/sys/unsupported.rs | 38 +- vendor/xattr/src/util.rs | 81 +- vendor/xattr/tests/main.rs | 15 +- version | 2 +- 8194 files changed, 257292 insertions(+), 208830 deletions(-) create mode 100644 compiler/rustc_ast_lowering/src/delegation.rs delete mode 100644 compiler/rustc_codegen_cranelift/patches/0001-portable-simd-Enable-the-exposed_provenance-feature.patch delete mode 100644 compiler/rustc_const_eval/src/transform/promote_consts.rs create mode 100644 compiler/rustc_data_structures/src/packed.rs delete mode 100644 compiler/rustc_error_codes/src/error_codes.rs create mode 100644 compiler/rustc_error_codes/src/error_codes/E0796.md create mode 100644 compiler/rustc_error_codes/src/error_codes/E0797.md create mode 100644 compiler/rustc_errors/src/codes.rs create mode 100644 compiler/rustc_hir_analysis/src/check/errs.rs create mode 100644 compiler/rustc_lint/src/context/diagnostics.rs create mode 100644 compiler/rustc_macros/build.rs delete mode 100644 compiler/rustc_middle/src/mir/spanview.rs create mode 100644 compiler/rustc_mir_dataflow/src/points.rs create mode 100644 compiler/rustc_mir_transform/src/lint.rs create mode 100644 compiler/rustc_mir_transform/src/promote_consts.rs create mode 100644 compiler/rustc_pattern_analysis/src/pat_column.rs delete mode 100644 compiler/rustc_query_system/src/ich/impls_hir.rs create mode 100644 compiler/rustc_symbol_mangling/src/hashed.rs create mode 100644 compiler/rustc_target/src/spec/targets/aarch64_unknown_illumos.rs delete mode 100644 compiler/rustc_target/src/spec/targets/asmjs_unknown_emscripten.rs create mode 100644 compiler/rustc_target/src/spec/targets/hexagon_unknown_none_elf.rs create mode 100644 compiler/rustc_target/src/spec/targets/riscv32im_risc0_zkvm_elf.rs create mode 100644 compiler/rustc_target/src/spec/targets/riscv32imafc_esp_espidf.rs create mode 100644 compiler/rustc_trait_selection/src/regions.rs create mode 100644 library/core/benches/num/int_pow/mod.rs create mode 100644 library/core/src/num/overflow_panic.rs create mode 100644 library/core/src/ops/async_function.rs create mode 100644 library/core/tests/async_iter/mod.rs create mode 100644 library/panic_abort/src/zkvm.rs delete mode 100644 library/std/src/num/benches.rs create mode 100644 library/std/src/os/xous/services/dns.rs create mode 100644 library/std/src/os/xous/services/net.rs create mode 100644 library/std/src/sys/cmath/builtins.rs create mode 100644 library/std/src/sys/cmath/mod.rs create mode 100644 library/std/src/sys/cmath/windows.rs delete mode 100644 library/std/src/sys/common/alloc.rs delete mode 100644 library/std/src/sys/hermit/alloc.rs delete mode 100644 library/std/src/sys/hermit/fs.rs delete mode 100644 library/std/src/sys/hermit/mod.rs delete mode 100644 library/std/src/sys/hermit/net.rs delete mode 100644 library/std/src/sys/hermit/os.rs delete mode 100644 library/std/src/sys/hermit/stdio.rs delete mode 100644 library/std/src/sys/hermit/thread.rs create mode 100644 library/std/src/sys/os_str/bytes.rs rename library/std/src/sys/{unix/os_str => os_str/bytes}/tests.rs (100%) create mode 100644 library/std/src/sys/os_str/mod.rs rename library/std/src/sys/{windows/os_str.rs => os_str/wtf8.rs} (100%) create mode 100644 library/std/src/sys/pal/common/alloc.rs rename library/std/src/sys/{ => pal}/common/mod.rs (100%) rename library/std/src/sys/{ => pal}/common/small_c_string.rs (100%) rename library/std/src/sys/{ => pal}/common/tests.rs (100%) rename library/std/src/sys/{ => pal}/common/thread_local/fast_local.rs (98%) rename library/std/src/sys/{ => pal}/common/thread_local/mod.rs (100%) rename library/std/src/sys/{ => pal}/common/thread_local/os_local.rs (100%) rename library/std/src/sys/{ => pal}/common/thread_local/static_local.rs (96%) create mode 100644 library/std/src/sys/pal/hermit/alloc.rs rename library/std/src/sys/{ => pal}/hermit/args.rs (100%) rename library/std/src/sys/{ => pal}/hermit/env.rs (100%) rename library/std/src/sys/{ => pal}/hermit/fd.rs (98%) create mode 100644 library/std/src/sys/pal/hermit/fs.rs rename library/std/src/sys/{ => pal}/hermit/futex.rs (100%) rename library/std/src/sys/{ => pal}/hermit/memchr.rs (100%) create mode 100644 library/std/src/sys/pal/hermit/mod.rs create mode 100644 library/std/src/sys/pal/hermit/net.rs create mode 100644 library/std/src/sys/pal/hermit/os.rs create mode 100644 library/std/src/sys/pal/hermit/stdio.rs create mode 100644 library/std/src/sys/pal/hermit/thread.rs rename library/std/src/sys/{ => pal}/hermit/thread_local_dtor.rs (100%) rename library/std/src/sys/{ => pal}/hermit/time.rs (97%) rename library/std/src/sys/{ => pal}/itron/abi.rs (100%) rename library/std/src/sys/{ => pal}/itron/condvar.rs (100%) rename library/std/src/sys/{ => pal}/itron/error.rs (100%) rename library/std/src/sys/{ => pal}/itron/mutex.rs (100%) rename library/std/src/sys/{ => pal}/itron/spin.rs (100%) rename library/std/src/sys/{ => pal}/itron/task.rs (100%) rename library/std/src/sys/{ => pal}/itron/thread.rs (100%) rename library/std/src/sys/{ => pal}/itron/thread_parking.rs (100%) rename library/std/src/sys/{ => pal}/itron/time.rs (100%) rename library/std/src/sys/{ => pal}/itron/time/tests.rs (100%) create mode 100644 library/std/src/sys/pal/mod.rs rename library/std/src/sys/{ => pal}/sgx/abi/entry.S (100%) rename library/std/src/sys/{ => pal}/sgx/abi/mem.rs (100%) rename library/std/src/sys/{ => pal}/sgx/abi/mod.rs (100%) rename library/std/src/sys/{ => pal}/sgx/abi/panic.rs (100%) rename library/std/src/sys/{ => pal}/sgx/abi/reloc.rs (100%) rename library/std/src/sys/{ => pal}/sgx/abi/thread.rs (100%) rename library/std/src/sys/{ => pal}/sgx/abi/tls/mod.rs (100%) rename library/std/src/sys/{ => pal}/sgx/abi/tls/sync_bitset.rs (100%) rename library/std/src/sys/{ => pal}/sgx/abi/tls/sync_bitset/tests.rs (100%) create mode 100644 library/std/src/sys/pal/sgx/abi/usercalls/alloc.rs rename library/std/src/sys/{ => pal}/sgx/abi/usercalls/mod.rs (100%) rename library/std/src/sys/{ => pal}/sgx/abi/usercalls/raw.rs (100%) rename library/std/src/sys/{ => pal}/sgx/abi/usercalls/tests.rs (100%) create mode 100644 library/std/src/sys/pal/sgx/alloc.rs rename library/std/src/sys/{ => pal}/sgx/args.rs (100%) rename library/std/src/sys/{ => pal}/sgx/condvar.rs (100%) rename library/std/src/sys/{ => pal}/sgx/env.rs (100%) rename library/std/src/sys/{ => pal}/sgx/fd.rs (100%) rename library/std/src/sys/{ => pal}/sgx/memchr.rs (100%) create mode 100644 library/std/src/sys/pal/sgx/mod.rs rename library/std/src/sys/{ => pal}/sgx/mutex.rs (100%) rename library/std/src/sys/{ => pal}/sgx/net.rs (100%) rename library/std/src/sys/{ => pal}/sgx/os.rs (100%) rename library/std/src/sys/{ => pal}/sgx/path.rs (100%) rename library/std/src/sys/{ => pal}/sgx/rwlock.rs (100%) rename library/std/src/sys/{ => pal}/sgx/rwlock/tests.rs (100%) rename library/std/src/sys/{ => pal}/sgx/stdio.rs (100%) rename library/std/src/sys/{ => pal}/sgx/thread.rs (100%) rename library/std/src/sys/{ => pal}/sgx/thread_local_key.rs (100%) rename library/std/src/sys/{ => pal}/sgx/thread_parking.rs (100%) rename library/std/src/sys/{ => pal}/sgx/time.rs (100%) rename library/std/src/sys/{ => pal}/sgx/waitqueue/mod.rs (100%) rename library/std/src/sys/{ => pal}/sgx/waitqueue/spin_mutex.rs (100%) rename library/std/src/sys/{ => pal}/sgx/waitqueue/spin_mutex/tests.rs (100%) rename library/std/src/sys/{ => pal}/sgx/waitqueue/tests.rs (100%) rename library/std/src/sys/{ => pal}/sgx/waitqueue/unsafe_list.rs (100%) rename library/std/src/sys/{ => pal}/sgx/waitqueue/unsafe_list/tests.rs (100%) rename library/std/src/sys/{ => pal}/solid/abi/fs.rs (100%) rename library/std/src/sys/{ => pal}/solid/abi/mod.rs (100%) rename library/std/src/sys/{ => pal}/solid/abi/sockets.rs (100%) rename library/std/src/sys/{ => pal}/solid/alloc.rs (100%) rename library/std/src/sys/{ => pal}/solid/env.rs (100%) rename library/std/src/sys/{ => pal}/solid/error.rs (100%) rename library/std/src/sys/{ => pal}/solid/fs.rs (100%) rename library/std/src/sys/{ => pal}/solid/io.rs (100%) rename library/std/src/sys/{ => pal}/solid/memchr.rs (100%) create mode 100644 library/std/src/sys/pal/solid/mod.rs create mode 100644 library/std/src/sys/pal/solid/net.rs rename library/std/src/sys/{ => pal}/solid/os.rs (100%) rename library/std/src/sys/{ => pal}/solid/path.rs (100%) rename library/std/src/sys/{ => pal}/solid/rwlock.rs (100%) rename library/std/src/sys/{ => pal}/solid/stdio.rs (100%) rename library/std/src/sys/{ => pal}/solid/thread_local_dtor.rs (100%) rename library/std/src/sys/{ => pal}/solid/thread_local_key.rs (100%) rename library/std/src/sys/{ => pal}/solid/time.rs (100%) rename library/std/src/sys/{ => pal}/teeos/alloc.rs (100%) rename library/std/src/sys/{ => pal}/teeos/locks/condvar.rs (100%) rename library/std/src/sys/{ => pal}/teeos/locks/mod.rs (100%) rename library/std/src/sys/{ => pal}/teeos/locks/rwlock.rs (100%) create mode 100644 library/std/src/sys/pal/teeos/mod.rs rename library/std/src/sys/{ => pal}/teeos/net.rs (100%) rename library/std/src/sys/{ => pal}/teeos/os.rs (100%) rename library/std/src/sys/{ => pal}/teeos/rand.rs (100%) rename library/std/src/sys/{ => pal}/teeos/stdio.rs (100%) rename library/std/src/sys/{ => pal}/teeos/thread.rs (100%) rename library/std/src/sys/{ => pal}/teeos/thread_local_dtor.rs (100%) create mode 100644 library/std/src/sys/pal/uefi/alloc.rs create mode 100644 library/std/src/sys/pal/uefi/args.rs rename library/std/src/sys/{ => pal}/uefi/env.rs (100%) rename library/std/src/sys/{ => pal}/uefi/helpers.rs (100%) create mode 100644 library/std/src/sys/pal/uefi/mod.rs rename library/std/src/sys/{ => pal}/uefi/os.rs (100%) rename library/std/src/sys/{ => pal}/uefi/path.rs (100%) rename library/std/src/sys/{ => pal}/uefi/stdio.rs (100%) rename library/std/src/sys/{ => pal}/uefi/tests.rs (100%) rename library/std/src/sys/{ => pal}/unix/alloc.rs (100%) rename library/std/src/sys/{ => pal}/unix/android.rs (100%) create mode 100644 library/std/src/sys/pal/unix/args.rs rename library/std/src/sys/{ => pal}/unix/env.rs (100%) rename library/std/src/sys/{ => pal}/unix/fd.rs (100%) rename library/std/src/sys/{ => pal}/unix/fd/tests.rs (100%) create mode 100644 library/std/src/sys/pal/unix/fs.rs rename library/std/src/sys/{ => pal}/unix/futex.rs (100%) rename library/std/src/sys/{ => pal}/unix/io.rs (100%) rename library/std/src/sys/{ => pal}/unix/kernel_copy.rs (100%) rename library/std/src/sys/{ => pal}/unix/kernel_copy/tests.rs (100%) rename library/std/src/sys/{ => pal}/unix/l4re.rs (100%) rename library/std/src/sys/{ => pal}/unix/locks/fuchsia_mutex.rs (100%) rename library/std/src/sys/{ => pal}/unix/locks/futex_condvar.rs (100%) rename library/std/src/sys/{ => pal}/unix/locks/futex_mutex.rs (100%) rename library/std/src/sys/{ => pal}/unix/locks/futex_rwlock.rs (100%) rename library/std/src/sys/{ => pal}/unix/locks/mod.rs (100%) rename library/std/src/sys/{ => pal}/unix/locks/pthread_condvar.rs (100%) rename library/std/src/sys/{ => pal}/unix/locks/pthread_mutex.rs (100%) rename library/std/src/sys/{ => pal}/unix/locks/pthread_rwlock.rs (100%) rename library/std/src/sys/{ => pal}/unix/memchr.rs (100%) create mode 100644 library/std/src/sys/pal/unix/mod.rs create mode 100644 library/std/src/sys/pal/unix/net.rs rename library/std/src/sys/{ => pal}/unix/os.rs (100%) rename library/std/src/sys/{ => pal}/unix/os/tests.rs (100%) rename library/std/src/sys/{ => pal}/unix/path.rs (100%) rename library/std/src/sys/{ => pal}/unix/pipe.rs (100%) rename library/std/src/sys/{ => pal}/unix/process/mod.rs (100%) rename library/std/src/sys/{ => pal}/unix/process/process_common.rs (99%) rename library/std/src/sys/{ => pal}/unix/process/process_common/tests.rs (100%) rename library/std/src/sys/{ => pal}/unix/process/process_fuchsia.rs (100%) rename library/std/src/sys/{ => pal}/unix/process/process_unix.rs (99%) create mode 100644 library/std/src/sys/pal/unix/process/process_unix/tests.rs rename library/std/src/sys/{ => pal}/unix/process/process_unsupported.rs (91%) rename library/std/src/sys/{ => pal}/unix/process/process_unsupported/wait_status.rs (97%) rename library/std/src/sys/{ => pal}/unix/process/process_unsupported/wait_status/tests.rs (100%) rename library/std/src/sys/{ => pal}/unix/process/process_vxworks.rs (98%) rename library/std/src/sys/{ => pal}/unix/process/zircon.rs (100%) rename library/std/src/sys/{ => pal}/unix/rand.rs (91%) rename library/std/src/sys/{ => pal}/unix/stack_overflow.rs (99%) rename library/std/src/sys/{ => pal}/unix/stdio.rs (100%) create mode 100644 library/std/src/sys/pal/unix/thread.rs rename library/std/src/sys/{ => pal}/unix/thread_local_dtor.rs (96%) rename library/std/src/sys/{ => pal}/unix/thread_local_key.rs (100%) rename library/std/src/sys/{ => pal}/unix/thread_parking/darwin.rs (100%) rename library/std/src/sys/{ => pal}/unix/thread_parking/mod.rs (100%) rename library/std/src/sys/{ => pal}/unix/thread_parking/netbsd.rs (100%) rename library/std/src/sys/{ => pal}/unix/thread_parking/pthread.rs (100%) rename library/std/src/sys/{ => pal}/unix/time.rs (100%) rename library/std/src/sys/{ => pal}/unix/weak.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/alloc.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/args.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/common.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/env.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/fs.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/io.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/locks/condvar.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/locks/mod.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/locks/mutex.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/locks/rwlock.rs (100%) create mode 100644 library/std/src/sys/pal/unsupported/mod.rs create mode 100644 library/std/src/sys/pal/unsupported/net.rs rename library/std/src/sys/{ => pal}/unsupported/once.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/os.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/pipe.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/process.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/stdio.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/thread.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/thread_local_dtor.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/thread_local_key.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/thread_parking.rs (100%) rename library/std/src/sys/{ => pal}/unsupported/time.rs (100%) rename library/std/src/sys/{ => pal}/wasi/args.rs (100%) rename library/std/src/sys/{ => pal}/wasi/env.rs (100%) rename library/std/src/sys/{ => pal}/wasi/fd.rs (100%) rename library/std/src/sys/{ => pal}/wasi/fs.rs (100%) rename library/std/src/sys/{ => pal}/wasi/io.rs (100%) create mode 100644 library/std/src/sys/pal/wasi/mod.rs create mode 100644 library/std/src/sys/pal/wasi/net.rs create mode 100644 library/std/src/sys/pal/wasi/os.rs rename library/std/src/sys/{ => pal}/wasi/stdio.rs (100%) rename library/std/src/sys/{ => pal}/wasi/thread.rs (100%) rename library/std/src/sys/{ => pal}/wasi/time.rs (100%) rename library/std/src/sys/{ => pal}/wasm/alloc.rs (100%) rename library/std/src/sys/{ => pal}/wasm/atomics/futex.rs (100%) rename library/std/src/sys/{ => pal}/wasm/atomics/thread.rs (100%) rename library/std/src/sys/{ => pal}/wasm/env.rs (100%) create mode 100644 library/std/src/sys/pal/wasm/mod.rs create mode 100644 library/std/src/sys/pal/windows/alloc.rs rename library/std/src/sys/{ => pal}/windows/alloc/tests.rs (100%) create mode 100644 library/std/src/sys/pal/windows/api.rs create mode 100644 library/std/src/sys/pal/windows/args.rs create mode 100644 library/std/src/sys/pal/windows/args/tests.rs rename library/std/src/sys/{ => pal}/windows/c.rs (99%) rename library/std/src/sys/{ => pal}/windows/c/windows_sys.lst (100%) rename library/std/src/sys/{ => pal}/windows/c/windows_sys.rs (100%) rename library/std/src/sys/{ => pal}/windows/compat.rs (100%) rename library/std/src/sys/{ => pal}/windows/env.rs (100%) create mode 100644 library/std/src/sys/pal/windows/fs.rs rename library/std/src/sys/{ => pal}/windows/handle.rs (100%) rename library/std/src/sys/{ => pal}/windows/handle/tests.rs (100%) create mode 100644 library/std/src/sys/pal/windows/io.rs create mode 100644 library/std/src/sys/pal/windows/locks/condvar.rs rename library/std/src/sys/{ => pal}/windows/locks/mod.rs (100%) rename library/std/src/sys/{ => pal}/windows/locks/mutex.rs (100%) rename library/std/src/sys/{ => pal}/windows/locks/rwlock.rs (100%) rename library/std/src/sys/{ => pal}/windows/memchr.rs (100%) create mode 100644 library/std/src/sys/pal/windows/mod.rs create mode 100644 library/std/src/sys/pal/windows/net.rs rename library/std/src/sys/{ => pal}/windows/os.rs (100%) rename library/std/src/sys/{ => pal}/windows/os/tests.rs (100%) rename library/std/src/sys/{ => pal}/windows/path.rs (100%) rename library/std/src/sys/{ => pal}/windows/path/tests.rs (100%) rename library/std/src/sys/{ => pal}/windows/pipe.rs (100%) rename library/std/src/sys/{ => pal}/windows/process.rs (100%) rename library/std/src/sys/{ => pal}/windows/process/tests.rs (100%) rename library/std/src/sys/{ => pal}/windows/rand.rs (100%) rename library/std/src/sys/{ => pal}/windows/stack_overflow.rs (100%) rename library/std/src/sys/{ => pal}/windows/stack_overflow_uwp.rs (100%) create mode 100644 library/std/src/sys/pal/windows/stdio.rs rename library/std/src/sys/{ => pal}/windows/stdio/tests.rs (100%) rename library/std/src/sys/{ => pal}/windows/thread.rs (100%) rename library/std/src/sys/{ => pal}/windows/thread_local_dtor.rs (100%) rename library/std/src/sys/{ => pal}/windows/thread_local_key.rs (100%) rename library/std/src/sys/{ => pal}/windows/thread_local_key/tests.rs (100%) rename library/std/src/sys/{ => pal}/windows/thread_parking.rs (100%) rename library/std/src/sys/{ => pal}/windows/time.rs (100%) create mode 100644 library/std/src/sys/pal/xous/alloc.rs create mode 100644 library/std/src/sys/pal/xous/locks/condvar.rs rename library/std/src/sys/{ => pal}/xous/locks/mod.rs (100%) rename library/std/src/sys/{ => pal}/xous/locks/mutex.rs (87%) create mode 100644 library/std/src/sys/pal/xous/locks/rwlock.rs create mode 100644 library/std/src/sys/pal/xous/mod.rs create mode 100644 library/std/src/sys/pal/xous/net/dns.rs create mode 100644 library/std/src/sys/pal/xous/net/mod.rs create mode 100644 library/std/src/sys/pal/xous/net/tcplistener.rs create mode 100644 library/std/src/sys/pal/xous/net/tcpstream.rs create mode 100644 library/std/src/sys/pal/xous/net/udp.rs rename library/std/src/sys/{ => pal}/xous/os.rs (100%) create mode 100644 library/std/src/sys/pal/xous/stdio.rs create mode 100644 library/std/src/sys/pal/xous/thread.rs create mode 100644 library/std/src/sys/pal/xous/thread_local_key.rs create mode 100644 library/std/src/sys/pal/xous/thread_parking.rs rename library/std/src/sys/{ => pal}/xous/time.rs (100%) create mode 100644 library/std/src/sys/pal/zkvm/abi.rs create mode 100644 library/std/src/sys/pal/zkvm/alloc.rs create mode 100644 library/std/src/sys/pal/zkvm/args.rs create mode 100644 library/std/src/sys/pal/zkvm/env.rs create mode 100644 library/std/src/sys/pal/zkvm/mod.rs create mode 100644 library/std/src/sys/pal/zkvm/os.rs create mode 100644 library/std/src/sys/pal/zkvm/stdio.rs create mode 100644 library/std/src/sys/pal/zkvm/thread_local_key.rs delete mode 100644 library/std/src/sys/sgx/abi/usercalls/alloc.rs delete mode 100644 library/std/src/sys/sgx/alloc.rs delete mode 100644 library/std/src/sys/sgx/mod.rs delete mode 100644 library/std/src/sys/solid/mod.rs delete mode 100644 library/std/src/sys/solid/net.rs delete mode 100644 library/std/src/sys/teeos/mod.rs delete mode 100644 library/std/src/sys/uefi/alloc.rs delete mode 100644 library/std/src/sys/uefi/args.rs delete mode 100644 library/std/src/sys/uefi/mod.rs delete mode 100644 library/std/src/sys/unix/args.rs delete mode 100644 library/std/src/sys/unix/cmath.rs delete mode 100644 library/std/src/sys/unix/fs.rs delete mode 100644 library/std/src/sys/unix/mod.rs delete mode 100644 library/std/src/sys/unix/net.rs delete mode 100644 library/std/src/sys/unix/os_str.rs delete mode 100644 library/std/src/sys/unix/process/process_unix/tests.rs delete mode 100644 library/std/src/sys/unix/thread.rs delete mode 100644 library/std/src/sys/unsupported/mod.rs delete mode 100644 library/std/src/sys/unsupported/net.rs delete mode 100644 library/std/src/sys/wasi/mod.rs delete mode 100644 library/std/src/sys/wasi/net.rs delete mode 100644 library/std/src/sys/wasi/os.rs delete mode 100644 library/std/src/sys/wasm/mod.rs delete mode 100644 library/std/src/sys/windows/alloc.rs delete mode 100644 library/std/src/sys/windows/api.rs delete mode 100644 library/std/src/sys/windows/args.rs delete mode 100644 library/std/src/sys/windows/args/tests.rs delete mode 100644 library/std/src/sys/windows/cmath.rs delete mode 100644 library/std/src/sys/windows/fs.rs delete mode 100644 library/std/src/sys/windows/io.rs delete mode 100644 library/std/src/sys/windows/locks/condvar.rs delete mode 100644 library/std/src/sys/windows/mod.rs delete mode 100644 library/std/src/sys/windows/net.rs delete mode 100644 library/std/src/sys/windows/stdio.rs delete mode 100644 library/std/src/sys/xous/alloc.rs delete mode 100644 library/std/src/sys/xous/locks/condvar.rs delete mode 100644 library/std/src/sys/xous/locks/rwlock.rs delete mode 100644 library/std/src/sys/xous/mod.rs delete mode 100644 library/std/src/sys/xous/stdio.rs delete mode 100644 library/std/src/sys/xous/thread.rs delete mode 100644 library/std/src/sys/xous/thread_local_key.rs delete mode 100644 library/std/src/sys/xous/thread_parking.rs rename src/bootstrap/src/{tests/setup.rs => core/build_steps/setup/tests.rs} (100%) rename src/bootstrap/src/{tests/builder.rs => core/builder/tests.rs} (100%) create mode 100644 src/bootstrap/src/core/config/tests.rs delete mode 100644 src/bootstrap/src/tests/config.rs delete mode 100644 src/bootstrap/src/tests/helpers.rs create mode 100644 src/bootstrap/src/utils/change_tracker/tests.rs create mode 100644 src/bootstrap/src/utils/helpers/tests.rs create mode 100644 src/doc/edition-guide/src/rust-2021/c-string-literals.md create mode 100644 src/doc/rustc-dev-guide/src/rustdoc-internals/search.md create mode 100644 src/doc/rustc-dev-guide/src/unsafety-checking.md create mode 100644 src/doc/rustc/src/platform-support/hexagon-unknown-none-elf.md create mode 100644 src/doc/rustc/src/platform-support/riscv32im-risc0-zkvm-elf.md create mode 100644 src/doc/unstable-book/src/compiler-flags/env-set.md delete mode 100644 src/doc/unstable-book/src/compiler-flags/env.md create mode 100644 src/doc/unstable-book/src/compiler-flags/shell-argfiles.md delete mode 100644 src/doc/unstable-book/src/library-features/core-panic.md create mode 100644 src/tools/cargo/crates/cargo-util-schemas/Cargo.toml create mode 120000 src/tools/cargo/crates/cargo-util-schemas/LICENSE-APACHE create mode 120000 src/tools/cargo/crates/cargo-util-schemas/LICENSE-MIT create mode 100644 src/tools/cargo/crates/cargo-util-schemas/src/core/mod.rs rename src/tools/cargo/{src/cargo/util_schemas => crates/cargo-util-schemas/src}/core/package_id_spec.rs (86%) create mode 100644 src/tools/cargo/crates/cargo-util-schemas/src/core/partial_version.rs rename src/tools/cargo/{src/cargo/util_schemas => crates/cargo-util-schemas/src}/core/source_kind.rs (100%) rename src/tools/cargo/{src/cargo/util_schemas/mod.rs => crates/cargo-util-schemas/src/lib.rs} (100%) rename src/tools/cargo/{src/cargo/util_schemas => crates/cargo-util-schemas/src}/manifest.rs (90%) create mode 100644 src/tools/cargo/crates/cargo-util-schemas/src/restricted_names.rs rename src/tools/cargo/crates/rustfix/{Changelog.md => CHANGELOG.md} (100%) rename src/tools/cargo/crates/rustfix/{Readme.md => README.md} (100%) create mode 100644 src/tools/cargo/crates/rustfix/tests/everything/use-insert.fixed.rs create mode 100644 src/tools/cargo/crates/rustfix/tests/everything/use-insert.json create mode 100644 src/tools/cargo/crates/rustfix/tests/everything/use-insert.rs delete mode 100644 src/tools/cargo/src/cargo/util_schemas/core/mod.rs delete mode 100644 src/tools/cargo/src/cargo/util_schemas/restricted_names.rs delete mode 100644 src/tools/cargo/src/cargo/util_semver.rs create mode 100644 src/tools/cargo/src/doc/man/includes/options-output-format.md create mode 100644 src/tools/cargo/tests/testsuite/cargo/z_help/mod.rs create mode 100644 src/tools/cargo/tests/testsuite/cargo/z_help/stderr.log create mode 100644 src/tools/cargo/tests/testsuite/cargo/z_help/stdout.log create mode 120000 src/tools/cargo/tests/testsuite/cargo_add/git_multiple_packages_features/in create mode 100644 src/tools/cargo/tests/testsuite/cargo_add/git_multiple_packages_features/mod.rs create mode 100644 src/tools/cargo/tests/testsuite/cargo_add/git_multiple_packages_features/out/Cargo.toml create mode 100644 src/tools/cargo/tests/testsuite/cargo_add/git_multiple_packages_features/stderr.log create mode 100644 src/tools/cargo/tests/testsuite/cargo_add/git_multiple_packages_features/stdout.log create mode 100644 src/tools/cargo/tests/testsuite/cargo_new/not_inherit_workspace_package_table_if_not_members/out/bar/Cargo.toml rename src/tools/cargo/tests/testsuite/cargo_new/not_inherit_workspace_package_table_if_not_members/out/{foo => bar}/src/main.rs (100%) delete mode 100644 src/tools/cargo/tests/testsuite/cargo_new/not_inherit_workspace_package_table_if_not_members/out/foo/Cargo.toml create mode 100644 src/tools/cargo/tests/testsuite/diagnostics.rs create mode 100644 src/tools/cargo/tests/testsuite/fix_n_times.rs create mode 100644 src/tools/cargo/tests/testsuite/precise_pre_release.rs create mode 100644 src/tools/clippy/book/src/continuous_integration/gitlab.md delete mode 100644 src/tools/clippy/clippy_lints/src/empty_structs_with_brackets.rs create mode 100644 src/tools/clippy/clippy_lints/src/empty_with_brackets.rs create mode 100644 src/tools/clippy/clippy_lints/src/methods/iter_filter.rs create mode 100644 src/tools/clippy/clippy_lints/src/methods/manual_is_variant_and.rs create mode 100644 src/tools/clippy/clippy_lints/src/methods/option_as_ref_cloned.rs create mode 100644 src/tools/clippy/clippy_lints/src/methods/str_split.rs create mode 100644 src/tools/clippy/clippy_lints/src/pub_underscore_fields.rs create mode 100644 src/tools/clippy/clippy_lints/src/thread_local_initializer_can_be_made_const.rs create mode 100644 src/tools/clippy/clippy_lints/src/transmute/eager_transmute.rs create mode 100644 src/tools/clippy/clippy_lints/src/unconditional_recursion.rs create mode 100644 src/tools/clippy/tests/ui-cargo/multiple_crate_versions/12145_with_dashes/Cargo.stderr create mode 100644 src/tools/clippy/tests/ui-cargo/multiple_crate_versions/12145_with_dashes/Cargo.toml create mode 100644 src/tools/clippy/tests/ui-cargo/multiple_crate_versions/12145_with_dashes/src/main.rs create mode 100644 src/tools/clippy/tests/ui-cargo/multiple_crate_versions/12176_allow_duplicate_crates/Cargo.toml create mode 100644 src/tools/clippy/tests/ui-cargo/multiple_crate_versions/12176_allow_duplicate_crates/clippy.toml create mode 100644 src/tools/clippy/tests/ui-cargo/multiple_crate_versions/12176_allow_duplicate_crates/src/main.rs create mode 100644 src/tools/clippy/tests/ui-internal/disallow_span_lint.rs create mode 100644 src/tools/clippy/tests/ui-internal/disallow_span_lint.stderr delete mode 100644 src/tools/clippy/tests/ui-internal/disallow_struct_span_lint.rs delete mode 100644 src/tools/clippy/tests/ui-internal/disallow_struct_span_lint.stderr create mode 100644 src/tools/clippy/tests/ui-toml/pub_underscore_fields/all_pub_fields/clippy.toml create mode 100644 src/tools/clippy/tests/ui-toml/pub_underscore_fields/exported/clippy.toml create mode 100644 src/tools/clippy/tests/ui-toml/pub_underscore_fields/pub_underscore_fields.all_pub_fields.stderr create mode 100644 src/tools/clippy/tests/ui-toml/pub_underscore_fields/pub_underscore_fields.exported.stderr create mode 100644 src/tools/clippy/tests/ui-toml/pub_underscore_fields/pub_underscore_fields.rs create mode 100644 src/tools/clippy/tests/ui/crashes/ice-11939.rs create mode 100644 src/tools/clippy/tests/ui/crashes/ice-12253.rs delete mode 100644 src/tools/clippy/tests/ui/crashes/ice-6254.stderr delete mode 100644 src/tools/clippy/tests/ui/crashes/ice-8821.fixed delete mode 100644 src/tools/clippy/tests/ui/crashes/ice-8821.stderr create mode 100644 src/tools/clippy/tests/ui/default_instead_of_iter_empty_no_std.fixed create mode 100644 src/tools/clippy/tests/ui/default_instead_of_iter_empty_no_std.rs create mode 100644 src/tools/clippy/tests/ui/default_instead_of_iter_empty_no_std.stderr create mode 100644 src/tools/clippy/tests/ui/eager_transmute.fixed create mode 100644 src/tools/clippy/tests/ui/eager_transmute.rs create mode 100644 src/tools/clippy/tests/ui/eager_transmute.stderr create mode 100644 src/tools/clippy/tests/ui/empty_enum_variants_with_brackets.fixed create mode 100644 src/tools/clippy/tests/ui/empty_enum_variants_with_brackets.rs create mode 100644 src/tools/clippy/tests/ui/empty_enum_variants_with_brackets.stderr create mode 100644 src/tools/clippy/tests/ui/iter_filter_is_ok.fixed create mode 100644 src/tools/clippy/tests/ui/iter_filter_is_ok.rs create mode 100644 src/tools/clippy/tests/ui/iter_filter_is_ok.stderr create mode 100644 src/tools/clippy/tests/ui/iter_filter_is_some.fixed create mode 100644 src/tools/clippy/tests/ui/iter_filter_is_some.rs create mode 100644 src/tools/clippy/tests/ui/iter_filter_is_some.stderr create mode 100644 src/tools/clippy/tests/ui/manual_is_variant_and.fixed create mode 100644 src/tools/clippy/tests/ui/manual_is_variant_and.rs create mode 100644 src/tools/clippy/tests/ui/manual_is_variant_and.stderr create mode 100644 src/tools/clippy/tests/ui/mem_replace_no_std.fixed create mode 100644 src/tools/clippy/tests/ui/mem_replace_no_std.rs create mode 100644 src/tools/clippy/tests/ui/mem_replace_no_std.stderr create mode 100644 src/tools/clippy/tests/ui/open_options_fixable.fixed create mode 100644 src/tools/clippy/tests/ui/open_options_fixable.rs create mode 100644 src/tools/clippy/tests/ui/open_options_fixable.stderr create mode 100644 src/tools/clippy/tests/ui/option_as_ref_cloned.fixed create mode 100644 src/tools/clippy/tests/ui/option_as_ref_cloned.rs create mode 100644 src/tools/clippy/tests/ui/option_as_ref_cloned.stderr create mode 100644 src/tools/clippy/tests/ui/ptr_eq_no_std.fixed create mode 100644 src/tools/clippy/tests/ui/ptr_eq_no_std.rs create mode 100644 src/tools/clippy/tests/ui/ptr_eq_no_std.stderr create mode 100644 src/tools/clippy/tests/ui/redundant_pattern_matching_if_let_true.fixed create mode 100644 src/tools/clippy/tests/ui/redundant_pattern_matching_if_let_true.rs create mode 100644 src/tools/clippy/tests/ui/redundant_pattern_matching_if_let_true.stderr create mode 100644 src/tools/clippy/tests/ui/result_filter_map.fixed create mode 100644 src/tools/clippy/tests/ui/result_filter_map.rs create mode 100644 src/tools/clippy/tests/ui/result_filter_map.stderr create mode 100644 src/tools/clippy/tests/ui/str_split.fixed create mode 100644 src/tools/clippy/tests/ui/str_split.rs create mode 100644 src/tools/clippy/tests/ui/str_split.stderr create mode 100644 src/tools/clippy/tests/ui/thread_local_initializer_can_be_made_const.fixed create mode 100644 src/tools/clippy/tests/ui/thread_local_initializer_can_be_made_const.rs create mode 100644 src/tools/clippy/tests/ui/thread_local_initializer_can_be_made_const.stderr create mode 100644 src/tools/clippy/tests/ui/transmute_int_to_char.fixed create mode 100644 src/tools/clippy/tests/ui/transmute_int_to_char.rs create mode 100644 src/tools/clippy/tests/ui/transmute_int_to_char.stderr create mode 100644 src/tools/clippy/tests/ui/transmute_int_to_char_no_std.fixed create mode 100644 src/tools/clippy/tests/ui/transmute_int_to_char_no_std.rs create mode 100644 src/tools/clippy/tests/ui/transmute_int_to_char_no_std.stderr create mode 100644 src/tools/clippy/tests/ui/transmute_ref_to_ref_no_std.rs create mode 100644 src/tools/clippy/tests/ui/transmute_ref_to_ref_no_std.stderr create mode 100644 src/tools/clippy/tests/ui/unconditional_recursion.rs create mode 100644 src/tools/clippy/tests/ui/unconditional_recursion.stderr create mode 100644 src/tools/clippy/tests/ui/unnecessary_to_owned_on_split.fixed create mode 100644 src/tools/clippy/tests/ui/unnecessary_to_owned_on_split.rs create mode 100644 src/tools/clippy/tests/ui/unnecessary_to_owned_on_split.stderr delete mode 100644 src/tools/rust-analyzer/crates/base-db/src/fixture.rs delete mode 100644 src/tools/rust-analyzer/crates/base-db/src/span.rs create mode 100644 src/tools/rust-analyzer/crates/hir-expand/src/change.rs create mode 100644 src/tools/rust-analyzer/crates/hir-expand/src/declarative.rs delete mode 100644 src/tools/rust-analyzer/crates/hir-expand/src/span.rs create mode 100644 src/tools/rust-analyzer/crates/hir-expand/src/span_map.rs delete mode 100644 src/tools/rust-analyzer/crates/hir-ty/src/diagnostics/match_check/deconstruct_pat.rs create mode 100644 src/tools/rust-analyzer/crates/hir-ty/src/diagnostics/match_check/pat_analysis.rs delete mode 100644 src/tools/rust-analyzer/crates/hir-ty/src/diagnostics/match_check/usefulness.rs create mode 100644 src/tools/rust-analyzer/crates/ide-assists/src/handlers/merge_nested_if.rs create mode 100644 src/tools/rust-analyzer/crates/ide-completion/src/completions/attribute/macro_use.rs create mode 100644 src/tools/rust-analyzer/crates/ide-diagnostics/src/handlers/unresolved_assoc_item.rs create mode 100644 src/tools/rust-analyzer/crates/ide/src/inlay_hints/range_exclusive.rs delete mode 100644 src/tools/rust-analyzer/crates/mbe/src/token_map.rs create mode 100644 src/tools/rust-analyzer/crates/parser/test_data/parser/inline/err/0026_macro_rules_as_macro_name.rast create mode 100644 src/tools/rust-analyzer/crates/parser/test_data/parser/inline/err/0026_macro_rules_as_macro_name.rs create mode 100644 src/tools/rust-analyzer/crates/parser/test_data/parser/inline/err/0026_use_tree_list_err_recovery.rast create mode 100644 src/tools/rust-analyzer/crates/parser/test_data/parser/inline/err/0026_use_tree_list_err_recovery.rs create mode 100644 src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/0208_closure_range_method_call.rast create mode 100644 src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/0208_closure_range_method_call.rs create mode 100644 src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/0208_macro_rules_as_macro_name.rast create mode 100644 src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/0208_macro_rules_as_macro_name.rs create mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/proc-macro-test/Cargo.toml create mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/proc-macro-test/build.rs create mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/proc-macro-test/imp/Cargo.toml create mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/proc-macro-test/imp/src/lib.rs rename src/tools/rust-analyzer/crates/{ => proc-macro-srv}/proc-macro-test/src/lib.rs (100%) create mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/src/server/rust_analyzer_span.rs create mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/src/server/token_id.rs delete mode 100644 src/tools/rust-analyzer/crates/proc-macro-test/Cargo.toml delete mode 100644 src/tools/rust-analyzer/crates/proc-macro-test/build.rs delete mode 100644 src/tools/rust-analyzer/crates/proc-macro-test/imp/Cargo.toml delete mode 100644 src/tools/rust-analyzer/crates/proc-macro-test/imp/src/lib.rs delete mode 100644 src/tools/rust-analyzer/crates/rustc-dependencies/Cargo.toml delete mode 100644 src/tools/rust-analyzer/crates/rustc-dependencies/src/lib.rs create mode 100644 src/tools/rust-analyzer/crates/span/Cargo.toml create mode 100644 src/tools/rust-analyzer/crates/span/src/lib.rs create mode 100644 src/tools/rust-analyzer/crates/span/src/map.rs create mode 100644 src/tools/rust-analyzer/crates/test-fixture/Cargo.toml create mode 100644 src/tools/rust-analyzer/crates/test-fixture/src/lib.rs create mode 100644 src/tools/rust-analyzer/lib/line-index/README.md create mode 100644 src/tools/rustfmt/tests/source/macros/rewrite-const-item.rs create mode 100644 src/tools/rustfmt/tests/target/macros/rewrite-const-item.rs create mode 100644 src/tools/tidy/src/target_policy.rs create mode 100644 tests/assembly/targets/targets-elf.rs create mode 100644 tests/assembly/targets/targets-macho.rs create mode 100644 tests/assembly/targets/targets-nvptx.rs create mode 100644 tests/assembly/targets/targets-pe.rs create mode 100644 tests/codegen/i128-x86-align.rs create mode 100644 tests/codegen/infallible-unwrap-in-opt-z.rs create mode 100644 tests/codegen/is_val_statically_known.rs create mode 100644 tests/codegen/issues/issue-119422.rs create mode 100644 tests/codegen/maybeuninit-rvo.rs create mode 100644 tests/codegen/vec-iter.rs create mode 100644 tests/coverage/bench.cov-map create mode 100644 tests/coverage/bench.coverage create mode 100644 tests/coverage/bench.rs create mode 100644 tests/coverage/color.coverage create mode 100644 tests/coverage/color.rs create mode 100644 tests/coverage/ignore_map.coverage create mode 100644 tests/coverage/ignore_map.rs create mode 100644 tests/coverage/ignore_run.cov-map create mode 100644 tests/coverage/ignore_run.rs create mode 100644 tests/coverage/unicode.cov-map create mode 100644 tests/coverage/unicode.coverage create mode 100644 tests/coverage/unicode.rs create mode 100644 tests/debuginfo/collapse-debuginfo-external-attr.rs create mode 100644 tests/debuginfo/collapse-debuginfo-external-flag-overriden-by-attr.rs create mode 100644 tests/debuginfo/collapse-debuginfo-external-flag.rs create mode 100644 tests/debuginfo/collapse-debuginfo-in-non-collapse-macro.rs create mode 100644 tests/debuginfo/collapse-debuginfo-with-yes-flag.rs create mode 100644 tests/debuginfo/skip_second_statement.rs create mode 100644 tests/debuginfo/skip_second_statement_collapse.rs create mode 100644 tests/mir-opt/building/custom/assume.assume_constant.built.after.mir create mode 100644 tests/mir-opt/building/custom/assume.assume_local.built.after.mir create mode 100644 tests/mir-opt/building/custom/assume.assume_place.built.after.mir create mode 100644 tests/mir-opt/building/custom/assume.rs delete mode 100644 tests/mir-opt/const_allocation.main.ConstProp.after.32bit.mir delete mode 100644 tests/mir-opt/const_allocation.main.ConstProp.after.64bit.mir create mode 100644 tests/mir-opt/const_allocation.main.GVN.after.32bit.mir create mode 100644 tests/mir-opt/const_allocation.main.GVN.after.64bit.mir delete mode 100644 tests/mir-opt/const_allocation2.main.ConstProp.after.32bit.mir delete mode 100644 tests/mir-opt/const_allocation2.main.ConstProp.after.64bit.mir create mode 100644 tests/mir-opt/const_allocation2.main.GVN.after.32bit.mir create mode 100644 tests/mir-opt/const_allocation2.main.GVN.after.64bit.mir delete mode 100644 tests/mir-opt/const_allocation3.main.ConstProp.after.32bit.mir delete mode 100644 tests/mir-opt/const_allocation3.main.ConstProp.after.64bit.mir create mode 100644 tests/mir-opt/const_allocation3.main.GVN.after.32bit.mir create mode 100644 tests/mir-opt/const_allocation3.main.GVN.after.64bit.mir delete mode 100644 tests/mir-opt/const_prop/address_of_pair.fn0.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/address_of_pair.fn0.GVN.diff delete mode 100644 tests/mir-opt/const_prop/aggregate.foo.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/aggregate.foo.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/aggregate.foo.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/aggregate.foo.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/aggregate.main.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/aggregate.main.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/aggregate.main.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/aggregate.main.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/array_index.main.ConstProp.32bit.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/array_index.main.ConstProp.32bit.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/array_index.main.ConstProp.64bit.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/array_index.main.ConstProp.64bit.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/array_index.main.GVN.32bit.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/array_index.main.GVN.32bit.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/array_index.main.GVN.64bit.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/array_index.main.GVN.64bit.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/bad_op_div_by_zero.main.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/bad_op_div_by_zero.main.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/bad_op_div_by_zero.main.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/bad_op_div_by_zero.main.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/bad_op_mod_by_zero.main.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/bad_op_mod_by_zero.main.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/bad_op_mod_by_zero.main.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/bad_op_mod_by_zero.main.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/bad_op_unsafe_oob_for_slices.main.ConstProp.32bit.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/bad_op_unsafe_oob_for_slices.main.ConstProp.32bit.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/bad_op_unsafe_oob_for_slices.main.ConstProp.64bit.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/bad_op_unsafe_oob_for_slices.main.ConstProp.64bit.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/bad_op_unsafe_oob_for_slices.main.GVN.32bit.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/bad_op_unsafe_oob_for_slices.main.GVN.32bit.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/bad_op_unsafe_oob_for_slices.main.GVN.64bit.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/bad_op_unsafe_oob_for_slices.main.GVN.64bit.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/boolean_identities.test.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/boolean_identities.test.GVN.diff delete mode 100644 tests/mir-opt/const_prop/boxes.main.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/boxes.main.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/boxes.main.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/boxes.main.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/cast.main.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/cast.main.GVN.diff delete mode 100644 tests/mir-opt/const_prop/checked_add.main.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/checked_add.main.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/checked_add.main.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/checked_add.main.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/control_flow_simplification.hello.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/control_flow_simplification.hello.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/discriminant.main.ConstProp.32bit.diff delete mode 100644 tests/mir-opt/const_prop/discriminant.main.ConstProp.64bit.diff create mode 100644 tests/mir-opt/const_prop/discriminant.main.GVN.32bit.diff create mode 100644 tests/mir-opt/const_prop/discriminant.main.GVN.64bit.diff delete mode 100644 tests/mir-opt/const_prop/indirect.main.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/indirect.main.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/indirect.main.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/indirect.main.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/indirect_mutation.bar.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/indirect_mutation.bar.GVN.diff delete mode 100644 tests/mir-opt/const_prop/indirect_mutation.foo.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/indirect_mutation.foo.GVN.diff delete mode 100644 tests/mir-opt/const_prop/inherit_overflow.main.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/inherit_overflow.main.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/inherit_overflow.main.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/inherit_overflow.main.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/invalid_constant.main.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/invalid_constant.main.GVN.diff delete mode 100644 tests/mir-opt/const_prop/issue_66971.main.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/issue_66971.main.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/issue_66971.main.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/issue_66971.main.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/issue_67019.main.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/issue_67019.main.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/issue_67019.main.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/issue_67019.main.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/large_array_index.main.ConstProp.32bit.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/large_array_index.main.ConstProp.32bit.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/large_array_index.main.ConstProp.64bit.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/large_array_index.main.ConstProp.64bit.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/large_array_index.main.GVN.32bit.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/large_array_index.main.GVN.32bit.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/large_array_index.main.GVN.64bit.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/large_array_index.main.GVN.64bit.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/mult_by_zero.test.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/mult_by_zero.test.GVN.diff delete mode 100644 tests/mir-opt/const_prop/mutable_variable.main.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/mutable_variable.main.GVN.diff delete mode 100644 tests/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/mutable_variable_aggregate.main.GVN.diff delete mode 100644 tests/mir-opt/const_prop/mutable_variable_aggregate_mut_ref.main.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/mutable_variable_aggregate_mut_ref.main.GVN.diff delete mode 100644 tests/mir-opt/const_prop/mutable_variable_aggregate_partial_read.main.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/mutable_variable_aggregate_partial_read.main.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/mutable_variable_aggregate_partial_read.main.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/mutable_variable_aggregate_partial_read.main.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/mutable_variable_no_prop.main.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/mutable_variable_no_prop.main.GVN.diff delete mode 100644 tests/mir-opt/const_prop/mutable_variable_unprop_assign.main.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/mutable_variable_unprop_assign.main.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/mutable_variable_unprop_assign.main.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/mutable_variable_unprop_assign.main.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/offset_of.concrete.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/offset_of.concrete.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/offset_of.concrete.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/offset_of.concrete.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/offset_of.generic.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/offset_of.generic.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/offset_of.generic.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/offset_of.generic.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/overwrite_with_const_with_params.size_of.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/overwrite_with_const_with_params.size_of.GVN.diff delete mode 100644 tests/mir-opt/const_prop/pointer_expose_address.main.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/pointer_expose_address.main.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/pointer_expose_address.main.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/pointer_expose_address.main.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/read_immutable_static.main.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/read_immutable_static.main.GVN.diff delete mode 100644 tests/mir-opt/const_prop/ref_deref.main.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/ref_deref.main.GVN.diff delete mode 100644 tests/mir-opt/const_prop/ref_deref_project.main.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/ref_deref_project.main.GVN.diff delete mode 100644 tests/mir-opt/const_prop/reify_fn_ptr.main.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/reify_fn_ptr.main.GVN.diff delete mode 100644 tests/mir-opt/const_prop/repeat.main.ConstProp.32bit.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/repeat.main.ConstProp.32bit.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/repeat.main.ConstProp.64bit.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/repeat.main.ConstProp.64bit.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/repeat.main.GVN.32bit.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/repeat.main.GVN.32bit.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/repeat.main.GVN.64bit.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/repeat.main.GVN.64bit.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/return_place.add.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/return_place.add.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/return_place.add.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/return_place.add.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/scalar_literal_propagation.main.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/scalar_literal_propagation.main.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/scalar_literal_propagation.main.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/scalar_literal_propagation.main.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/slice_len.main.ConstProp.32bit.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/slice_len.main.ConstProp.32bit.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/slice_len.main.ConstProp.64bit.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/slice_len.main.ConstProp.64bit.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/slice_len.main.GVN.32bit.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/slice_len.main.GVN.32bit.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/slice_len.main.GVN.64bit.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/slice_len.main.GVN.64bit.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/switch_int.main.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/switch_int.main.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/switch_int.main.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/switch_int.main.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/transmute.from_char.ConstProp.32bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.from_char.ConstProp.64bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.from_char.GVN.32bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.from_char.GVN.64bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.invalid_bool.ConstProp.32bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.invalid_bool.ConstProp.64bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.invalid_bool.GVN.32bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.invalid_bool.GVN.64bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.invalid_char.ConstProp.32bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.invalid_char.ConstProp.64bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.invalid_char.GVN.32bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.invalid_char.GVN.64bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.less_as_i8.ConstProp.32bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.less_as_i8.ConstProp.64bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.less_as_i8.GVN.32bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.less_as_i8.GVN.64bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.undef_union_as_integer.ConstProp.32bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.undef_union_as_integer.ConstProp.64bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.undef_union_as_integer.GVN.32bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.undef_union_as_integer.GVN.64bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.unreachable_box.ConstProp.32bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.unreachable_box.ConstProp.64bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.unreachable_box.GVN.32bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.unreachable_box.GVN.64bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.unreachable_direct.ConstProp.32bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.unreachable_direct.ConstProp.64bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.unreachable_direct.GVN.32bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.unreachable_direct.GVN.64bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.unreachable_mut.ConstProp.32bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.unreachable_mut.ConstProp.64bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.unreachable_mut.GVN.32bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.unreachable_mut.GVN.64bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.unreachable_ref.ConstProp.32bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.unreachable_ref.ConstProp.64bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.unreachable_ref.GVN.32bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.unreachable_ref.GVN.64bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.valid_char.ConstProp.32bit.diff delete mode 100644 tests/mir-opt/const_prop/transmute.valid_char.ConstProp.64bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.valid_char.GVN.32bit.diff create mode 100644 tests/mir-opt/const_prop/transmute.valid_char.GVN.64bit.diff delete mode 100644 tests/mir-opt/const_prop/tuple_literal_propagation.main.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/const_prop/tuple_literal_propagation.main.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/const_prop/tuple_literal_propagation.main.GVN.panic-abort.diff create mode 100644 tests/mir-opt/const_prop/tuple_literal_propagation.main.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/const_prop/while_let_loops.change_loop_body.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/while_let_loops.change_loop_body.GVN.diff delete mode 100644 tests/mir-opt/dataflow-const-prop/default_boxed_slice.main.ConstProp.32bit.panic-abort.diff delete mode 100644 tests/mir-opt/dataflow-const-prop/default_boxed_slice.main.ConstProp.32bit.panic-unwind.diff delete mode 100644 tests/mir-opt/dataflow-const-prop/default_boxed_slice.main.ConstProp.64bit.panic-abort.diff delete mode 100644 tests/mir-opt/dataflow-const-prop/default_boxed_slice.main.ConstProp.64bit.panic-unwind.diff create mode 100644 tests/mir-opt/dataflow-const-prop/default_boxed_slice.main.GVN.32bit.panic-abort.diff create mode 100644 tests/mir-opt/dataflow-const-prop/default_boxed_slice.main.GVN.32bit.panic-unwind.diff create mode 100644 tests/mir-opt/dataflow-const-prop/default_boxed_slice.main.GVN.64bit.panic-abort.diff create mode 100644 tests/mir-opt/dataflow-const-prop/default_boxed_slice.main.GVN.64bit.panic-unwind.diff create mode 100644 tests/mir-opt/dead-store-elimination/call_arg_copy.move_packed.DeadStoreElimination-final.panic-abort.diff create mode 100644 tests/mir-opt/dead-store-elimination/call_arg_copy.move_packed.DeadStoreElimination-final.panic-unwind.diff delete mode 100644 tests/mir-opt/dead-store-elimination/call_arg_copy.move_packed.DeadStoreElimination.panic-abort.diff delete mode 100644 tests/mir-opt/dead-store-elimination/call_arg_copy.move_packed.DeadStoreElimination.panic-unwind.diff create mode 100644 tests/mir-opt/dead-store-elimination/call_arg_copy.move_simple.DeadStoreElimination-final.panic-abort.diff create mode 100644 tests/mir-opt/dead-store-elimination/call_arg_copy.move_simple.DeadStoreElimination-final.panic-unwind.diff delete mode 100644 tests/mir-opt/dead-store-elimination/call_arg_copy.move_simple.DeadStoreElimination.panic-abort.diff delete mode 100644 tests/mir-opt/dead-store-elimination/call_arg_copy.move_simple.DeadStoreElimination.panic-unwind.diff create mode 100644 tests/mir-opt/dead-store-elimination/cycle.cycle.DeadStoreElimination-initial.diff delete mode 100644 tests/mir-opt/dead-store-elimination/cycle.cycle.DeadStoreElimination.diff create mode 100644 tests/mir-opt/dead-store-elimination/place_mention.main.DeadStoreElimination-initial.diff delete mode 100644 tests/mir-opt/dead-store-elimination/place_mention.main.DeadStoreElimination.diff create mode 100644 tests/mir-opt/dead-store-elimination/provenance_soundness.pointer_to_int.DeadStoreElimination-initial.diff delete mode 100644 tests/mir-opt/dead-store-elimination/provenance_soundness.pointer_to_int.DeadStoreElimination.diff create mode 100644 tests/mir-opt/dead-store-elimination/provenance_soundness.retags.DeadStoreElimination-initial.diff delete mode 100644 tests/mir-opt/dead-store-elimination/provenance_soundness.retags.DeadStoreElimination.diff delete mode 100644 tests/mir-opt/dest-prop/unreachable.f.DestinationPropagation.panic-abort.diff delete mode 100644 tests/mir-opt/dest-prop/unreachable.f.DestinationPropagation.panic-unwind.diff delete mode 100644 tests/mir-opt/dest-prop/unreachable.rs delete mode 100644 tests/mir-opt/funky_arms.float_to_exponential_common.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/funky_arms.float_to_exponential_common.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/funky_arms.float_to_exponential_common.GVN.panic-abort.diff create mode 100644 tests/mir-opt/funky_arms.float_to_exponential_common.GVN.panic-unwind.diff create mode 100644 tests/mir-opt/gvn.unary.GVN.panic-abort.diff create mode 100644 tests/mir-opt/gvn.unary.GVN.panic-unwind.diff create mode 100644 tests/mir-opt/gvn.wide_ptr_ops.GVN.panic-abort.diff create mode 100644 tests/mir-opt/gvn.wide_ptr_ops.GVN.panic-unwind.diff create mode 100644 tests/mir-opt/gvn_uninhabited.f.GVN.panic-abort.diff create mode 100644 tests/mir-opt/gvn_uninhabited.f.GVN.panic-unwind.diff create mode 100644 tests/mir-opt/gvn_uninhabited.rs delete mode 100644 tests/mir-opt/issue_101973.inner.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/issue_101973.inner.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/issue_101973.inner.GVN.panic-abort.diff create mode 100644 tests/mir-opt/issue_101973.inner.GVN.panic-unwind.diff create mode 100644 tests/mir-opt/jump_threading.aggregate.JumpThreading.panic-abort.diff create mode 100644 tests/mir-opt/jump_threading.aggregate.JumpThreading.panic-unwind.diff create mode 100644 tests/mir-opt/jump_threading.assume.JumpThreading.panic-abort.diff create mode 100644 tests/mir-opt/jump_threading.assume.JumpThreading.panic-unwind.diff delete mode 100644 tests/mir-opt/pre-codegen/optimizes_into_variable.main.ConstProp.32bit.panic-abort.diff delete mode 100644 tests/mir-opt/pre-codegen/optimizes_into_variable.main.ConstProp.32bit.panic-unwind.diff delete mode 100644 tests/mir-opt/pre-codegen/optimizes_into_variable.main.ConstProp.64bit.panic-abort.diff delete mode 100644 tests/mir-opt/pre-codegen/optimizes_into_variable.main.ConstProp.64bit.panic-unwind.diff create mode 100644 tests/mir-opt/pre-codegen/optimizes_into_variable.main.GVN.32bit.panic-abort.diff create mode 100644 tests/mir-opt/pre-codegen/optimizes_into_variable.main.GVN.32bit.panic-unwind.diff create mode 100644 tests/mir-opt/pre-codegen/optimizes_into_variable.main.GVN.64bit.panic-abort.diff create mode 100644 tests/mir-opt/pre-codegen/optimizes_into_variable.main.GVN.64bit.panic-unwind.diff create mode 100644 tests/mir-opt/set_no_discriminant.f.JumpThreading.diff create mode 100644 tests/mir-opt/set_no_discriminant.generic.JumpThreading.diff create mode 100644 tests/mir-opt/set_no_discriminant.rs delete mode 100644 tests/mir-opt/simplify_match.main.ConstProp.panic-abort.diff delete mode 100644 tests/mir-opt/simplify_match.main.ConstProp.panic-unwind.diff create mode 100644 tests/mir-opt/simplify_match.main.GVN.panic-abort.diff create mode 100644 tests/mir-opt/simplify_match.main.GVN.panic-unwind.diff delete mode 100644 tests/mir-opt/spanview_block.main.built.after.html delete mode 100644 tests/mir-opt/spanview_block.rs delete mode 100644 tests/mir-opt/spanview_statement.main.built.after.html delete mode 100644 tests/mir-opt/spanview_statement.rs delete mode 100644 tests/mir-opt/spanview_terminator.main.built.after.html delete mode 100644 tests/mir-opt/spanview_terminator.rs create mode 100644 tests/pretty/delegation.rs create mode 100644 tests/run-make/libtest-padding/Makefile create mode 100644 tests/run-make/libtest-padding/bench.stdout create mode 100644 tests/run-make/libtest-padding/test.stdout create mode 100644 tests/run-make/libtest-padding/tests.rs create mode 100644 tests/run-make/symbol-mangling-hashed/Makefile create mode 100644 tests/run-make/symbol-mangling-hashed/a_dylib.rs create mode 100644 tests/run-make/symbol-mangling-hashed/a_rlib.rs create mode 100644 tests/run-make/symbol-mangling-hashed/b_bin.rs create mode 100644 tests/run-make/symbol-mangling-hashed/b_dylib.rs create mode 100644 tests/rustdoc-gui/headings-anchor.goml create mode 100644 tests/rustdoc-gui/sidebar-resize-close-popover.goml create mode 100644 tests/rustdoc-js-std/parser-tuple.js create mode 100644 tests/rustdoc-js-std/path-maxeditdistance.js create mode 100644 tests/rustdoc-js/path-maxeditdistance.js create mode 100644 tests/rustdoc-js/path-maxeditdistance.rs create mode 100644 tests/rustdoc-js/tuple-unit.js create mode 100644 tests/rustdoc-js/tuple-unit.rs create mode 100644 tests/rustdoc-json/traits/is_object_safe.rs create mode 100644 tests/rustdoc-ui/ice-blanket-impl-52873.rs create mode 100644 tests/rustdoc-ui/ice-blanket-impl-selection-55001.rs create mode 100644 tests/rustdoc/auto-trait-bounds-by-associated-type-50159.rs create mode 100644 tests/rustdoc/auto-trait-bounds-inference-variables-54705.rs create mode 100644 tests/rustdoc/auto-trait-bounds-where-51236.rs create mode 100644 tests/rustdoc/auto-trait-negative-impl-55321.rs create mode 100644 tests/rustdoc/blank-line-in-doc-block-47197.rs create mode 100644 tests/rustdoc/demo-allocator-54478.rs create mode 100644 tests/rustdoc/deref-mut-35169-2.rs create mode 100644 tests/rustdoc/deref-mut-35169.rs create mode 100644 tests/rustdoc/doc-attr-comment-mix-42760.rs rename tests/rustdoc/{issue-41783.codeblock.html => doctest/doctest-escape-boring-41783.codeblock.html} (100%) create mode 100644 tests/rustdoc/doctest/doctest-escape-boring-41783.rs create mode 100644 tests/rustdoc/enum-variant-reexport-35488.rs create mode 100644 tests/rustdoc/footnote-definition-without-blank-line-100638.rs create mode 100644 tests/rustdoc/glob-reexport-attribute-merge-120487.rs create mode 100644 tests/rustdoc/impl-blanket-53689.rs create mode 100644 tests/rustdoc/impl-on-ty-alias-issue-119015.rs create mode 100644 tests/rustdoc/impl-trait-43869.rs rename tests/rustdoc/{ => inline_cross}/auxiliary/issue-46727.rs (100%) create mode 100644 tests/rustdoc/inline_cross/auxiliary/u_default_generic_args.rs create mode 100644 tests/rustdoc/inline_cross/const-eval-46727.rs create mode 100644 tests/rustdoc/intra-doc/module-scope-name-resolution-55364.rs delete mode 100644 tests/rustdoc/issue-35169-2.rs delete mode 100644 tests/rustdoc/issue-35169.rs delete mode 100644 tests/rustdoc/issue-35488.rs delete mode 100644 tests/rustdoc/issue-41783.rs delete mode 100644 tests/rustdoc/issue-42760.rs delete mode 100644 tests/rustdoc/issue-43869.rs delete mode 100644 tests/rustdoc/issue-46377.rs delete mode 100644 tests/rustdoc/issue-46380-2.rs delete mode 100644 tests/rustdoc/issue-46727.rs delete mode 100644 tests/rustdoc/issue-47197-blank-line-in-doc-block.rs delete mode 100644 tests/rustdoc/issue-50159.rs delete mode 100644 tests/rustdoc/issue-51236.rs delete mode 100644 tests/rustdoc/issue-52873.rs delete mode 100644 tests/rustdoc/issue-53689.rs delete mode 100644 tests/rustdoc/issue-53812.rs delete mode 100644 tests/rustdoc/issue-54478-demo-allocator.rs delete mode 100644 tests/rustdoc/issue-54705.rs delete mode 100644 tests/rustdoc/issue-55001.rs delete mode 100644 tests/rustdoc/issue-55321.rs delete mode 100644 tests/rustdoc/issue-55364.rs create mode 100644 tests/rustdoc/jump-to-def-doc-links-calls.rs create mode 100644 tests/rustdoc/links-in-headings.rs create mode 100644 tests/rustdoc/public-impl-mention-private-generic-46380-2.rs create mode 100644 tests/rustdoc/sort-53812.rs create mode 100644 tests/rustdoc/summary-header-46377.rs create mode 100644 tests/ui-fulldeps/stable-mir/check_trait_queries.rs create mode 100644 tests/ui/abi/statics/static-mut-foreign.stderr create mode 100644 tests/ui/anon-params/anon-params-edition-hygiene.stderr delete mode 100644 tests/ui/asm/bad-arch.mirunsafeck.stderr create mode 100644 tests/ui/asm/bad-arch.stderr delete mode 100644 tests/ui/asm/bad-arch.thirunsafeck.stderr create mode 100644 tests/ui/asm/bad-template.aarch64.stderr delete mode 100644 tests/ui/asm/bad-template.aarch64_mirunsafeck.stderr delete mode 100644 tests/ui/asm/bad-template.aarch64_thirunsafeck.stderr create mode 100644 tests/ui/asm/bad-template.x86_64.stderr delete mode 100644 tests/ui/asm/bad-template.x86_64_mirunsafeck.stderr delete mode 100644 tests/ui/asm/bad-template.x86_64_thirunsafeck.stderr create mode 100644 tests/ui/asm/inline-syntax.arm_llvm_18.stderr create mode 100644 tests/ui/associated-type-bounds/return-type-notation/issue-120208-higher-ranked-const.rs create mode 100644 tests/ui/associated-type-bounds/return-type-notation/issue-120208-higher-ranked-const.stderr create mode 100644 tests/ui/associated-types/impl-wf-cycle-3.rs create mode 100644 tests/ui/associated-types/impl-wf-cycle-3.stderr create mode 100644 tests/ui/associated-types/impl-wf-cycle-4.rs create mode 100644 tests/ui/associated-types/impl-wf-cycle-4.stderr create mode 100644 tests/ui/associated-types/impl-wf-cycle-5.fixed create mode 100644 tests/ui/associated-types/impl-wf-cycle-5.rs create mode 100644 tests/ui/associated-types/impl-wf-cycle-5.stderr create mode 100644 tests/ui/associated-types/impl-wf-cycle-6.fixed create mode 100644 tests/ui/associated-types/impl-wf-cycle-6.rs create mode 100644 tests/ui/associated-types/impl-wf-cycle-6.stderr delete mode 100644 tests/ui/async-await/async-borrowck-escaping-closure-error.stderr create mode 100644 tests/ui/async-await/async-closures/def-path.rs create mode 100644 tests/ui/async-await/async-closures/def-path.stderr create mode 100644 tests/ui/async-await/async-closures/higher-ranked.rs create mode 100644 tests/ui/async-await/async-closures/higher-ranked.stderr create mode 100644 tests/ui/async-await/async-fn/simple.rs delete mode 100644 tests/ui/async-await/async-unsafe-fn-call-in-safe.mir.stderr create mode 100644 tests/ui/async-await/async-unsafe-fn-call-in-safe.stderr delete mode 100644 tests/ui/async-await/async-unsafe-fn-call-in-safe.thir.stderr create mode 100644 tests/ui/async-await/feature-async-for-loop.rs create mode 100644 tests/ui/async-await/feature-async-for-loop.stderr create mode 100644 tests/ui/async-await/for-await-2015.rs create mode 100644 tests/ui/async-await/for-await-consumes-iter.rs create mode 100644 tests/ui/async-await/for-await-consumes-iter.stderr create mode 100644 tests/ui/async-await/for-await-passthrough.rs create mode 100644 tests/ui/async-await/for-await.rs create mode 100644 tests/ui/async-await/in-trait/returning-possibly-unsized-self.rs create mode 100644 tests/ui/async-await/inference_var_self_argument.rs create mode 100644 tests/ui/async-await/inference_var_self_argument.stderr delete mode 100644 tests/ui/async-await/no-params-non-move-async-closure.stderr delete mode 100644 tests/ui/binop/binary-op-suggest-deref.fixed create mode 100644 tests/ui/borrowck/borrowck-unsafe-static-mutable-borrows.stderr create mode 100644 tests/ui/borrowck/fn-item-check-trait-ref.rs create mode 100644 tests/ui/borrowck/fn-item-check-trait-ref.stderr create mode 100644 tests/ui/borrowck/fn-item-check-type-params.rs create mode 100644 tests/ui/borrowck/fn-item-check-type-params.stderr create mode 100644 tests/ui/borrowck/issue-119915-bad-clone-suggestion.rs create mode 100644 tests/ui/borrowck/issue-119915-bad-clone-suggestion.stderr create mode 100644 tests/ui/cast/cast-to-slice.rs create mode 100644 tests/ui/cast/cast-to-slice.stderr create mode 100644 tests/ui/check-cfg/empty-values.rs create mode 100644 tests/ui/check-cfg/empty-values.stderr create mode 100644 tests/ui/check-cfg/invalid-arguments.cfg_none.stderr create mode 100644 tests/ui/check-cfg/invalid-arguments.none_not_empty.stderr create mode 100644 tests/ui/check-cfg/values-none.explicit.stderr create mode 100644 tests/ui/check-cfg/values-none.implicit.stderr create mode 100644 tests/ui/check-cfg/values-none.rs create mode 100644 tests/ui/closures/binder/bounds-on-closure-type-binders.rs create mode 100644 tests/ui/closures/binder/bounds-on-closure-type-binders.stderr delete mode 100644 tests/ui/closures/closure_no_cap_coerce_many_unsafe_0.mir.stderr create mode 100644 tests/ui/closures/closure_no_cap_coerce_many_unsafe_0.stderr delete mode 100644 tests/ui/closures/closure_no_cap_coerce_many_unsafe_0.thir.stderr delete mode 100644 tests/ui/closures/coerce-unsafe-closure-to-unsafe-fn-ptr.mir.stderr create mode 100644 tests/ui/closures/coerce-unsafe-closure-to-unsafe-fn-ptr.stderr delete mode 100644 tests/ui/closures/coerce-unsafe-closure-to-unsafe-fn-ptr.thir.stderr delete mode 100644 tests/ui/closures/issue-112547.rs delete mode 100644 tests/ui/closures/issue-112547.stderr create mode 100644 tests/ui/codegen/mismatched-data-layout.json create mode 100644 tests/ui/codegen/mismatched-data-layouts.rs create mode 100644 tests/ui/codegen/mismatched-data-layouts.stderr delete mode 100644 tests/ui/command/command-create-pidfd.rs create mode 100644 tests/ui/const-generics/default-ty-closure.rs create mode 100644 tests/ui/const-generics/default-ty-closure.stderr create mode 100644 tests/ui/consts/const-assert-unchecked-ub.rs create mode 100644 tests/ui/consts/const-assert-unchecked-ub.stderr create mode 100644 tests/ui/consts/const-err-enum-discriminant.rs create mode 100644 tests/ui/consts/const-err-enum-discriminant.stderr delete mode 100644 tests/ui/consts/const-err4.32bit.stderr delete mode 100644 tests/ui/consts/const-err4.64bit.stderr delete mode 100644 tests/ui/consts/const-err4.rs delete mode 100644 tests/ui/consts/const-eval/heap/alloc_intrinsic_nontransient_fail.rs delete mode 100644 tests/ui/consts/const-eval/heap/alloc_intrinsic_nontransient_fail.stderr delete mode 100644 tests/ui/consts/const-eval/ub-enum.32bit.stderr delete mode 100644 tests/ui/consts/const-eval/ub-enum.64bit.stderr create mode 100644 tests/ui/consts/const-eval/ub-enum.stderr create mode 100644 tests/ui/consts/const-extern-fn/const-extern-fn-requires-unsafe.stderr delete mode 100644 tests/ui/consts/const-float-classify.stderr delete mode 100644 tests/ui/consts/const-points-to-static.32bit.stderr delete mode 100644 tests/ui/consts/const-points-to-static.64bit.stderr delete mode 100644 tests/ui/consts/const-points-to-static.rs delete mode 100644 tests/ui/consts/const_in_pattern/issue-78057.rs delete mode 100644 tests/ui/consts/const_in_pattern/issue-78057.stderr create mode 100644 tests/ui/consts/const_in_pattern/null-raw-ptr-issue-119270.rs create mode 100644 tests/ui/consts/const_let_assign2.stderr create mode 100644 tests/ui/consts/future-incompat-mutable-in-final-value-issue-121610.rs create mode 100644 tests/ui/consts/future-incompat-mutable-in-final-value-issue-121610.stderr create mode 100644 tests/ui/consts/interior-mut-const-via-union.32bit.stderr create mode 100644 tests/ui/consts/interior-mut-const-via-union.64bit.stderr rename tests/ui/consts/{invalid-union.rs => interior-mut-const-via-union.rs} (100%) delete mode 100644 tests/ui/consts/invalid-union.32bit.stderr delete mode 100644 tests/ui/consts/invalid-union.64bit.stderr create mode 100644 tests/ui/consts/is_val_statically_known.rs delete mode 100644 tests/ui/consts/issue-16538.mir.stderr create mode 100644 tests/ui/consts/issue-16538.stderr delete mode 100644 tests/ui/consts/issue-16538.thir.stderr create mode 100644 tests/ui/consts/let-irrefutable-pattern-ice-120337.rs delete mode 100644 tests/ui/consts/miri_unleashed/raw_mutable_const.rs delete mode 100644 tests/ui/consts/miri_unleashed/raw_mutable_const.stderr create mode 100644 tests/ui/consts/miri_unleashed/static-no-inner-mut.32bit.stderr create mode 100644 tests/ui/consts/miri_unleashed/static-no-inner-mut.64bit.stderr create mode 100644 tests/ui/consts/miri_unleashed/static-no-inner-mut.rs delete mode 100644 tests/ui/consts/raw-ptr-const.stderr create mode 100644 tests/ui/consts/raw-ptr-temp-const.rs create mode 100644 tests/ui/consts/raw-ptr-temp-const.stderr create mode 100644 tests/ui/consts/refs-to-cell-in-final.rs create mode 100644 tests/ui/consts/refs-to-cell-in-final.stderr create mode 100644 tests/ui/consts/static_mut_containing_mut_ref.stderr create mode 100644 tests/ui/coroutine/check-resume-ty-lifetimes-2.rs create mode 100644 tests/ui/coroutine/check-resume-ty-lifetimes-2.stderr create mode 100644 tests/ui/coroutine/check-resume-ty-lifetimes.rs create mode 100644 tests/ui/coroutine/check-resume-ty-lifetimes.stderr create mode 100644 tests/ui/coroutine/clone-rpit.next.stderr delete mode 100644 tests/ui/coroutine/issue-45729-unsafe-in-coroutine.mir.stderr create mode 100644 tests/ui/coroutine/issue-45729-unsafe-in-coroutine.stderr delete mode 100644 tests/ui/coroutine/issue-45729-unsafe-in-coroutine.thir.stderr create mode 100644 tests/ui/delegation/bad-resolve.rs create mode 100644 tests/ui/delegation/bad-resolve.stderr create mode 100644 tests/ui/delegation/explicit-paths-in-traits-pass.rs create mode 100644 tests/ui/delegation/explicit-paths-in-traits-pass.stderr create mode 100644 tests/ui/delegation/explicit-paths-pass.rs create mode 100644 tests/ui/delegation/explicit-paths-pass.stderr create mode 100644 tests/ui/delegation/explicit-paths-signature-pass.rs create mode 100644 tests/ui/delegation/explicit-paths-signature-pass.stderr create mode 100644 tests/ui/delegation/explicit-paths.rs create mode 100644 tests/ui/delegation/explicit-paths.stderr create mode 100644 tests/ui/delegation/not-supported.rs create mode 100644 tests/ui/delegation/not-supported.stderr create mode 100644 tests/ui/delegation/parse.rs create mode 100644 tests/ui/delegation/parse.stderr create mode 100644 tests/ui/delegation/target-expr-pass.rs create mode 100644 tests/ui/delegation/target-expr-pass.stderr create mode 100644 tests/ui/diagnostic_namespace/on_unimplemented/auxiliary/other.rs create mode 100644 tests/ui/diagnostic_namespace/on_unimplemented/error_is_shown_in_downstream_crates.rs create mode 100644 tests/ui/diagnostic_namespace/on_unimplemented/error_is_shown_in_downstream_crates.stderr create mode 100644 tests/ui/drop/issue-23338-ensure-param-drop-order.stderr delete mode 100644 tests/ui/dst/issue-113447.fixed create mode 100644 tests/ui/dyn-star/union.rs create mode 100644 tests/ui/dyn-star/union.stderr create mode 100644 tests/ui/entry-point/return-ty-has-bound-vars.rs create mode 100644 tests/ui/entry-point/return-ty-has-bound-vars.stderr delete mode 100644 tests/ui/error-codes/E0133.mir.stderr create mode 100644 tests/ui/error-codes/E0133.stderr delete mode 100644 tests/ui/error-codes/E0133.thir.stderr create mode 100644 tests/ui/extern/auxiliary/issue-80074-macro-2.rs delete mode 100644 tests/ui/extern/issue-28324.mir.stderr create mode 100644 tests/ui/extern/issue-28324.stderr delete mode 100644 tests/ui/extern/issue-28324.thir.stderr create mode 100644 tests/ui/extern/issue-80074.stderr delete mode 100644 tests/ui/feature-gates/feature-gate-abi_amdgpu_kernel.rs delete mode 100644 tests/ui/feature-gates/feature-gate-abi_amdgpu_kernel.stderr create mode 100644 tests/ui/feature-gates/feature-gate-cfg-sanitizer_cfi.rs create mode 100644 tests/ui/feature-gates/feature-gate-cfg-sanitizer_cfi.stderr create mode 100644 tests/ui/feature-gates/feature-gate-offset-of-nested.rs create mode 100644 tests/ui/feature-gates/feature-gate-offset-of-nested.stderr create mode 100644 tests/ui/feature-gates/feature-gate-proc_macro_c_str_literals.rs create mode 100644 tests/ui/feature-gates/feature-gate-proc_macro_c_str_literals.stderr create mode 100644 tests/ui/generic-associated-types/issue-119942-unsatisified-gat-bound-during-assoc-ty-selection.rs create mode 100644 tests/ui/generic-associated-types/issue-119942-unsatisified-gat-bound-during-assoc-ty-selection.stderr create mode 100644 tests/ui/generic-associated-types/unknown-lifetime-ice-119827.rs create mode 100644 tests/ui/generic-associated-types/unknown-lifetime-ice-119827.stderr delete mode 100644 tests/ui/generic-const-items/const-trait-impl.stderr create mode 100644 tests/ui/impl-header-lifetime-elision/bare_type.rs create mode 100644 tests/ui/impl-trait/associated-impl-trait-type-issue-114325.rs create mode 100644 tests/ui/impl-trait/dyn-impl-type-mismatch.rs create mode 100644 tests/ui/impl-trait/dyn-impl-type-mismatch.stderr create mode 100644 tests/ui/impl-trait/eagerly-reveal-in-local-body.rs create mode 100644 tests/ui/impl-trait/in-ctfe/array-len-size-of.rs create mode 100644 tests/ui/impl-trait/in-ctfe/array-len.rs create mode 100644 tests/ui/impl-trait/in-ctfe/enum-discr.rs create mode 100644 tests/ui/impl-trait/in-ctfe/fully_monomorphic_const_eval.rs create mode 100644 tests/ui/impl-trait/in-ctfe/match-arm-exhaustive.rs create mode 100644 tests/ui/impl-trait/in-trait/cycle-effective-visibilities-during-object-safety.rs create mode 100644 tests/ui/impl-trait/in-trait/cycle-effective-visibilities-during-object-safety.stderr create mode 100644 tests/ui/impl-trait/not_general_enough_regression_106630.rs create mode 100644 tests/ui/impl-trait/opaque-used-in-extraneous-argument.rs create mode 100644 tests/ui/impl-trait/opaque-used-in-extraneous-argument.stderr create mode 100644 tests/ui/impl-trait/recursive-coroutine-boxed.rs create mode 100644 tests/ui/impl-trait/recursive-coroutine-indirect.current.stderr create mode 100644 tests/ui/impl-trait/recursive-coroutine-indirect.next.stderr create mode 100644 tests/ui/impl-trait/recursive-coroutine-indirect.rs delete mode 100644 tests/ui/impl-trait/recursive-coroutine.current.stderr delete mode 100644 tests/ui/impl-trait/recursive-coroutine.next.stderr delete mode 100644 tests/ui/impl-trait/recursive-coroutine.rs create mode 100644 tests/ui/impl-trait/rpit/early_bound.rs create mode 100644 tests/ui/impl-trait/rpit/early_bound.stderr create mode 100644 tests/ui/impl-trait/transmute/in-defining-scope.rs create mode 100644 tests/ui/impl-trait/transmute/in-defining-scope.stderr create mode 100644 tests/ui/impl-trait/transmute/outside-of-defining-scope.rs delete mode 100644 tests/ui/implied-bounds/auxiliary/bevy_ecs.rs create mode 100644 tests/ui/implied-bounds/from-trait-impl.stderr create mode 100644 tests/ui/implied-bounds/implied-bounds-on-trait-hierarchy-1.rs create mode 100644 tests/ui/implied-bounds/implied-bounds-on-trait-hierarchy-1.stderr create mode 100644 tests/ui/implied-bounds/implied-bounds-on-trait-hierarchy-2.rs delete mode 100644 tests/ui/implied-bounds/implied-bounds-on-trait-hierarchy.rs create mode 100644 tests/ui/implied-bounds/sod_service_chain.stderr create mode 100644 tests/ui/imports/auxiliary/glob-conflict-cross-crate-2-extern.rs create mode 100644 tests/ui/imports/auxiliary/issue-114682-2-extern.rs create mode 100644 tests/ui/imports/auxiliary/issue-114682-3-extern.rs create mode 100644 tests/ui/imports/auxiliary/issue-114682-4-extern.rs create mode 100644 tests/ui/imports/auxiliary/issue-114682-5-extern-1.rs create mode 100644 tests/ui/imports/auxiliary/issue-114682-5-extern-2.rs create mode 100644 tests/ui/imports/auxiliary/issue-114682-6-extern.rs create mode 100644 tests/ui/imports/auxiliary/issue-119369-extern.rs create mode 100644 tests/ui/imports/glob-conflict-cross-crate-1.rs create mode 100644 tests/ui/imports/glob-conflict-cross-crate-1.stderr create mode 100644 tests/ui/imports/glob-conflict-cross-crate-2.rs create mode 100644 tests/ui/imports/glob-conflict-cross-crate-2.stderr create mode 100644 tests/ui/imports/glob-conflict-cross-crate-3.rs delete mode 100644 tests/ui/imports/glob-conflict-cross-crate.rs delete mode 100644 tests/ui/imports/glob-conflict-cross-crate.stderr create mode 100644 tests/ui/imports/issue-114682-1.rs create mode 100644 tests/ui/imports/issue-114682-1.stderr create mode 100644 tests/ui/imports/issue-114682-2.rs create mode 100644 tests/ui/imports/issue-114682-2.stderr create mode 100644 tests/ui/imports/issue-114682-3.rs create mode 100644 tests/ui/imports/issue-114682-4.rs create mode 100644 tests/ui/imports/issue-114682-5.rs create mode 100644 tests/ui/imports/issue-114682-6.rs create mode 100644 tests/ui/imports/issue-119369.rs create mode 100644 tests/ui/inference/issue-80409.no-compat.stderr create mode 100644 tests/ui/inline-const/const-match-pat-lifetime-err.stderr delete mode 100644 tests/ui/inline-const/expr-unsafe-err.mir.stderr rename tests/ui/inline-const/{expr-unsafe-err.thir.stderr => expr-unsafe-err.stderr} (100%) delete mode 100644 tests/ui/inline-const/expr-unsafe.mir.stderr create mode 100644 tests/ui/inline-const/expr-unsafe.stderr delete mode 100644 tests/ui/inline-const/expr-unsafe.thir.stderr create mode 100644 tests/ui/inline-const/pat-unsafe-err.stderr delete mode 100644 tests/ui/inline-const/pat-unsafe-err.thir.stderr create mode 100644 tests/ui/inline-const/pat-unsafe.stderr delete mode 100644 tests/ui/inline-const/pat-unsafe.thir.stderr delete mode 100644 tests/ui/intrinsics/issue-28575.mir.stderr create mode 100644 tests/ui/intrinsics/issue-28575.stderr delete mode 100644 tests/ui/intrinsics/issue-28575.thir.stderr delete mode 100644 tests/ui/intrinsics/unchecked_math_unsafe.mir.stderr create mode 100644 tests/ui/intrinsics/unchecked_math_unsafe.stderr delete mode 100644 tests/ui/intrinsics/unchecked_math_unsafe.thir.stderr rename tests/ui/issues/{ => issue-1920-absolute-paths}/auxiliary/issue-1920.rs (100%) rename tests/ui/issues/{ => issue-1920-absolute-paths}/issue-1920-1.rs (100%) rename tests/ui/issues/{ => issue-1920-absolute-paths}/issue-1920-1.stderr (100%) rename tests/ui/issues/{ => issue-1920-absolute-paths}/issue-1920-2.rs (100%) rename tests/ui/issues/{ => issue-1920-absolute-paths}/issue-1920-2.stderr (100%) rename tests/ui/issues/{ => issue-1920-absolute-paths}/issue-1920-3.rs (100%) rename tests/ui/issues/{ => issue-1920-absolute-paths}/issue-1920-3.stderr (100%) delete mode 100644 tests/ui/issues/issue-20616.rs rename tests/ui/issues/{ => issue-23302-enum-infinite-recursion}/issue-23302-1.rs (100%) rename tests/ui/issues/{ => issue-23302-enum-infinite-recursion}/issue-23302-1.stderr (78%) rename tests/ui/issues/{ => issue-23302-enum-infinite-recursion}/issue-23302-2.rs (100%) rename tests/ui/issues/{ => issue-23302-enum-infinite-recursion}/issue-23302-2.stderr (77%) rename tests/ui/issues/{ => issue-23302-enum-infinite-recursion}/issue-23302-3.rs (100%) rename tests/ui/issues/{ => issue-23302-enum-infinite-recursion}/issue-23302-3.stderr (86%) create mode 100644 tests/ui/issues/issue-23611-enum-swap-in-drop.stderr delete mode 100644 tests/ui/issues/issue-28776.mir.stderr create mode 100644 tests/ui/issues/issue-28776.stderr delete mode 100644 tests/ui/issues/issue-28776.thir.stderr rename tests/ui/issues/{ => issue-32122-deref-coercions-composition}/issue-32122-1.fixed (100%) rename tests/ui/issues/{ => issue-32122-deref-coercions-composition}/issue-32122-1.rs (100%) rename tests/ui/issues/{ => issue-32122-deref-coercions-composition}/issue-32122-1.stderr (100%) rename tests/ui/issues/{ => issue-32122-deref-coercions-composition}/issue-32122-2.fixed (100%) rename tests/ui/issues/{ => issue-32122-deref-coercions-composition}/issue-32122-2.rs (100%) rename tests/ui/issues/{ => issue-32122-deref-coercions-composition}/issue-32122-2.stderr (100%) rename tests/ui/issues/{ => issue-3668-non-constant-value-in-constant}/issue-3668-2.fixed (100%) rename tests/ui/issues/{ => issue-3668-non-constant-value-in-constant}/issue-3668-2.rs (100%) rename tests/ui/issues/{ => issue-3668-non-constant-value-in-constant}/issue-3668-2.stderr (100%) rename tests/ui/issues/{ => issue-3668-non-constant-value-in-constant}/issue-3668.rs (100%) rename tests/ui/issues/{ => issue-3668-non-constant-value-in-constant}/issue-3668.stderr (100%) rename tests/ui/issues/{ => issue-40510-captured-variable-return}/issue-40510-1.migrate.stderr (100%) rename tests/ui/issues/{ => issue-40510-captured-variable-return}/issue-40510-1.rs (100%) rename tests/ui/issues/{ => issue-40510-captured-variable-return}/issue-40510-1.stderr (100%) rename tests/ui/issues/{ => issue-40510-captured-variable-return}/issue-40510-2.rs (100%) rename tests/ui/issues/{ => issue-40510-captured-variable-return}/issue-40510-3.migrate.stderr (100%) rename tests/ui/issues/{ => issue-40510-captured-variable-return}/issue-40510-3.rs (100%) rename tests/ui/issues/{ => issue-40510-captured-variable-return}/issue-40510-3.stderr (100%) rename tests/ui/issues/{ => issue-40510-captured-variable-return}/issue-40510-4.rs (100%) delete mode 100644 tests/ui/issues/issue-48131.mir.stderr create mode 100644 tests/ui/issues/issue-48131.stderr delete mode 100644 tests/ui/issues/issue-48131.thir.stderr rename tests/ui/issues/{ => issue-57741-dereference-boxed-value}/issue-57741-1.rs (100%) rename tests/ui/issues/{ => issue-57741-dereference-boxed-value}/issue-57741-1.stderr (100%) rename tests/ui/issues/{ => issue-57741-dereference-boxed-value}/issue-57741.fixed (100%) rename tests/ui/issues/{ => issue-57741-dereference-boxed-value}/issue-57741.rs (100%) rename tests/ui/issues/{ => issue-57741-dereference-boxed-value}/issue-57741.stderr (100%) delete mode 100644 tests/ui/issues/issue-5844.mir.stderr create mode 100644 tests/ui/issues/issue-5844.stderr delete mode 100644 tests/ui/issues/issue-5844.thir.stderr rename tests/ui/issues/{ => issue-5997-outer-generic-parameter}/issue-5997-enum.rs (100%) rename tests/ui/issues/{ => issue-5997-outer-generic-parameter}/issue-5997-enum.stderr (100%) rename tests/ui/issues/{ => issue-5997-outer-generic-parameter}/issue-5997-struct.rs (100%) rename tests/ui/issues/{ => issue-5997-outer-generic-parameter}/issue-5997-struct.stderr (100%) rename tests/ui/issues/{ => issue-5997-outer-generic-parameter}/issue-5997.rs (100%) rename tests/ui/issues/{ => issue-71676-suggest-deref}/issue-71676-1.fixed (100%) rename tests/ui/issues/{ => issue-71676-suggest-deref}/issue-71676-1.rs (100%) rename tests/ui/issues/{ => issue-71676-suggest-deref}/issue-71676-1.stderr (100%) rename tests/ui/issues/{ => issue-71676-suggest-deref}/issue-71676-2.rs (100%) rename tests/ui/issues/{ => issue-71676-suggest-deref}/issue-71676-2.stderr (100%) rename tests/ui/issues/{ => issue-76077-inaccesible-private-fields}/issue-76077-1.fixed (100%) rename tests/ui/issues/{ => issue-76077-inaccesible-private-fields}/issue-76077-1.rs (100%) rename tests/ui/issues/{ => issue-76077-inaccesible-private-fields}/issue-76077-1.stderr (100%) rename tests/ui/issues/{ => issue-76077-inaccesible-private-fields}/issue-76077.rs (100%) rename tests/ui/issues/{ => issue-76077-inaccesible-private-fields}/issue-76077.stderr (100%) delete mode 100644 tests/ui/lang-items/bad-add-impl.rs delete mode 100644 tests/ui/lang-items/bad-add-impl.stderr create mode 100644 tests/ui/lang-items/duplicate.rs create mode 100644 tests/ui/lang-items/duplicate.stderr delete mode 100644 tests/ui/lang-items/fn-fn_mut-call-ill-formed.bad_item.stderr delete mode 100644 tests/ui/lang-items/fn-fn_mut-call-ill-formed.bad_sig.stderr delete mode 100644 tests/ui/lang-items/fn-fn_mut-call-ill-formed.fn_bad_item.stderr delete mode 100644 tests/ui/lang-items/fn-fn_mut-call-ill-formed.fn_bad_sig.stderr delete mode 100644 tests/ui/lang-items/fn-fn_mut-call-ill-formed.fn_mut_bad_item.stderr delete mode 100644 tests/ui/lang-items/fn-fn_mut-call-ill-formed.fn_mut_bad_sig.stderr delete mode 100644 tests/ui/lang-items/fn-fn_mut-call-ill-formed.fn_once_bad_item.stderr delete mode 100644 tests/ui/lang-items/fn-fn_mut-call-ill-formed.fn_once_bad_sig.stderr delete mode 100644 tests/ui/lang-items/fn-fn_mut-call-ill-formed.rs delete mode 100644 tests/ui/lang-items/issue-31076.rs delete mode 100644 tests/ui/lang-items/issue-31076.stderr delete mode 100644 tests/ui/lang-items/issue-86238.rs delete mode 100644 tests/ui/lang-items/issue-86238.stderr create mode 100644 tests/ui/lazy-type-alias/implied-outlives-bounds.neg.stderr create mode 100644 tests/ui/lazy-type-alias/implied-outlives-bounds.rs create mode 100644 tests/ui/lint/dead-code/type-in-transparent.rs create mode 100644 tests/ui/lint/large_assignments/copy_into_fn.rs create mode 100644 tests/ui/lint/large_assignments/copy_into_fn.stderr create mode 100644 tests/ui/lint/let_underscore/issue-119696-err-on-fn.rs create mode 100644 tests/ui/lint/let_underscore/issue-119696-err-on-fn.stderr create mode 100644 tests/ui/lint/let_underscore/issue-119697-extra-let.rs create mode 100644 tests/ui/lint/let_underscore/issue-119697-extra-let.stderr create mode 100644 tests/ui/lint/unused/issue-117142-invalid-remove-parens.rs create mode 100644 tests/ui/lint/unused/issue-119383-if-let-guard.rs create mode 100644 tests/ui/lint/unused/issue-119383-if-let-guard.stderr create mode 100644 tests/ui/methods/disambiguate-associated-function-first-arg.rs create mode 100644 tests/ui/methods/disambiguate-associated-function-first-arg.stderr create mode 100644 tests/ui/mir/lint/assignment-overlap.rs create mode 100644 tests/ui/mir/lint/call-overlap.rs create mode 100644 tests/ui/mir/lint/no-storage.rs rename tests/ui/mir/{validate => lint}/storage-live.rs (93%) create mode 100644 tests/ui/mir/lint/storage-live.stderr create mode 100644 tests/ui/mir/lint/storage-return.rs delete mode 100644 tests/ui/mir/validate/storage-live.stderr create mode 100644 tests/ui/never_type/never-type-in-nested-fn-decl.rs create mode 100644 tests/ui/nll/borrowck-thread-local-static-mut-borrow-outlives-fn.stderr create mode 100644 tests/ui/no_std/no-std-no-start-binary.rs create mode 100644 tests/ui/no_std/no-std-no-start-binary.stderr create mode 100644 tests/ui/no_std/no-std-unwind-binary.rs create mode 100644 tests/ui/no_std/no-std-unwind-binary.stderr delete mode 100644 tests/ui/numbers-arithmetic/overflowing-rsh-6.rs delete mode 100644 tests/ui/numbers-arithmetic/overflowing-rsh-6.stderr create mode 100644 tests/ui/object-safety/avoid-ice-on-warning-2.new.stderr create mode 100644 tests/ui/object-safety/avoid-ice-on-warning-2.old.stderr create mode 100644 tests/ui/object-safety/avoid-ice-on-warning-2.rs create mode 100644 tests/ui/object-safety/avoid-ice-on-warning-3.new.stderr create mode 100644 tests/ui/object-safety/avoid-ice-on-warning-3.old.stderr create mode 100644 tests/ui/object-safety/avoid-ice-on-warning-3.rs create mode 100644 tests/ui/object-safety/avoid-ice-on-warning.new.stderr create mode 100644 tests/ui/object-safety/avoid-ice-on-warning.old.stderr create mode 100644 tests/ui/object-safety/avoid-ice-on-warning.rs create mode 100644 tests/ui/object-safety/bare-trait-dont-suggest-dyn.new.fixed create mode 100644 tests/ui/object-safety/bare-trait-dont-suggest-dyn.new.stderr create mode 100644 tests/ui/object-safety/bare-trait-dont-suggest-dyn.old.stderr create mode 100644 tests/ui/object-safety/bare-trait-dont-suggest-dyn.rs create mode 100644 tests/ui/object-safety/erroneous_signature.rs create mode 100644 tests/ui/object-safety/erroneous_signature.stderr create mode 100644 tests/ui/parser/attribute/attr-unquoted-ident.fixed create mode 100644 tests/ui/parser/attribute/attr-unquoted-ident.rs create mode 100644 tests/ui/parser/attribute/attr-unquoted-ident.stderr create mode 100644 tests/ui/parser/attribute/properly-recover-from-trailing-outer-attribute-in-body.rs create mode 100644 tests/ui/parser/attribute/properly-recover-from-trailing-outer-attribute-in-body.stderr create mode 100644 tests/ui/parser/eq-gt-to-gt-eq.fixed create mode 100644 tests/ui/parser/eq-gt-to-gt-eq.rs create mode 100644 tests/ui/parser/eq-gt-to-gt-eq.stderr create mode 100644 tests/ui/parser/generic-param-default-in-binder.rs create mode 100644 tests/ui/parser/impls-nested-within-anon-consts-semantic.rs create mode 100644 tests/ui/parser/impls-nested-within-fns-semantic-0.rs create mode 100644 tests/ui/parser/impls-nested-within-fns-semantic-1.rs create mode 100644 tests/ui/parser/macro/mbe-bare-trait-object-maybe-trait-bound.rs delete mode 100644 tests/ui/parser/pat-ranges-4.rs delete mode 100644 tests/ui/parser/pat-ranges-4.stderr create mode 100644 tests/ui/parser/pat-recover-exprs.rs create mode 100644 tests/ui/parser/pat-recover-exprs.stderr create mode 100644 tests/ui/parser/pat-recover-methodcalls.rs create mode 100644 tests/ui/parser/pat-recover-methodcalls.stderr create mode 100644 tests/ui/parser/pat-recover-ranges.rs create mode 100644 tests/ui/parser/pat-recover-ranges.stderr create mode 100644 tests/ui/parser/pat-recover-wildcards.rs create mode 100644 tests/ui/parser/pat-recover-wildcards.stderr create mode 100644 tests/ui/parser/range-exclusive-dotdotlt.rs create mode 100644 tests/ui/parser/range-exclusive-dotdotlt.stderr rename tests/ui/parser/{ => removed-syntax}/removed-syntax-box.fixed (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-box.rs (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-box.stderr (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-closure-lifetime.rs (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-closure-lifetime.stderr (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-enum-newtype.rs (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-enum-newtype.stderr (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-field-let-2.rs (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-field-let-2.stderr (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-field-let.rs (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-field-let.stderr (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-field-semicolon.rs (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-field-semicolon.stderr (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-fixed-vec.rs (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-fixed-vec.stderr (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-fn-sigil.rs (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-fn-sigil.stderr (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-mode.rs (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-mode.stderr (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-mut-vec-expr.rs (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-mut-vec-expr.stderr (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-mut-vec-ty.rs (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-mut-vec-ty.stderr (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-ptr-lifetime.rs (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-ptr-lifetime.stderr (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-record.rs (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-record.stderr (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-static-fn.rs (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-static-fn.stderr (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-uniq-mut-expr.rs (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-uniq-mut-expr.stderr (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-uniq-mut-ty.rs (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-uniq-mut-ty.stderr (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-with-1.rs (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-with-1.stderr (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-with-2.rs (100%) rename tests/ui/parser/{ => removed-syntax}/removed-syntax-with-2.stderr (100%) create mode 100644 tests/ui/pattern/issue-117626.rs delete mode 100644 tests/ui/pattern/never_patterns.rs delete mode 100644 tests/ui/pattern/never_patterns.stderr delete mode 100644 tests/ui/pattern/non-structural-match-types.mir.stderr create mode 100644 tests/ui/pattern/non-structural-match-types.stderr delete mode 100644 tests/ui/pattern/non-structural-match-types.thir.stderr create mode 100644 tests/ui/pattern/usefulness/empty-types.min_exh_pats.stderr create mode 100644 tests/ui/pattern/usefulness/impl-trait.rs create mode 100644 tests/ui/pattern/usefulness/impl-trait.stderr create mode 100644 tests/ui/pattern/usefulness/integer-ranges/issue-117648-overlapping_range_endpoints-false-positive.rs create mode 100644 tests/ui/pattern/usefulness/issue-119493-type-error-ice.rs create mode 100644 tests/ui/pattern/usefulness/issue-119493-type-error-ice.stderr create mode 100644 tests/ui/pattern/usefulness/issue-119778-type-error-ice.rs create mode 100644 tests/ui/pattern/usefulness/issue-119778-type-error-ice.stderr create mode 100644 tests/ui/privacy/auxiliary/issue-119463-extern.rs create mode 100644 tests/ui/privacy/issue-119463.rs create mode 100644 tests/ui/privacy/issue-119463.stderr create mode 100644 tests/ui/proc-macro/issue-118455-skip-err-builtin.rs create mode 100644 tests/ui/proc-macro/issue-118455-skip-err-builtin.stderr create mode 100644 tests/ui/proc-macro/issue-89566-suggest-fix-invalid-top-level-macro-attr.fixed create mode 100644 tests/ui/proc-macro/issue-89566-suggest-fix-invalid-top-level-macro-attr.rs create mode 100644 tests/ui/proc-macro/issue-89566-suggest-fix-invalid-top-level-macro-attr.stderr create mode 100644 tests/ui/resolve/auxiliary/suggest-constructor-cycle-error.rs create mode 100644 tests/ui/resolve/suggest-constructor-cycle-error.rs create mode 100644 tests/ui/resolve/suggest-constructor-cycle-error.stderr create mode 100644 tests/ui/rfcs/rfc-0000-never_patterns/120240-async-fn-never-arg.rs create mode 100644 tests/ui/rfcs/rfc-0000-never_patterns/120240-async-fn-never-arg.stderr create mode 100644 tests/ui/rfcs/rfc-0000-never_patterns/ICE-119271-never-arm-attr-in-guard.rs create mode 100644 tests/ui/rfcs/rfc-0000-never_patterns/ICE-119271-never-arm-attr-in-guard.stderr create mode 100644 tests/ui/rfcs/rfc-0000-never_patterns/bindings.rs create mode 100644 tests/ui/rfcs/rfc-0000-never_patterns/bindings.stderr create mode 100644 tests/ui/rfcs/rfc-0000-never_patterns/diverge-causes-unreachable-code.rs create mode 100644 tests/ui/rfcs/rfc-0000-never_patterns/diverge-causes-unreachable-code.stderr create mode 100644 tests/ui/rfcs/rfc-0000-never_patterns/diverges-not.rs create mode 100644 tests/ui/rfcs/rfc-0000-never_patterns/diverges-not.stderr create mode 100644 tests/ui/rfcs/rfc-0000-never_patterns/diverges.rs create mode 100644 tests/ui/rfcs/rfc-0000-never_patterns/macros.rs create mode 100644 tests/ui/rfcs/rfc-0000-never_patterns/typeck.fail.stderr create mode 100644 tests/ui/rfcs/rfc-0000-never_patterns/typeck.rs create mode 100644 tests/ui/rfcs/rfc-0000-never_patterns/unreachable.exh_pats.stderr create mode 100644 tests/ui/rfcs/rfc-0000-never_patterns/unreachable.rs delete mode 100644 tests/ui/rfcs/rfc-1445-restrict-constants-in-patterns/match-forbidden-without-eq.rs delete mode 100644 tests/ui/rfcs/rfc-1445-restrict-constants-in-patterns/match-forbidden-without-eq.stderr delete mode 100644 tests/ui/rfcs/rfc-1445-restrict-constants-in-patterns/match-nonempty-array-forbidden-without-eq.rs delete mode 100644 tests/ui/rfcs/rfc-1445-restrict-constants-in-patterns/match-nonempty-array-forbidden-without-eq.stderr create mode 100644 tests/ui/rfcs/rfc-2294-if-let-guard/drop-order.rs create mode 100644 tests/ui/rfcs/rfc-2294-if-let-guard/drop-scope.rs create mode 100644 tests/ui/rfcs/rfc-2294-if-let-guard/loop-mutability.rs create mode 100644 tests/ui/rfcs/rfc-2294-if-let-guard/scope.rs create mode 100644 tests/ui/rfcs/rfc-2294-if-let-guard/scoping-consistency-async.rs create mode 100644 tests/ui/rfcs/rfc-2294-if-let-guard/scoping-consistency.rs create mode 100644 tests/ui/rfcs/rfc-2396-target_feature-11/fn-ptr.stderr create mode 100644 tests/ui/rfcs/rfc-2396-target_feature-11/safe-calls.stderr create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/assoc-type-const-bound-usage-0.qualified.stderr create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/assoc-type-const-bound-usage-0.rs create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/assoc-type-const-bound-usage-1.qualified.stderr create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/assoc-type-const-bound-usage-1.rs delete mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/assoc-type-const-bound-usage.rs delete mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/assoc-type-const-bound-usage.stderr create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/const-bounds-non-const-trait.rs create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/const-bounds-non-const-trait.stderr create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/const-fns-are-early-bound.rs create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/const-trait-bounds-trait-objects.rs create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/const-trait-bounds-trait-objects.stderr create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/const-trait-bounds.rs delete mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/effects/const_closure-const_trait_impl-ice-113381.stderr create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/effects/ice-112822-expected-type-for-param.rs create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/effects/ice-112822-expected-type-for-param.stderr create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/effects/project.stderr create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/effects/trait-fn-const.rs create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/effects/trait-fn-const.stderr create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/mbe-bare-trait-objects-const-trait-bounds.rs create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/mbe-const-trait-bound-theoretical-regression.rs create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/mbe-const-trait-bound-theoretical-regression.stderr create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/mbe-dyn-const-2015.rs create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/mutually-exclusive-trait-bound-modifiers.rs create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/mutually-exclusive-trait-bound-modifiers.stderr delete mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/super-traits-fail-3.yy.stderr create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/tilde-const-assoc-fn-in-trait-impl.rs rename tests/ui/rfcs/rfc-2632-const-trait-impl/{tilde_const_on_impl_bound.rs => tilde-const-inherent-assoc-const-fn.rs} (100%) delete mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/tilde-const-maybe-trait.rs delete mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/tilde-const-maybe-trait.stderr create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/tilde-const-trait-assoc-tys.rs create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/unsatisfied-const-trait-bound.rs create mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/unsatisfied-const-trait-bound.stderr delete mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/without-tilde.rs delete mode 100644 tests/ui/rfcs/rfc-2632-const-trait-impl/without-tilde.stderr delete mode 100644 tests/ui/rfcs/rfc-3348-c-string-literals/gate.rs delete mode 100644 tests/ui/rfcs/rfc-3348-c-string-literals/gate.stderr create mode 100644 tests/ui/shell-argfiles/shell-argfiles-badquotes-windows.rs create mode 100644 tests/ui/shell-argfiles/shell-argfiles-badquotes-windows.stderr create mode 100644 tests/ui/shell-argfiles/shell-argfiles-badquotes.args create mode 100644 tests/ui/shell-argfiles/shell-argfiles-badquotes.rs create mode 100644 tests/ui/shell-argfiles/shell-argfiles-badquotes.stderr create mode 100644 tests/ui/shell-argfiles/shell-argfiles-via-argfile-shell.args create mode 100644 tests/ui/shell-argfiles/shell-argfiles-via-argfile.args create mode 100644 tests/ui/shell-argfiles/shell-argfiles-via-argfile.rs create mode 100644 tests/ui/shell-argfiles/shell-argfiles.args create mode 100644 tests/ui/shell-argfiles/shell-argfiles.rs create mode 100644 tests/ui/single-use-lifetime/issue-117965.rs create mode 100644 tests/ui/single-use-lifetime/issue-117965.stderr delete mode 100644 tests/ui/sized/recursive-type-2.stderr rename tests/ui/sized/{recursive-type-2.rs => recursive-type-binding.rs} (100%) create mode 100644 tests/ui/sized/recursive-type-binding.stderr create mode 100644 tests/ui/sized/recursive-type-coercion-from-never.rs create mode 100644 tests/ui/sized/recursive-type-coercion-from-never.stderr rename tests/ui/sized/{recursive-type-1.rs => recursive-type-pass.rs} (100%) delete mode 100644 tests/ui/span/lint-unused-unsafe.mir.stderr create mode 100644 tests/ui/span/lint-unused-unsafe.stderr delete mode 100644 tests/ui/span/lint-unused-unsafe.thir.stderr create mode 100644 tests/ui/specialization/allow_internal_unstable.rs create mode 100644 tests/ui/specialization/ctfe/default-assoc-const.rs create mode 100644 tests/ui/specialization/ctfe/default-assoc-const.stderr create mode 100644 tests/ui/specialization/ctfe/default-assoc-type.rs create mode 100644 tests/ui/specialization/ctfe/default-assoc-type.stderr create mode 100644 tests/ui/static/reference-of-mut-static-unsafe-fn.rs create mode 100644 tests/ui/static/reference-of-mut-static-unsafe-fn.stderr create mode 100644 tests/ui/static/reference-of-mut-static.e2021.stderr create mode 100644 tests/ui/static/reference-of-mut-static.e2024.stderr create mode 100644 tests/ui/static/reference-of-mut-static.rs create mode 100644 tests/ui/static/reference-to-mut-static-safe.e2021.stderr create mode 100644 tests/ui/static/reference-to-mut-static-safe.e2024.stderr create mode 100644 tests/ui/static/reference-to-mut-static-safe.rs create mode 100644 tests/ui/static/reference-to-mut-static-unsafe-fn.rs create mode 100644 tests/ui/static/reference-to-mut-static-unsafe-fn.stderr create mode 100644 tests/ui/static/reference-to-mut-static.e2021.stderr create mode 100644 tests/ui/static/reference-to-mut-static.e2024.stderr create mode 100644 tests/ui/static/reference-to-mut-static.rs delete mode 100644 tests/ui/static/safe-extern-statics-mut.mir.stderr create mode 100644 tests/ui/static/safe-extern-statics-mut.stderr delete mode 100644 tests/ui/static/safe-extern-statics-mut.thir.stderr delete mode 100644 tests/ui/static/safe-extern-statics.mir.stderr create mode 100644 tests/ui/static/safe-extern-statics.stderr delete mode 100644 tests/ui/static/safe-extern-statics.thir.stderr delete mode 100644 tests/ui/static/static-mut-foreign-requires-unsafe.mir.stderr create mode 100644 tests/ui/static/static-mut-foreign-requires-unsafe.stderr delete mode 100644 tests/ui/static/static-mut-foreign-requires-unsafe.thir.stderr delete mode 100644 tests/ui/static/static-mut-requires-unsafe.mir.stderr create mode 100644 tests/ui/static/static-mut-requires-unsafe.stderr delete mode 100644 tests/ui/static/static-mut-requires-unsafe.thir.stderr delete mode 100644 tests/ui/statics/issue-14227.mir.stderr create mode 100644 tests/ui/statics/issue-14227.stderr delete mode 100644 tests/ui/statics/issue-14227.thir.stderr create mode 100644 tests/ui/statics/issue-15261.stderr create mode 100644 tests/ui/statics/static-mut-xc.stderr create mode 100644 tests/ui/statics/static-recursive.stderr create mode 100644 tests/ui/std/windows-bat-args.rs create mode 100644 tests/ui/std/windows-bat-args1.bat create mode 100644 tests/ui/std/windows-bat-args2.bat create mode 100644 tests/ui/std/windows-bat-args3.bat create mode 100644 tests/ui/suggestions/auxiliary/hidden-struct.rs create mode 100644 tests/ui/suggestions/dont-suggest-foreign-doc-hidden.rs create mode 100644 tests/ui/suggestions/dont-suggest-foreign-doc-hidden.stderr create mode 100644 tests/ui/suggestions/object-unsafe-trait-should-use-self-2021-without-dyn.rs create mode 100644 tests/ui/suggestions/object-unsafe-trait-should-use-self-2021-without-dyn.stderr create mode 100644 tests/ui/suggestions/object-unsafe-trait-should-use-self-2021.rs create mode 100644 tests/ui/suggestions/object-unsafe-trait-should-use-self-2021.stderr create mode 100644 tests/ui/suggestions/suggest-assoc-fn-call-for-impl-trait.fixed create mode 100644 tests/ui/suggestions/suggest-assoc-fn-call-for-impl-trait.rs create mode 100644 tests/ui/suggestions/suggest-assoc-fn-call-for-impl-trait.stderr create mode 100644 tests/ui/suggestions/suggest-slice-swap.fixed create mode 100644 tests/ui/suggestions/suggest-slice-swap.rs create mode 100644 tests/ui/suggestions/suggest-slice-swap.stderr create mode 100644 tests/ui/symbol-mangling-version/unstable.hashed.stderr delete mode 100644 tests/ui/thread-local/thread-local-static.mir.stderr create mode 100644 tests/ui/thread-local/thread-local-static.stderr delete mode 100644 tests/ui/threads-sendsync/issue-43733.mir.stderr create mode 100644 tests/ui/threads-sendsync/issue-43733.stderr delete mode 100644 tests/ui/threads-sendsync/issue-43733.thir.stderr create mode 100644 tests/ui/trait-bounds/issue-119530-sugg-from-fn.rs create mode 100644 tests/ui/trait-bounds/issue-119530-sugg-from-fn.stderr create mode 100644 tests/ui/traits/bound/not-on-bare-trait-2021.rs create mode 100644 tests/ui/traits/bound/not-on-bare-trait-2021.stderr delete mode 100644 tests/ui/traits/invalid_operator_trait.rs delete mode 100644 tests/ui/traits/invalid_operator_trait.stderr delete mode 100644 tests/ui/traits/issue-102989.rs delete mode 100644 tests/ui/traits/issue-102989.stderr create mode 100644 tests/ui/traits/method-argument-mismatch-variance-ice-119867.rs create mode 100644 tests/ui/traits/method-argument-mismatch-variance-ice-119867.stderr create mode 100644 tests/ui/traits/negative-bounds/opaque-type-unsatisfied-bound.rs create mode 100644 tests/ui/traits/negative-bounds/opaque-type-unsatisfied-bound.stderr create mode 100644 tests/ui/traits/negative-bounds/opaque-type-unsatisfied-fn-bound.rs create mode 100644 tests/ui/traits/negative-bounds/opaque-type-unsatisfied-fn-bound.stderr delete mode 100644 tests/ui/traits/negative-bounds/supertrait.stderr rename tests/ui/traits/next-solver/{ => alias-relate}/alias_eq_cant_be_furthur_normalized.rs (100%) rename tests/ui/traits/next-solver/{ => alias-relate}/alias_eq_dont_use_normalizes_to_if_substs_eq.rs (100%) rename tests/ui/traits/next-solver/{ => alias-relate}/alias_eq_simple.rs (100%) rename tests/ui/traits/next-solver/{ => alias-relate}/alias_eq_substs_eq_not_intercrate.rs (100%) rename tests/ui/traits/next-solver/{ => alias-relate}/alias_eq_substs_eq_not_intercrate.stderr (100%) rename tests/ui/traits/next-solver/{ => alias-relate}/tait-eq-proj-2.rs (84%) rename tests/ui/traits/next-solver/{ => alias-relate}/tait-eq-proj.rs (100%) rename tests/ui/traits/next-solver/{ => alias-relate}/tait-eq-tait.rs (100%) create mode 100644 tests/ui/traits/next-solver/assembly/ambig-projection-self-is-ambig.rs create mode 100644 tests/ui/traits/next-solver/cycles/mixed-cycles-1.rs create mode 100644 tests/ui/traits/next-solver/cycles/mixed-cycles-1.stderr create mode 100644 tests/ui/traits/next-solver/cycles/mixed-cycles-2.rs create mode 100644 tests/ui/traits/next-solver/cycles/mixed-cycles-2.stderr create mode 100644 tests/ui/traits/next-solver/cycles/provisional-cache-impacts-behavior.rs create mode 100644 tests/ui/traits/next-solver/dont-type_of-tait-in-defining-scope.is_send.stderr create mode 100644 tests/ui/traits/next-solver/normalize-path-for-method.rs create mode 100644 tests/ui/traits/next-solver/normalize-region-obligations.rs delete mode 100644 tests/ui/traits/next-solver/temporary-ambiguity.rs create mode 100644 tests/ui/traits/next-solver/unsound-region-obligation.rs create mode 100644 tests/ui/traits/next-solver/unsound-region-obligation.stderr create mode 100644 tests/ui/traits/non_lifetime_binders/binder-defaults-112547.rs create mode 100644 tests/ui/traits/non_lifetime_binders/binder-defaults-112547.stderr create mode 100644 tests/ui/traits/non_lifetime_binders/binder-defaults-118697.rs create mode 100644 tests/ui/traits/non_lifetime_binders/binder-defaults-118697.stderr create mode 100644 tests/ui/traits/non_lifetime_binders/binder-defaults-119489.rs create mode 100644 tests/ui/traits/non_lifetime_binders/binder-defaults-119489.stderr create mode 100644 tests/ui/traits/non_lifetime_binders/bounds-on-type-binders.rs create mode 100644 tests/ui/traits/non_lifetime_binders/bounds-on-type-binders.stderr create mode 100644 tests/ui/traits/non_lifetime_binders/unifying-placeholders-in-query-response-2.current.stderr create mode 100644 tests/ui/traits/non_lifetime_binders/unifying-placeholders-in-query-response-2.next.stderr create mode 100644 tests/ui/traits/non_lifetime_binders/unifying-placeholders-in-query-response-2.rs create mode 100644 tests/ui/traits/non_lifetime_binders/unifying-placeholders-in-query-response.current.stderr create mode 100644 tests/ui/traits/non_lifetime_binders/unifying-placeholders-in-query-response.next.stderr create mode 100644 tests/ui/traits/non_lifetime_binders/unifying-placeholders-in-query-response.rs delete mode 100644 tests/ui/traits/safety-fn-body.mir.stderr create mode 100644 tests/ui/traits/safety-fn-body.stderr delete mode 100644 tests/ui/traits/safety-fn-body.thir.stderr create mode 100644 tests/ui/transmutability/structs/repr/transmute_infinitely_recursive_type.rs create mode 100644 tests/ui/transmutability/structs/repr/transmute_infinitely_recursive_type.stderr create mode 100644 tests/ui/treat-err-as-bug/eagerly-emit.rs create mode 100644 tests/ui/treat-err-as-bug/eagerly-emit.stderr create mode 100644 tests/ui/type-alias-impl-trait/closure_infer.rs create mode 100644 tests/ui/type-alias-impl-trait/hidden_behind_struct_field2.stderr create mode 100644 tests/ui/type-alias-impl-trait/impl_trait_in_trait_defined_outside_trait.rs create mode 100644 tests/ui/type-alias-impl-trait/impl_trait_in_trait_defined_outside_trait.stderr create mode 100644 tests/ui/type-alias-impl-trait/impl_trait_in_trait_defined_outside_trait2.rs create mode 100644 tests/ui/type-alias-impl-trait/impl_trait_in_trait_defined_outside_trait2.stderr create mode 100644 tests/ui/type-alias-impl-trait/impl_trait_in_trait_defined_outside_trait3.rs create mode 100644 tests/ui/type-alias-impl-trait/in-assoc-ty-early-bound.rs create mode 100644 tests/ui/type-alias-impl-trait/in-assoc-ty-early-bound.stderr create mode 100644 tests/ui/type-alias-impl-trait/in-assoc-ty-early-bound2.rs create mode 100644 tests/ui/type-alias-impl-trait/in-assoc-ty-early-bound2.stderr create mode 100644 tests/ui/type-alias-impl-trait/in-where-clause.rs create mode 100644 tests/ui/type-alias-impl-trait/in-where-clause.stderr create mode 100644 tests/ui/type-alias-impl-trait/itiat-allow-nested-closures.bad.stderr create mode 100644 tests/ui/type-alias-impl-trait/itiat-allow-nested-closures.rs create mode 100644 tests/ui/type-alias-impl-trait/itiat-forbid-nested-items.rs create mode 100644 tests/ui/type-alias-impl-trait/itiat-forbid-nested-items.stderr create mode 100644 tests/ui/type-alias-impl-trait/nested-in-anon-const.rs create mode 100644 tests/ui/type-alias-impl-trait/nested-in-anon-const.stderr create mode 100644 tests/ui/type-alias-impl-trait/nested_inference_failure.rs create mode 100644 tests/ui/type-alias-impl-trait/struct-assignment-validity.rs create mode 100644 tests/ui/type/verbose.normal.stderr create mode 100644 tests/ui/type/verbose.rs create mode 100644 tests/ui/type/verbose.verbose.stderr create mode 100644 tests/ui/typeck/suggest-box-on-divergent-if-else-arms.fixed create mode 100644 tests/ui/typeck/suggest-box-on-divergent-if-else-arms.rs create mode 100644 tests/ui/typeck/suggest-box-on-divergent-if-else-arms.stderr delete mode 100644 tests/ui/union/union-borrow-move-parent-sibling.mirunsafeck.stderr create mode 100644 tests/ui/union/union-borrow-move-parent-sibling.stderr delete mode 100644 tests/ui/union/union-borrow-move-parent-sibling.thirunsafeck.stderr delete mode 100644 tests/ui/union/union-deref.mirunsafeck.stderr create mode 100644 tests/ui/union/union-deref.stderr delete mode 100644 tests/ui/union/union-deref.thirunsafeck.stderr delete mode 100644 tests/ui/union/union-derive-clone.mirunsafeck.stderr create mode 100644 tests/ui/union/union-derive-clone.stderr delete mode 100644 tests/ui/union/union-derive-clone.thirunsafeck.stderr delete mode 100644 tests/ui/union/union-derive-eq.mirunsafeck.stderr create mode 100644 tests/ui/union/union-derive-eq.stderr delete mode 100644 tests/ui/union/union-derive-eq.thirunsafeck.stderr delete mode 100644 tests/ui/union/union-fields-1.mirunsafeck.stderr create mode 100644 tests/ui/union/union-fields-1.stderr delete mode 100644 tests/ui/union/union-fields-1.thirunsafeck.stderr delete mode 100644 tests/ui/union/union-fields-2.mirunsafeck.stderr create mode 100644 tests/ui/union/union-fields-2.stderr delete mode 100644 tests/ui/union/union-fields-2.thirunsafeck.stderr delete mode 100644 tests/ui/union/union-generic.mirunsafeck.stderr create mode 100644 tests/ui/union/union-generic.stderr delete mode 100644 tests/ui/union/union-generic.thirunsafeck.stderr delete mode 100644 tests/ui/union/union-lint-dead-code.mirunsafeck.stderr create mode 100644 tests/ui/union/union-lint-dead-code.stderr delete mode 100644 tests/ui/union/union-lint-dead-code.thirunsafeck.stderr delete mode 100644 tests/ui/union/union-move.mirunsafeck.stderr create mode 100644 tests/ui/union/union-move.stderr delete mode 100644 tests/ui/union/union-move.thirunsafeck.stderr delete mode 100644 tests/ui/union/union-suggest-field.mirunsafeck.stderr create mode 100644 tests/ui/union/union-suggest-field.stderr delete mode 100644 tests/ui/union/union-suggest-field.thirunsafeck.stderr delete mode 100644 tests/ui/union/union-unsafe.mir.stderr create mode 100644 tests/ui/union/union-unsafe.stderr delete mode 100644 tests/ui/union/union-unsafe.thir.stderr delete mode 100644 tests/ui/union/union-unsized.mirunsafeck.stderr create mode 100644 tests/ui/union/union-unsized.stderr delete mode 100644 tests/ui/union/union-unsized.thirunsafeck.stderr delete mode 100644 tests/ui/union/union-with-drop-fields.mirunsafeck.stderr create mode 100644 tests/ui/union/union-with-drop-fields.stderr delete mode 100644 tests/ui/union/union-with-drop-fields.thirunsafeck.stderr delete mode 100644 tests/ui/unsafe/access_union_field.mir.stderr create mode 100644 tests/ui/unsafe/access_union_field.stderr delete mode 100644 tests/ui/unsafe/access_union_field.thir.stderr create mode 100644 tests/ui/unsafe/const_pat_in_layout_restricted.rs delete mode 100644 tests/ui/unsafe/edition-2024-unsafe_op_in_unsafe_fn.mir.stderr create mode 100644 tests/ui/unsafe/edition-2024-unsafe_op_in_unsafe_fn.stderr delete mode 100644 tests/ui/unsafe/edition-2024-unsafe_op_in_unsafe_fn.thir.stderr delete mode 100644 tests/ui/unsafe/foreign-unsafe-fn-called.mir.stderr create mode 100644 tests/ui/unsafe/foreign-unsafe-fn-called.stderr delete mode 100644 tests/ui/unsafe/foreign-unsafe-fn-called.thir.stderr delete mode 100644 tests/ui/unsafe/inline_asm.mir.stderr create mode 100644 tests/ui/unsafe/inline_asm.stderr delete mode 100644 tests/ui/unsafe/inline_asm.thir.stderr delete mode 100644 tests/ui/unsafe/issue-3080.mir.stderr create mode 100644 tests/ui/unsafe/issue-3080.stderr delete mode 100644 tests/ui/unsafe/issue-3080.thir.stderr delete mode 100644 tests/ui/unsafe/issue-45087-unreachable-unsafe.mir.stderr create mode 100644 tests/ui/unsafe/issue-45087-unreachable-unsafe.stderr delete mode 100644 tests/ui/unsafe/issue-45087-unreachable-unsafe.thir.stderr delete mode 100644 tests/ui/unsafe/issue-45107-unnecessary-unsafe-in-closure.mir.stderr create mode 100644 tests/ui/unsafe/issue-45107-unnecessary-unsafe-in-closure.stderr delete mode 100644 tests/ui/unsafe/issue-45107-unnecessary-unsafe-in-closure.thir.stderr delete mode 100644 tests/ui/unsafe/issue-47412.mir.stderr create mode 100644 tests/ui/unsafe/issue-47412.stderr delete mode 100644 tests/ui/unsafe/issue-47412.thir.stderr delete mode 100644 tests/ui/unsafe/ranged_ints.mir.stderr create mode 100644 tests/ui/unsafe/ranged_ints.stderr delete mode 100644 tests/ui/unsafe/ranged_ints.thir.stderr delete mode 100644 tests/ui/unsafe/ranged_ints2.mirunsafeck.stderr create mode 100644 tests/ui/unsafe/ranged_ints2.stderr delete mode 100644 tests/ui/unsafe/ranged_ints2.thirunsafeck.stderr delete mode 100644 tests/ui/unsafe/ranged_ints2_const.mirunsafeck.stderr create mode 100644 tests/ui/unsafe/ranged_ints2_const.stderr delete mode 100644 tests/ui/unsafe/ranged_ints2_const.thirunsafeck.stderr delete mode 100644 tests/ui/unsafe/ranged_ints3.mirunsafeck.stderr create mode 100644 tests/ui/unsafe/ranged_ints3.stderr delete mode 100644 tests/ui/unsafe/ranged_ints3.thirunsafeck.stderr delete mode 100644 tests/ui/unsafe/ranged_ints3_const.mirunsafeck.stderr create mode 100644 tests/ui/unsafe/ranged_ints3_const.stderr delete mode 100644 tests/ui/unsafe/ranged_ints3_const.thirunsafeck.stderr delete mode 100644 tests/ui/unsafe/ranged_ints3_match.mirunsafeck.stderr create mode 100644 tests/ui/unsafe/ranged_ints3_match.stderr delete mode 100644 tests/ui/unsafe/ranged_ints3_match.thirunsafeck.stderr delete mode 100644 tests/ui/unsafe/ranged_ints4.mirunsafeck.stderr create mode 100644 tests/ui/unsafe/ranged_ints4.stderr delete mode 100644 tests/ui/unsafe/ranged_ints4.thirunsafeck.stderr delete mode 100644 tests/ui/unsafe/ranged_ints4_const.mirunsafeck.stderr create mode 100644 tests/ui/unsafe/ranged_ints4_const.stderr delete mode 100644 tests/ui/unsafe/ranged_ints4_const.thirunsafeck.stderr delete mode 100644 tests/ui/unsafe/ranged_ints_const.mir.stderr create mode 100644 tests/ui/unsafe/ranged_ints_const.stderr delete mode 100644 tests/ui/unsafe/ranged_ints_const.thir.stderr delete mode 100644 tests/ui/unsafe/rfc-2585-unsafe_op_in_unsafe_fn.mir.stderr delete mode 100644 tests/ui/unsafe/rfc-2585-unsafe_op_in_unsafe_fn.rs delete mode 100644 tests/ui/unsafe/rfc-2585-unsafe_op_in_unsafe_fn.thir.stderr delete mode 100644 tests/ui/unsafe/union-assignop.mirunsafeck.stderr create mode 100644 tests/ui/unsafe/union-assignop.stderr delete mode 100644 tests/ui/unsafe/union-assignop.thirunsafeck.stderr delete mode 100644 tests/ui/unsafe/union.mir.stderr create mode 100644 tests/ui/unsafe/union.stderr delete mode 100644 tests/ui/unsafe/union.thir.stderr delete mode 100644 tests/ui/unsafe/union_destructure.mir.stderr delete mode 100644 tests/ui/unsafe/unsafe-around-compiler-generated-unsafe.mir.stderr create mode 100644 tests/ui/unsafe/unsafe-around-compiler-generated-unsafe.stderr delete mode 100644 tests/ui/unsafe/unsafe-around-compiler-generated-unsafe.thir.stderr delete mode 100644 tests/ui/unsafe/unsafe-assign.mirunsafeck.stderr create mode 100644 tests/ui/unsafe/unsafe-assign.stderr delete mode 100644 tests/ui/unsafe/unsafe-assign.thirunsafeck.stderr delete mode 100644 tests/ui/unsafe/unsafe-borrow.mirunsafeck.stderr create mode 100644 tests/ui/unsafe/unsafe-borrow.stderr delete mode 100644 tests/ui/unsafe/unsafe-borrow.thirunsafeck.stderr delete mode 100644 tests/ui/unsafe/unsafe-const-fn.mir.stderr create mode 100644 tests/ui/unsafe/unsafe-const-fn.stderr delete mode 100644 tests/ui/unsafe/unsafe-const-fn.thir.stderr delete mode 100644 tests/ui/unsafe/unsafe-fn-assign-deref-ptr.mir.stderr create mode 100644 tests/ui/unsafe/unsafe-fn-assign-deref-ptr.stderr delete mode 100644 tests/ui/unsafe/unsafe-fn-assign-deref-ptr.thir.stderr delete mode 100644 tests/ui/unsafe/unsafe-fn-called-from-safe.mir.stderr create mode 100644 tests/ui/unsafe/unsafe-fn-called-from-safe.stderr delete mode 100644 tests/ui/unsafe/unsafe-fn-called-from-safe.thir.stderr delete mode 100644 tests/ui/unsafe/unsafe-fn-deref-ptr.mir.stderr create mode 100644 tests/ui/unsafe/unsafe-fn-deref-ptr.stderr delete mode 100644 tests/ui/unsafe/unsafe-fn-deref-ptr.thir.stderr delete mode 100644 tests/ui/unsafe/unsafe-fn-used-as-value.mir.stderr create mode 100644 tests/ui/unsafe/unsafe-fn-used-as-value.stderr delete mode 100644 tests/ui/unsafe/unsafe-fn-used-as-value.thir.stderr delete mode 100644 tests/ui/unsafe/unsafe-not-inherited.mirunsafeck.stderr create mode 100644 tests/ui/unsafe/unsafe-not-inherited.stderr delete mode 100644 tests/ui/unsafe/unsafe-not-inherited.thirunsafeck.stderr delete mode 100644 tests/ui/unsafe/unsafe-unstable-const-fn.mir.stderr create mode 100644 tests/ui/unsafe/unsafe-unstable-const-fn.stderr delete mode 100644 tests/ui/unsafe/unsafe-unstable-const-fn.thir.stderr rename tests/ui/unsafe/{ => unsafe_op_in_unsafe_fn}/auxiliary/external_unsafe_macro.rs (100%) create mode 100644 tests/ui/unsafe/unsafe_op_in_unsafe_fn/edition_2024_default.rs create mode 100644 tests/ui/unsafe/unsafe_op_in_unsafe_fn/edition_2024_default.stderr create mode 100644 tests/ui/unsafe/unsafe_op_in_unsafe_fn/in_2024_compatibility.rs create mode 100644 tests/ui/unsafe/unsafe_op_in_unsafe_fn/in_2024_compatibility.stderr create mode 100644 tests/ui/unsafe/unsafe_op_in_unsafe_fn/rfc-2585-unsafe_op_in_unsafe_fn.rs create mode 100644 tests/ui/unsafe/unsafe_op_in_unsafe_fn/rfc-2585-unsafe_op_in_unsafe_fn.stderr create mode 100644 tests/ui/unsafe/unsafe_op_in_unsafe_fn/wrapping-unsafe-block-sugg.fixed create mode 100644 tests/ui/unsafe/unsafe_op_in_unsafe_fn/wrapping-unsafe-block-sugg.rs create mode 100644 tests/ui/unsafe/unsafe_op_in_unsafe_fn/wrapping-unsafe-block-sugg.stderr delete mode 100644 tests/ui/unsafe/wrapping-unsafe-block-sugg.mir.fixed delete mode 100644 tests/ui/unsafe/wrapping-unsafe-block-sugg.mir.stderr delete mode 100644 tests/ui/unsafe/wrapping-unsafe-block-sugg.rs delete mode 100644 tests/ui/unsafe/wrapping-unsafe-block-sugg.thir.fixed delete mode 100644 tests/ui/unsafe/wrapping-unsafe-block-sugg.thir.stderr delete mode 100644 tests/ui/unused-crate-deps/test.mk create mode 100644 tests/ui/wf/wf-associated-const.rs create mode 100644 tests/ui/wf/wf-associated-const.stderr delete mode 100644 tests/ui/wf/wf-in-fn-type-implicit.rs delete mode 100644 vendor/aho-corasick-0.7.20/.cargo-checksum.json delete mode 100644 vendor/aho-corasick-0.7.20/COPYING delete mode 100644 vendor/aho-corasick-0.7.20/Cargo.toml delete mode 100644 vendor/aho-corasick-0.7.20/DESIGN.md delete mode 100644 vendor/aho-corasick-0.7.20/LICENSE-MIT delete mode 100644 vendor/aho-corasick-0.7.20/README.md delete mode 100644 vendor/aho-corasick-0.7.20/UNLICENSE delete mode 100644 vendor/aho-corasick-0.7.20/rustfmt.toml delete mode 100644 vendor/aho-corasick-0.7.20/src/ahocorasick.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/automaton.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/buffer.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/byte_frequencies.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/classes.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/dfa.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/error.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/lib.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/nfa.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/packed/api.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/packed/mod.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/packed/pattern.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/packed/rabinkarp.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/packed/teddy/README.md delete mode 100644 vendor/aho-corasick-0.7.20/src/packed/teddy/compile.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/packed/teddy/mod.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/packed/teddy/runtime.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/packed/tests.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/packed/vector.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/prefilter.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/state_id.rs delete mode 100644 vendor/aho-corasick-0.7.20/src/tests.rs create mode 100644 vendor/annotate-snippets-0.9.1/.cargo-checksum.json create mode 100644 vendor/annotate-snippets-0.9.1/CHANGELOG.md create mode 100644 vendor/annotate-snippets-0.9.1/Cargo.lock create mode 100644 vendor/annotate-snippets-0.9.1/Cargo.toml create mode 100644 vendor/annotate-snippets-0.9.1/LICENSE-APACHE create mode 100644 vendor/annotate-snippets-0.9.1/LICENSE-MIT create mode 100644 vendor/annotate-snippets-0.9.1/README.md create mode 100644 vendor/annotate-snippets-0.9.1/benches/simple.rs create mode 100644 vendor/annotate-snippets-0.9.1/examples/expected_type.rs create mode 100644 vendor/annotate-snippets-0.9.1/examples/footer.rs create mode 100644 vendor/annotate-snippets-0.9.1/examples/format.rs create mode 100644 vendor/annotate-snippets-0.9.1/examples/multislice.rs rename vendor/{annotate-snippets => annotate-snippets-0.9.1}/src/display_list/from_snippet.rs (100%) rename vendor/{annotate-snippets => annotate-snippets-0.9.1}/src/display_list/mod.rs (100%) rename vendor/{annotate-snippets => annotate-snippets-0.9.1}/src/display_list/structs.rs (100%) rename vendor/{annotate-snippets => annotate-snippets-0.9.1}/src/formatter/mod.rs (100%) rename vendor/{annotate-snippets => annotate-snippets-0.9.1}/src/formatter/style.rs (100%) create mode 100644 vendor/annotate-snippets-0.9.1/src/lib.rs create mode 100644 vendor/annotate-snippets-0.9.1/src/snippet.rs rename vendor/{annotate-snippets => annotate-snippets-0.9.1}/src/stylesheets/color.rs (100%) rename vendor/{annotate-snippets => annotate-snippets-0.9.1}/src/stylesheets/mod.rs (100%) rename vendor/{annotate-snippets => annotate-snippets-0.9.1}/src/stylesheets/no_color.rs (100%) create mode 100644 vendor/annotate-snippets-0.9.1/tests/diff/mod.rs rename vendor/{annotate-snippets => annotate-snippets-0.9.1}/tests/dl_from_snippet.rs (100%) create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures/no-color/issue_9.toml create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures/no-color/issue_9.txt create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures/no-color/multiline_annotation.toml create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures/no-color/multiline_annotation.txt create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures/no-color/multiline_annotation2.toml create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures/no-color/multiline_annotation2.txt create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures/no-color/multiline_annotation3.toml create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures/no-color/multiline_annotation3.txt create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures/no-color/multiple_annotations.toml create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures/no-color/multiple_annotations.txt create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures/no-color/simple.toml create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures/no-color/simple.txt create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures/no-color/strip_line.toml create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures/no-color/strip_line.txt create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures/no-color/strip_line_char.toml create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures/no-color/strip_line_char.txt create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures/no-color/strip_line_non_ws.toml create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures/no-color/strip_line_non_ws.txt create mode 100644 vendor/annotate-snippets-0.9.1/tests/fixtures_test.rs create mode 100644 vendor/annotate-snippets-0.9.1/tests/formatter.rs rename vendor/{annotate-snippets => annotate-snippets-0.9.1}/tests/snippet/mod.rs (100%) create mode 100644 vendor/annotate-snippets/committed.toml create mode 100644 vendor/annotate-snippets/deny.toml create mode 100644 vendor/annotate-snippets/release.toml create mode 100644 vendor/annotate-snippets/src/renderer/display_list.rs create mode 100644 vendor/annotate-snippets/src/renderer/margin.rs create mode 100644 vendor/annotate-snippets/src/renderer/mod.rs create mode 100644 vendor/annotate-snippets/src/renderer/stylesheet.rs create mode 100644 vendor/annotate-snippets/tests/deserialize/mod.rs create mode 100644 vendor/annotate-snippets/tests/fixtures/no-color/issue_52.toml create mode 100644 vendor/annotate-snippets/tests/fixtures/no-color/issue_52.txt create mode 100644 vendor/annotate-snippets/tests/fixtures/no-color/one_past.toml create mode 100644 vendor/annotate-snippets/tests/fixtures/no-color/one_past.txt create mode 100644 vendor/anyhow/build/probe.rs delete mode 100644 vendor/askama_derive/src/parser/expr.rs delete mode 100644 vendor/askama_derive/src/parser/mod.rs delete mode 100644 vendor/askama_derive/src/parser/node.rs delete mode 100644 vendor/askama_derive/src/parser/tests.rs create mode 100644 vendor/askama_parser/.cargo-checksum.json create mode 100644 vendor/askama_parser/Cargo.toml create mode 100644 vendor/askama_parser/LICENSE-APACHE create mode 100644 vendor/askama_parser/LICENSE-MIT create mode 100644 vendor/askama_parser/README.md create mode 100644 vendor/askama_parser/src/expr.rs create mode 100644 vendor/askama_parser/src/lib.rs create mode 100644 vendor/askama_parser/src/node.rs create mode 100644 vendor/askama_parser/src/tests.rs create mode 100644 vendor/askama_parser/tests/target-recursion.txt create mode 100644 vendor/askama_parser/tests/unary-recursion.txt create mode 100644 vendor/cc-1.0.73/.cargo-checksum.json create mode 100644 vendor/cc-1.0.73/Cargo.lock create mode 100644 vendor/cc-1.0.73/Cargo.toml rename vendor/{tar-0.4.38 => cc-1.0.73}/LICENSE-APACHE (100%) rename vendor/{tar-0.4.38 => cc-1.0.73}/LICENSE-MIT (100%) create mode 100644 vendor/cc-1.0.73/README.md create mode 100644 vendor/cc-1.0.73/src/bin/gcc-shim.rs create mode 100644 vendor/cc-1.0.73/src/com.rs create mode 100644 vendor/cc-1.0.73/src/lib.rs create mode 100644 vendor/cc-1.0.73/src/registry.rs create mode 100644 vendor/cc-1.0.73/src/setup_config.rs create mode 100644 vendor/cc-1.0.73/src/vs_instances.rs create mode 100644 vendor/cc-1.0.73/src/winapi.rs create mode 100644 vendor/cc-1.0.73/src/windows_registry.rs create mode 100644 vendor/cc-1.0.73/tests/cc_env.rs create mode 100644 vendor/cc-1.0.73/tests/cflags.rs create mode 100644 vendor/cc-1.0.73/tests/cxxflags.rs create mode 100644 vendor/cc-1.0.73/tests/support/mod.rs create mode 100644 vendor/cc-1.0.73/tests/test.rs create mode 100644 vendor/compiler_builtins/src/hexagon.rs create mode 100644 vendor/compiler_builtins/src/hexagon/dfaddsub.s create mode 100644 vendor/compiler_builtins/src/hexagon/dfdiv.s create mode 100644 vendor/compiler_builtins/src/hexagon/dffma.s create mode 100644 vendor/compiler_builtins/src/hexagon/dfminmax.s create mode 100644 vendor/compiler_builtins/src/hexagon/dfmul.s create mode 100644 vendor/compiler_builtins/src/hexagon/dfsqrt.s create mode 100644 vendor/compiler_builtins/src/hexagon/divdi3.s create mode 100644 vendor/compiler_builtins/src/hexagon/divsi3.s create mode 100644 vendor/compiler_builtins/src/hexagon/fastmath2_dlib_asm.s create mode 100644 vendor/compiler_builtins/src/hexagon/fastmath2_ldlib_asm.s create mode 100644 vendor/compiler_builtins/src/hexagon/func_macro.s create mode 100644 vendor/compiler_builtins/src/hexagon/memcpy_forward_vp4cp4n2.s create mode 100644 vendor/compiler_builtins/src/hexagon/memcpy_likely_aligned.s create mode 100644 vendor/compiler_builtins/src/hexagon/moddi3.s create mode 100644 vendor/compiler_builtins/src/hexagon/modsi3.s create mode 100644 vendor/compiler_builtins/src/hexagon/sfdiv_opt.s create mode 100644 vendor/compiler_builtins/src/hexagon/sfsqrt_opt.s create mode 100644 vendor/compiler_builtins/src/hexagon/udivdi3.s create mode 100644 vendor/compiler_builtins/src/hexagon/udivmoddi4.s create mode 100644 vendor/compiler_builtins/src/hexagon/udivmodsi4.s create mode 100644 vendor/compiler_builtins/src/hexagon/udivsi3.s create mode 100644 vendor/compiler_builtins/src/hexagon/umoddi3.s create mode 100644 vendor/compiler_builtins/src/hexagon/umodsi3.s delete mode 100644 vendor/crossbeam-epoch/build-common.rs delete mode 100644 vendor/crossbeam-epoch/build.rs delete mode 100644 vendor/crossbeam-epoch/no_atomic.rs create mode 100644 vendor/erased-serde/src/sealed.rs delete mode 100644 vendor/faster-hex-0.8.1/.cargo-checksum.json delete mode 100644 vendor/faster-hex-0.8.1/Cargo.toml delete mode 100644 vendor/faster-hex-0.8.1/LICENSE delete mode 100644 vendor/faster-hex-0.8.1/LICENSE-THIRD-PARTY/Rust Project Developers delete mode 100644 vendor/faster-hex-0.8.1/LICENSE-THIRD-PARTY/fast-hex delete mode 100644 vendor/faster-hex-0.8.1/README.md delete mode 100644 vendor/faster-hex-0.8.1/src/decode.rs delete mode 100644 vendor/faster-hex-0.8.1/src/encode.rs delete mode 100644 vendor/faster-hex-0.8.1/src/error.rs delete mode 100644 vendor/faster-hex-0.8.1/src/lib.rs delete mode 100644 vendor/faster-hex-0.8.1/src/serde.rs delete mode 100644 vendor/gix-features-0.35.0/.cargo-checksum.json delete mode 100644 vendor/gix-features-0.35.0/CHANGELOG.md delete mode 100644 vendor/gix-features-0.35.0/Cargo.toml delete mode 100644 vendor/gix-features-0.35.0/LICENSE-APACHE delete mode 100644 vendor/gix-features-0.35.0/LICENSE-MIT delete mode 100644 vendor/gix-features-0.35.0/src/cache.rs delete mode 100644 vendor/gix-features-0.35.0/src/decode.rs delete mode 100644 vendor/gix-features-0.35.0/src/fs.rs delete mode 100644 vendor/gix-features-0.35.0/src/hash.rs delete mode 100644 vendor/gix-features-0.35.0/src/interrupt.rs delete mode 100644 vendor/gix-features-0.35.0/src/io.rs delete mode 100644 vendor/gix-features-0.35.0/src/lib.rs delete mode 100644 vendor/gix-features-0.35.0/src/parallel/eager_iter.rs delete mode 100644 vendor/gix-features-0.35.0/src/parallel/in_order.rs delete mode 100644 vendor/gix-features-0.35.0/src/parallel/in_parallel.rs delete mode 100644 vendor/gix-features-0.35.0/src/parallel/mod.rs delete mode 100644 vendor/gix-features-0.35.0/src/parallel/reduce.rs delete mode 100644 vendor/gix-features-0.35.0/src/parallel/serial.rs delete mode 100644 vendor/gix-features-0.35.0/src/progress.rs delete mode 100644 vendor/gix-features-0.35.0/src/threading.rs delete mode 100644 vendor/gix-features-0.35.0/src/zlib/mod.rs delete mode 100644 vendor/gix-features-0.35.0/src/zlib/stream/deflate/mod.rs delete mode 100644 vendor/gix-features-0.35.0/src/zlib/stream/deflate/tests.rs delete mode 100644 vendor/gix-features-0.35.0/src/zlib/stream/inflate.rs delete mode 100644 vendor/gix-features-0.35.0/src/zlib/stream/mod.rs delete mode 100644 vendor/gix-features-0.35.0/tests/features.rs delete mode 100644 vendor/gix-features-0.35.0/tests/hash.rs delete mode 100644 vendor/gix-features-0.35.0/tests/parallel/in_order_iter.rs delete mode 100644 vendor/gix-features-0.35.0/tests/parallel/mod.rs delete mode 100644 vendor/gix-features-0.35.0/tests/parallel_shared.rs delete mode 100644 vendor/gix-features-0.35.0/tests/parallel_shared_threaded.rs delete mode 100644 vendor/gix-features-0.35.0/tests/parallel_threaded.rs delete mode 100644 vendor/gix-features-0.35.0/tests/pipe.rs delete mode 100644 vendor/gix-features-0.35.0/tests/trace/mod.rs create mode 100644 vendor/gix/src/config/tree/sections/mailmap.rs create mode 100644 vendor/gix/src/config/tree/sections/push.rs create mode 100644 vendor/gix/src/push.rs create mode 100644 vendor/gix/src/repository/config/branch.rs create mode 100644 vendor/gix/src/repository/config/remote.rs delete mode 100644 vendor/handlebars-3.5.5/.cargo-checksum.json delete mode 100644 vendor/handlebars-3.5.5/CHANGELOG.md delete mode 100644 vendor/handlebars-3.5.5/Cargo.lock delete mode 100644 vendor/handlebars-3.5.5/Cargo.toml delete mode 100644 vendor/handlebars-3.5.5/README.md delete mode 100644 vendor/handlebars-3.5.5/benches/bench.rs delete mode 100644 vendor/handlebars-3.5.5/examples/decorator/template.hbs delete mode 100644 vendor/handlebars-3.5.5/examples/error.rs delete mode 100644 vendor/handlebars-3.5.5/examples/error/template.hbs delete mode 100644 vendor/handlebars-3.5.5/examples/partials.rs delete mode 100644 vendor/handlebars-3.5.5/examples/partials/template2.hbs delete mode 100644 vendor/handlebars-3.5.5/examples/render.rs delete mode 100644 vendor/handlebars-3.5.5/examples/render/template.hbs delete mode 100644 vendor/handlebars-3.5.5/examples/render_file/template.hbs delete mode 100644 vendor/handlebars-3.5.5/examples/script/goals.rhai delete mode 100644 vendor/handlebars-3.5.5/examples/script/template.hbs delete mode 100644 vendor/handlebars-3.5.5/release.toml delete mode 100644 vendor/handlebars-3.5.5/src/context.rs delete mode 100644 vendor/handlebars-3.5.5/src/decorators/mod.rs delete mode 100644 vendor/handlebars-3.5.5/src/error.rs delete mode 100644 vendor/handlebars-3.5.5/src/helpers/helper_boolean.rs delete mode 100644 vendor/handlebars-3.5.5/src/helpers/helper_if.rs delete mode 100644 vendor/handlebars-3.5.5/src/helpers/helper_lookup.rs delete mode 100644 vendor/handlebars-3.5.5/src/helpers/mod.rs delete mode 100644 vendor/handlebars-3.5.5/src/lib.rs delete mode 100644 vendor/handlebars-3.5.5/src/macros.rs delete mode 100644 vendor/handlebars-3.5.5/src/output.rs delete mode 100644 vendor/handlebars-3.5.5/src/partial.rs delete mode 100644 vendor/handlebars-3.5.5/src/registry.rs delete mode 100644 vendor/handlebars-3.5.5/src/render.rs delete mode 100644 vendor/handlebars-3.5.5/src/support.rs delete mode 100644 vendor/handlebars-3.5.5/src/template.rs delete mode 100644 vendor/handlebars-3.5.5/tests/escape.rs delete mode 100644 vendor/handlebars-3.5.5/tests/helper_macro.rs delete mode 100644 vendor/handlebars-3.5.5/tests/helper_with_space.rs delete mode 100644 vendor/handlebars-3.5.5/tests/subexpression.rs create mode 100644 vendor/handlebars-4.3.7/.cargo-checksum.json create mode 100644 vendor/handlebars-4.3.7/CHANGELOG.md create mode 100644 vendor/handlebars-4.3.7/Cargo.lock create mode 100644 vendor/handlebars-4.3.7/Cargo.toml rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/LICENSE (100%) create mode 100644 vendor/handlebars-4.3.7/README.md create mode 100644 vendor/handlebars-4.3.7/benches/bench.rs rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/build-wasm.sh (100%) rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/examples/decorator.rs (95%) create mode 100644 vendor/handlebars-4.3.7/examples/decorator/template.hbs create mode 100644 vendor/handlebars-4.3.7/examples/dev_mode.rs create mode 100644 vendor/handlebars-4.3.7/examples/dev_mode/template.hbs create mode 100644 vendor/handlebars-4.3.7/examples/error.rs rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/examples/error/error.hbs (100%) create mode 100644 vendor/handlebars-4.3.7/examples/error/template.hbs create mode 100644 vendor/handlebars-4.3.7/examples/helper_macro.rs create mode 100644 vendor/handlebars-4.3.7/examples/partials.rs rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/examples/partials/base0.hbs (86%) rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/examples/partials/base1.hbs (86%) create mode 100644 vendor/handlebars-4.3.7/examples/partials/template2.hbs rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/examples/quick.rs (100%) create mode 100644 vendor/handlebars-4.3.7/examples/render.rs create mode 100644 vendor/handlebars-4.3.7/examples/render/template.hbs rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/examples/render_cli/simple.hbs (100%) rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/examples/render_file.rs (92%) create mode 100644 vendor/handlebars-4.3.7/examples/render_file/template.hbs rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/examples/script.rs (80%) create mode 100644 vendor/handlebars-4.3.7/examples/script/goals.rhai create mode 100644 vendor/handlebars-4.3.7/examples/script/template.hbs rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/profile.sh (100%) create mode 100644 vendor/handlebars-4.3.7/release.toml rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/rustfmt.toml (100%) rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/src/block.rs (92%) rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/src/cli.rs (88%) create mode 100644 vendor/handlebars-4.3.7/src/context.rs rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/src/decorators/inline.rs (81%) create mode 100644 vendor/handlebars-4.3.7/src/decorators/mod.rs create mode 100644 vendor/handlebars-4.3.7/src/error.rs rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/src/grammar.pest (80%) rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/src/grammar.rs (93%) rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/src/helpers/block_util.rs (81%) rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/src/helpers/helper_each.rs (79%) create mode 100644 vendor/handlebars-4.3.7/src/helpers/helper_extras.rs create mode 100644 vendor/handlebars-4.3.7/src/helpers/helper_if.rs rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/src/helpers/helper_log.rs (100%) create mode 100644 vendor/handlebars-4.3.7/src/helpers/helper_lookup.rs rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/src/helpers/helper_raw.rs (100%) rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/src/helpers/helper_with.rs (84%) create mode 100644 vendor/handlebars-4.3.7/src/helpers/mod.rs rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/src/helpers/scripting.rs (83%) rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/src/json/mod.rs (100%) rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/src/json/path.rs (93%) rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/src/json/value.rs (98%) create mode 100644 vendor/handlebars-4.3.7/src/lib.rs create mode 100644 vendor/handlebars-4.3.7/src/local_vars.rs create mode 100644 vendor/handlebars-4.3.7/src/macros.rs create mode 100644 vendor/handlebars-4.3.7/src/output.rs create mode 100644 vendor/handlebars-4.3.7/src/partial.rs create mode 100644 vendor/handlebars-4.3.7/src/registry.rs create mode 100644 vendor/handlebars-4.3.7/src/render.rs create mode 100644 vendor/handlebars-4.3.7/src/sources.rs create mode 100644 vendor/handlebars-4.3.7/src/support.rs create mode 100644 vendor/handlebars-4.3.7/src/template.rs rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/src/util.rs (100%) rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/tests/block_context.rs (100%) rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/tests/data_helper.rs (100%) create mode 100644 vendor/handlebars-4.3.7/tests/embed.rs create mode 100644 vendor/handlebars-4.3.7/tests/escape.rs rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/tests/helper_function_lifetime.rs (100%) create mode 100644 vendor/handlebars-4.3.7/tests/helper_macro.rs create mode 100644 vendor/handlebars-4.3.7/tests/helper_with_space.rs rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/tests/root_var.rs (100%) create mode 100644 vendor/handlebars-4.3.7/tests/subexpression.rs rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/tests/template_names.rs (100%) create mode 100644 vendor/handlebars-4.3.7/tests/templates/hello.hbs create mode 100644 vendor/handlebars-4.3.7/tests/whitespace.rs rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/wasm/LICENSE (100%) rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/wasm/README.md (100%) rename vendor/{handlebars-3.5.5 => handlebars-4.3.7}/wasm/wapm.toml (100%) create mode 100644 vendor/handlebars/src/helpers/string_helpers/mod.rs delete mode 100644 vendor/libloading-0.7.4/.cargo-checksum.json delete mode 100644 vendor/libloading-0.7.4/Cargo.toml delete mode 100644 vendor/libloading-0.7.4/LICENSE delete mode 100644 vendor/libloading-0.7.4/README.mkd delete mode 100644 vendor/libloading-0.7.4/src/changelog.rs delete mode 100644 vendor/libloading-0.7.4/src/error.rs delete mode 100644 vendor/libloading-0.7.4/src/lib.rs delete mode 100644 vendor/libloading-0.7.4/src/os/mod.rs delete mode 100644 vendor/libloading-0.7.4/src/os/unix/consts.rs delete mode 100644 vendor/libloading-0.7.4/src/os/unix/mod.rs delete mode 100644 vendor/libloading-0.7.4/src/os/windows/mod.rs delete mode 100644 vendor/libloading-0.7.4/src/safe.rs delete mode 100644 vendor/libloading-0.7.4/src/test_helpers.rs delete mode 100644 vendor/libloading-0.7.4/src/util.rs delete mode 100644 vendor/libloading-0.7.4/tests/constants.rs delete mode 100644 vendor/libloading-0.7.4/tests/functions.rs delete mode 100644 vendor/libloading-0.7.4/tests/library_filename.rs delete mode 100644 vendor/libloading-0.7.4/tests/markers.rs delete mode 100644 vendor/libloading-0.7.4/tests/windows.rs create mode 100644 vendor/lsp-server/.cargo-checksum.json create mode 100644 vendor/lsp-server/Cargo.lock create mode 100644 vendor/lsp-server/Cargo.toml create mode 100644 vendor/lsp-server/examples/goto_def.rs create mode 100644 vendor/lsp-server/src/error.rs create mode 100644 vendor/lsp-server/src/lib.rs create mode 100644 vendor/lsp-server/src/msg.rs create mode 100644 vendor/lsp-server/src/req_queue.rs create mode 100644 vendor/lsp-server/src/socket.rs create mode 100644 vendor/lsp-server/src/stdio.rs mode change 100644 => 100755 vendor/lsp-types/release.sh create mode 100644 vendor/lsp-types/src/document_diagnostic.rs create mode 100644 vendor/lsp-types/src/inline_completion.rs create mode 100644 vendor/lsp-types/src/workspace_diagnostic.rs delete mode 100644 vendor/object/src/write/coff.rs create mode 100644 vendor/object/src/write/coff/mod.rs create mode 100644 vendor/object/src/write/coff/object.rs create mode 100644 vendor/object/src/write/coff/writer.rs create mode 100644 vendor/proc-macro2/build/probe.rs delete mode 100644 vendor/quick-error-1.2.3/.cargo-checksum.json delete mode 100644 vendor/quick-error-1.2.3/Cargo.lock delete mode 100644 vendor/quick-error-1.2.3/Cargo.toml delete mode 100644 vendor/quick-error-1.2.3/LICENSE-APACHE delete mode 100644 vendor/quick-error-1.2.3/LICENSE-MIT delete mode 100644 vendor/quick-error-1.2.3/README.rst delete mode 100644 vendor/quick-error-1.2.3/bulk.yaml delete mode 100644 vendor/quick-error-1.2.3/examples/context.rs delete mode 100644 vendor/quick-error-1.2.3/src/lib.rs delete mode 100644 vendor/quick-error-1.2.3/vagga.yaml delete mode 100644 vendor/ra-ap-rustc_abi/.cargo-checksum.json delete mode 100644 vendor/ra-ap-rustc_abi/Cargo.toml delete mode 100644 vendor/ra-ap-rustc_abi/src/layout.rs delete mode 100644 vendor/ra-ap-rustc_abi/src/lib.rs delete mode 100644 vendor/ra-ap-rustc_index/.cargo-checksum.json delete mode 100644 vendor/ra-ap-rustc_index/Cargo.toml delete mode 100644 vendor/ra-ap-rustc_index/src/bit_set.rs delete mode 100644 vendor/ra-ap-rustc_index/src/bit_set/tests.rs delete mode 100644 vendor/ra-ap-rustc_index/src/idx.rs delete mode 100644 vendor/ra-ap-rustc_index/src/interval.rs delete mode 100644 vendor/ra-ap-rustc_index/src/interval/tests.rs delete mode 100644 vendor/ra-ap-rustc_index/src/lib.rs delete mode 100644 vendor/ra-ap-rustc_index/src/slice.rs delete mode 100644 vendor/ra-ap-rustc_index/src/vec.rs delete mode 100644 vendor/ra-ap-rustc_index/src/vec/tests.rs delete mode 100644 vendor/ra-ap-rustc_index_macros/.cargo-checksum.json delete mode 100644 vendor/ra-ap-rustc_index_macros/Cargo.toml delete mode 100644 vendor/ra-ap-rustc_index_macros/src/lib.rs delete mode 100644 vendor/ra-ap-rustc_index_macros/src/newtype.rs delete mode 100644 vendor/ra-ap-rustc_parse_format/.cargo-checksum.json delete mode 100644 vendor/ra-ap-rustc_parse_format/Cargo.toml delete mode 100644 vendor/ra-ap-rustc_parse_format/src/lib.rs delete mode 100644 vendor/ra-ap-rustc_parse_format/src/tests.rs create mode 100644 vendor/rust-analyzer-salsa/src/hash.rs create mode 100644 vendor/rustix/src/buffer.rs create mode 100644 vendor/ryu/tests/d2s_intrinsics_test.rs create mode 100644 vendor/snapbox/examples/diff.rs create mode 100644 vendor/syn/tests/test_parse_quote.rs delete mode 100644 vendor/sysinfo-0.26.7/.cargo-checksum.json delete mode 100644 vendor/sysinfo-0.26.7/CHANGELOG.md delete mode 100644 vendor/sysinfo-0.26.7/Cargo.lock delete mode 100644 vendor/sysinfo-0.26.7/Cargo.toml delete mode 100644 vendor/sysinfo-0.26.7/Makefile delete mode 100644 vendor/sysinfo-0.26.7/README.md delete mode 100644 vendor/sysinfo-0.26.7/examples/simple.c delete mode 100644 vendor/sysinfo-0.26.7/examples/simple.rs delete mode 100644 vendor/sysinfo-0.26.7/src/apple/app_store/process.rs delete mode 100644 vendor/sysinfo-0.26.7/src/apple/cpu.rs delete mode 100644 vendor/sysinfo-0.26.7/src/apple/disk.rs delete mode 100644 vendor/sysinfo-0.26.7/src/apple/macos/component/x86.rs delete mode 100644 vendor/sysinfo-0.26.7/src/apple/macos/disk.rs delete mode 100644 vendor/sysinfo-0.26.7/src/apple/macos/ffi.rs delete mode 100644 vendor/sysinfo-0.26.7/src/apple/macos/mod.rs delete mode 100644 vendor/sysinfo-0.26.7/src/apple/macos/process.rs delete mode 100644 vendor/sysinfo-0.26.7/src/apple/macos/system.rs delete mode 100644 vendor/sysinfo-0.26.7/src/apple/network.rs delete mode 100644 vendor/sysinfo-0.26.7/src/apple/process.rs delete mode 100644 vendor/sysinfo-0.26.7/src/apple/system.rs delete mode 100644 vendor/sysinfo-0.26.7/src/apple/users.rs delete mode 100644 vendor/sysinfo-0.26.7/src/freebsd/disk.rs delete mode 100644 vendor/sysinfo-0.26.7/src/freebsd/network.rs delete mode 100644 vendor/sysinfo-0.26.7/src/freebsd/process.rs delete mode 100644 vendor/sysinfo-0.26.7/src/freebsd/system.rs delete mode 100644 vendor/sysinfo-0.26.7/src/freebsd/utils.rs delete mode 100644 vendor/sysinfo-0.26.7/src/lib.rs delete mode 100644 vendor/sysinfo-0.26.7/src/linux/component.rs delete mode 100644 vendor/sysinfo-0.26.7/src/linux/cpu.rs delete mode 100644 vendor/sysinfo-0.26.7/src/linux/disk.rs delete mode 100644 vendor/sysinfo-0.26.7/src/linux/network.rs delete mode 100644 vendor/sysinfo-0.26.7/src/linux/process.rs delete mode 100644 vendor/sysinfo-0.26.7/src/linux/system.rs delete mode 100644 vendor/sysinfo-0.26.7/src/linux/utils.rs delete mode 100644 vendor/sysinfo-0.26.7/src/macros.rs delete mode 100644 vendor/sysinfo-0.26.7/src/sysinfo.h delete mode 100644 vendor/sysinfo-0.26.7/src/system.rs delete mode 100644 vendor/sysinfo-0.26.7/src/traits.rs delete mode 100644 vendor/sysinfo-0.26.7/src/unknown/disk.rs delete mode 100644 vendor/sysinfo-0.26.7/src/unknown/network.rs delete mode 100644 vendor/sysinfo-0.26.7/src/unknown/process.rs delete mode 100644 vendor/sysinfo-0.26.7/src/unknown/system.rs delete mode 100644 vendor/sysinfo-0.26.7/src/users.rs delete mode 100644 vendor/sysinfo-0.26.7/src/utils.rs delete mode 100644 vendor/sysinfo-0.26.7/src/windows/cpu.rs delete mode 100644 vendor/sysinfo-0.26.7/src/windows/disk.rs delete mode 100644 vendor/sysinfo-0.26.7/src/windows/mod.rs delete mode 100644 vendor/sysinfo-0.26.7/src/windows/network.rs delete mode 100644 vendor/sysinfo-0.26.7/src/windows/process.rs delete mode 100644 vendor/sysinfo-0.26.7/src/windows/system.rs delete mode 100644 vendor/sysinfo-0.26.7/src/windows/users.rs delete mode 100644 vendor/sysinfo-0.26.7/src/windows/utils.rs delete mode 100644 vendor/sysinfo-0.26.7/tests/code_checkers/utils.rs delete mode 100644 vendor/sysinfo-0.26.7/tests/process.rs create mode 100644 vendor/sysinfo-0.29.11/.cargo-checksum.json rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/ADDING_NEW_PLATFORMS.md (100%) create mode 100644 vendor/sysinfo-0.29.11/CHANGELOG.md create mode 100644 vendor/sysinfo-0.29.11/Cargo.lock create mode 100644 vendor/sysinfo-0.29.11/Cargo.toml rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/LICENSE (100%) create mode 100644 vendor/sysinfo-0.29.11/Makefile create mode 100644 vendor/sysinfo-0.29.11/README.md rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/benches/basic.rs (100%) create mode 100644 vendor/sysinfo-0.29.11/examples/simple.c create mode 100644 vendor/sysinfo-0.29.11/examples/simple.rs rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/md_doc/component.md (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/md_doc/cpu.md (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/md_doc/disk.md (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/md_doc/network_data.md (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/md_doc/networks.md (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/md_doc/pid.md (98%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/md_doc/process.md (100%) create mode 100644 vendor/sysinfo-0.29.11/md_doc/serde.md create mode 100644 vendor/sysinfo-0.29.11/md_doc/sid.md rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/md_doc/system.md (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/apple/app_store/component.rs (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/apple/app_store/mod.rs (100%) rename vendor/{sysinfo => sysinfo-0.29.11}/src/apple/app_store/process.rs (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/apple/component.rs (100%) create mode 100644 vendor/sysinfo-0.29.11/src/apple/cpu.rs rename vendor/{sysinfo => sysinfo-0.29.11}/src/apple/disk.rs (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/apple/ffi.rs (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/apple/ios.rs (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/apple/macos/component/arm.rs (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/apple/macos/component/mod.rs (100%) create mode 100644 vendor/sysinfo-0.29.11/src/apple/macos/component/x86.rs create mode 100644 vendor/sysinfo-0.29.11/src/apple/macos/cpu.rs rename vendor/{sysinfo => sysinfo-0.29.11}/src/apple/macos/disk.rs (100%) create mode 100644 vendor/sysinfo-0.29.11/src/apple/macos/ffi.rs create mode 100644 vendor/sysinfo-0.29.11/src/apple/macos/mod.rs create mode 100644 vendor/sysinfo-0.29.11/src/apple/macos/process.rs create mode 100644 vendor/sysinfo-0.29.11/src/apple/macos/system.rs rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/apple/macos/utils.rs (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/apple/mod.rs (100%) rename vendor/{sysinfo => sysinfo-0.29.11}/src/apple/network.rs (100%) rename vendor/{sysinfo => sysinfo-0.29.11}/src/apple/process.rs (100%) create mode 100644 vendor/sysinfo-0.29.11/src/apple/system.rs rename vendor/{sysinfo => sysinfo-0.29.11}/src/apple/users.rs (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/apple/utils.rs (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/c_interface.rs (98%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/common.rs (84%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/debug.rs (99%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/freebsd/component.rs (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/freebsd/cpu.rs (100%) rename vendor/{sysinfo => sysinfo-0.29.11}/src/freebsd/disk.rs (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/freebsd/mod.rs (100%) rename vendor/{sysinfo => sysinfo-0.29.11}/src/freebsd/network.rs (100%) rename vendor/{sysinfo => sysinfo-0.29.11}/src/freebsd/process.rs (100%) create mode 100644 vendor/sysinfo-0.29.11/src/freebsd/system.rs rename vendor/{sysinfo => sysinfo-0.29.11}/src/freebsd/utils.rs (100%) create mode 100644 vendor/sysinfo-0.29.11/src/lib.rs create mode 100644 vendor/sysinfo-0.29.11/src/linux/component.rs rename vendor/{sysinfo => sysinfo-0.29.11}/src/linux/cpu.rs (100%) rename vendor/{sysinfo => sysinfo-0.29.11}/src/linux/disk.rs (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/linux/mod.rs (100%) rename vendor/{sysinfo => sysinfo-0.29.11}/src/linux/network.rs (100%) create mode 100644 vendor/sysinfo-0.29.11/src/linux/process.rs create mode 100644 vendor/sysinfo-0.29.11/src/linux/system.rs rename vendor/{sysinfo => sysinfo-0.29.11}/src/linux/utils.rs (100%) create mode 100644 vendor/sysinfo-0.29.11/src/macros.rs create mode 100644 vendor/sysinfo-0.29.11/src/network.rs rename vendor/{sysinfo => sysinfo-0.29.11}/src/network_helper_nix.rs (100%) rename vendor/{sysinfo => sysinfo-0.29.11}/src/network_helper_win.rs (78%) create mode 100644 vendor/sysinfo-0.29.11/src/serde.rs create mode 100644 vendor/sysinfo-0.29.11/src/sysinfo.h rename vendor/{sysinfo => sysinfo-0.29.11}/src/system.rs (100%) create mode 100644 vendor/sysinfo-0.29.11/src/traits.rs rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/unknown/component.rs (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/unknown/cpu.rs (100%) create mode 100644 vendor/sysinfo-0.29.11/src/unknown/disk.rs rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/unknown/mod.rs (100%) create mode 100644 vendor/sysinfo-0.29.11/src/unknown/network.rs create mode 100644 vendor/sysinfo-0.29.11/src/unknown/process.rs create mode 100644 vendor/sysinfo-0.29.11/src/unknown/system.rs create mode 100644 vendor/sysinfo-0.29.11/src/users.rs create mode 100644 vendor/sysinfo-0.29.11/src/utils.rs rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/windows/component.rs (100%) create mode 100644 vendor/sysinfo-0.29.11/src/windows/cpu.rs create mode 100644 vendor/sysinfo-0.29.11/src/windows/disk.rs create mode 100644 vendor/sysinfo-0.29.11/src/windows/mod.rs create mode 100644 vendor/sysinfo-0.29.11/src/windows/network.rs create mode 100644 vendor/sysinfo-0.29.11/src/windows/process.rs create mode 100644 vendor/sysinfo-0.29.11/src/windows/sid.rs create mode 100644 vendor/sysinfo-0.29.11/src/windows/system.rs rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/src/windows/tools.rs (100%) create mode 100644 vendor/sysinfo-0.29.11/src/windows/users.rs create mode 100644 vendor/sysinfo-0.29.11/src/windows/utils.rs rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/tests/code_checkers/docs.rs (97%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/tests/code_checkers/headers.rs (96%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/tests/code_checkers/mod.rs (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/tests/code_checkers/signals.rs (100%) create mode 100644 vendor/sysinfo-0.29.11/tests/code_checkers/utils.rs rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/tests/cpu.rs (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/tests/disk_list.rs (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/tests/extras.rs (100%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/tests/network.rs (100%) create mode 100644 vendor/sysinfo-0.29.11/tests/process.rs rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/tests/send_sync.rs (83%) rename vendor/{sysinfo-0.26.7 => sysinfo-0.29.11}/tests/uptime.rs (100%) delete mode 100644 vendor/sysinfo/md_doc/component.md delete mode 100644 vendor/sysinfo/md_doc/cpu.md delete mode 100644 vendor/sysinfo/md_doc/disk.md create mode 100644 vendor/sysinfo/md_doc/is_supported.md create mode 100644 vendor/sysinfo/md_doc/minimum_cpu_update_interval.md delete mode 100644 vendor/sysinfo/md_doc/network_data.md delete mode 100644 vendor/sysinfo/md_doc/networks.md delete mode 100644 vendor/sysinfo/md_doc/process.md create mode 100644 vendor/sysinfo/md_doc/supported_signals.md delete mode 100644 vendor/sysinfo/md_doc/system.md create mode 100644 vendor/sysinfo/migration_guide.md delete mode 100644 vendor/sysinfo/src/apple/app_store/component.rs delete mode 100644 vendor/sysinfo/src/apple/component.rs delete mode 100644 vendor/sysinfo/src/apple/cpu.rs delete mode 100644 vendor/sysinfo/src/apple/ffi.rs delete mode 100644 vendor/sysinfo/src/apple/macos/component/mod.rs delete mode 100644 vendor/sysinfo/src/apple/macos/component/x86.rs delete mode 100644 vendor/sysinfo/src/apple/macos/ffi.rs delete mode 100644 vendor/sysinfo/src/apple/macos/mod.rs delete mode 100644 vendor/sysinfo/src/apple/macos/process.rs delete mode 100644 vendor/sysinfo/src/apple/macos/system.rs delete mode 100644 vendor/sysinfo/src/apple/mod.rs delete mode 100644 vendor/sysinfo/src/apple/system.rs delete mode 100644 vendor/sysinfo/src/apple/utils.rs delete mode 100644 vendor/sysinfo/src/freebsd/component.rs delete mode 100644 vendor/sysinfo/src/freebsd/cpu.rs delete mode 100644 vendor/sysinfo/src/freebsd/mod.rs delete mode 100644 vendor/sysinfo/src/freebsd/system.rs delete mode 100644 vendor/sysinfo/src/linux/component.rs delete mode 100644 vendor/sysinfo/src/linux/mod.rs delete mode 100644 vendor/sysinfo/src/linux/process.rs delete mode 100644 vendor/sysinfo/src/linux/system.rs delete mode 100644 vendor/sysinfo/src/traits.rs create mode 100644 vendor/sysinfo/src/unix/apple/app_store/component.rs rename vendor/sysinfo/src/{ => unix}/apple/app_store/mod.rs (100%) create mode 100644 vendor/sysinfo/src/unix/apple/app_store/process.rs create mode 100644 vendor/sysinfo/src/unix/apple/component.rs create mode 100644 vendor/sysinfo/src/unix/apple/cpu.rs create mode 100644 vendor/sysinfo/src/unix/apple/disk.rs create mode 100644 vendor/sysinfo/src/unix/apple/ffi.rs rename vendor/sysinfo/src/{ => unix}/apple/ios.rs (100%) rename vendor/sysinfo/src/{ => unix}/apple/macos/component/arm.rs (81%) create mode 100644 vendor/sysinfo/src/unix/apple/macos/component/mod.rs create mode 100644 vendor/sysinfo/src/unix/apple/macos/component/x86.rs create mode 100644 vendor/sysinfo/src/unix/apple/macos/cpu.rs create mode 100644 vendor/sysinfo/src/unix/apple/macos/disk.rs create mode 100644 vendor/sysinfo/src/unix/apple/macos/ffi.rs create mode 100644 vendor/sysinfo/src/unix/apple/macos/mod.rs create mode 100644 vendor/sysinfo/src/unix/apple/macos/process.rs create mode 100644 vendor/sysinfo/src/unix/apple/macos/system.rs rename vendor/sysinfo/src/{ => unix}/apple/macos/utils.rs (100%) create mode 100644 vendor/sysinfo/src/unix/apple/mod.rs create mode 100644 vendor/sysinfo/src/unix/apple/network.rs create mode 100644 vendor/sysinfo/src/unix/apple/process.rs create mode 100644 vendor/sysinfo/src/unix/apple/system.rs create mode 100644 vendor/sysinfo/src/unix/apple/users.rs create mode 100644 vendor/sysinfo/src/unix/apple/utils.rs create mode 100644 vendor/sysinfo/src/unix/freebsd/component.rs create mode 100644 vendor/sysinfo/src/unix/freebsd/cpu.rs create mode 100644 vendor/sysinfo/src/unix/freebsd/disk.rs create mode 100644 vendor/sysinfo/src/unix/freebsd/mod.rs create mode 100644 vendor/sysinfo/src/unix/freebsd/network.rs create mode 100644 vendor/sysinfo/src/unix/freebsd/process.rs create mode 100644 vendor/sysinfo/src/unix/freebsd/system.rs create mode 100644 vendor/sysinfo/src/unix/freebsd/utils.rs create mode 100644 vendor/sysinfo/src/unix/linux/component.rs create mode 100644 vendor/sysinfo/src/unix/linux/cpu.rs create mode 100644 vendor/sysinfo/src/unix/linux/disk.rs create mode 100644 vendor/sysinfo/src/unix/linux/mod.rs create mode 100644 vendor/sysinfo/src/unix/linux/network.rs create mode 100644 vendor/sysinfo/src/unix/linux/process.rs create mode 100644 vendor/sysinfo/src/unix/linux/system.rs create mode 100644 vendor/sysinfo/src/unix/linux/utils.rs create mode 100644 vendor/sysinfo/src/unix/mod.rs create mode 100644 vendor/sysinfo/src/unix/network_helper.rs create mode 100644 vendor/sysinfo/src/unix/users.rs create mode 100644 vendor/sysinfo/src/unix/utils.rs create mode 100644 vendor/sysinfo/src/unknown/users.rs delete mode 100644 vendor/sysinfo/src/users.rs create mode 100644 vendor/sysinfo/src/windows/network_helper.rs create mode 100644 vendor/sysinfo/test_bin/main.rs create mode 100644 vendor/sysinfo/tests/system.rs delete mode 100644 vendor/sysinfo/tests/uptime.rs delete mode 100644 vendor/tar-0.4.38/.cargo-checksum.json delete mode 100644 vendor/tar-0.4.38/Cargo.lock delete mode 100644 vendor/tar-0.4.38/Cargo.toml delete mode 100644 vendor/tar-0.4.38/README.md delete mode 100644 vendor/tar-0.4.38/examples/extract_file.rs delete mode 100644 vendor/tar-0.4.38/examples/list.rs delete mode 100644 vendor/tar-0.4.38/examples/raw_list.rs delete mode 100644 vendor/tar-0.4.38/examples/write.rs delete mode 100644 vendor/tar-0.4.38/src/archive.rs delete mode 100644 vendor/tar-0.4.38/src/builder.rs delete mode 100644 vendor/tar-0.4.38/src/entry.rs delete mode 100644 vendor/tar-0.4.38/src/entry_type.rs delete mode 100644 vendor/tar-0.4.38/src/error.rs delete mode 100644 vendor/tar-0.4.38/src/header.rs delete mode 100644 vendor/tar-0.4.38/src/lib.rs delete mode 100644 vendor/tar-0.4.38/src/pax.rs delete mode 100644 vendor/tar-0.4.38/tests/all.rs delete mode 100644 vendor/tar-0.4.38/tests/entry.rs delete mode 100644 vendor/tar-0.4.38/tests/header/mod.rs create mode 100644 vendor/thin-vec/LICENSE-APACHE create mode 100644 vendor/thin-vec/LICENSE-MIT create mode 100644 vendor/thin-vec/RELEASES.md delete mode 100644 vendor/thiserror-core-impl/.cargo-checksum.json delete mode 100644 vendor/thiserror-core-impl/Cargo.toml delete mode 100644 vendor/thiserror-core-impl/LICENSE-APACHE delete mode 100644 vendor/thiserror-core-impl/src/ast.rs delete mode 100644 vendor/thiserror-core-impl/src/attr.rs delete mode 100644 vendor/thiserror-core-impl/src/expand.rs delete mode 100644 vendor/thiserror-core-impl/src/fmt.rs delete mode 100644 vendor/thiserror-core-impl/src/generics.rs delete mode 100644 vendor/thiserror-core-impl/src/lib.rs delete mode 100644 vendor/thiserror-core-impl/src/prop.rs delete mode 100644 vendor/thiserror-core-impl/src/valid.rs delete mode 100644 vendor/thiserror-core/.cargo-checksum.json delete mode 100644 vendor/thiserror-core/Cargo.toml delete mode 100644 vendor/thiserror-core/LICENSE-APACHE delete mode 100644 vendor/thiserror-core/README.md delete mode 100644 vendor/thiserror-core/build.rs delete mode 100644 vendor/thiserror-core/rust-toolchain.toml delete mode 100644 vendor/thiserror-core/src/aserror.rs delete mode 100644 vendor/thiserror-core/src/display.rs delete mode 100644 vendor/thiserror-core/src/lib.rs delete mode 100644 vendor/thiserror-core/src/provide.rs delete mode 100644 vendor/thiserror-core/tests/compiletest.rs delete mode 100644 vendor/thiserror-core/tests/test_backtrace.rs delete mode 100644 vendor/thiserror-core/tests/test_deprecated.rs delete mode 100644 vendor/thiserror-core/tests/test_display.rs delete mode 100644 vendor/thiserror-core/tests/test_error.rs delete mode 100644 vendor/thiserror-core/tests/test_expr.rs delete mode 100644 vendor/thiserror-core/tests/test_from.rs delete mode 100644 vendor/thiserror-core/tests/test_generics.rs delete mode 100644 vendor/thiserror-core/tests/test_lints.rs delete mode 100644 vendor/thiserror-core/tests/test_option.rs delete mode 100644 vendor/thiserror-core/tests/test_path.rs delete mode 100644 vendor/thiserror-core/tests/test_source.rs delete mode 100644 vendor/thiserror-core/tests/test_transparent.rs delete mode 100644 vendor/thiserror-core/tests/ui/bad-field-attr.rs delete mode 100644 vendor/thiserror-core/tests/ui/bad-field-attr.stderr delete mode 100644 vendor/thiserror-core/tests/ui/concat-display.rs delete mode 100644 vendor/thiserror-core/tests/ui/concat-display.stderr delete mode 100644 vendor/thiserror-core/tests/ui/duplicate-enum-source.rs delete mode 100644 vendor/thiserror-core/tests/ui/duplicate-enum-source.stderr delete mode 100644 vendor/thiserror-core/tests/ui/duplicate-fmt.rs delete mode 100644 vendor/thiserror-core/tests/ui/duplicate-fmt.stderr delete mode 100644 vendor/thiserror-core/tests/ui/duplicate-struct-source.rs delete mode 100644 vendor/thiserror-core/tests/ui/duplicate-struct-source.stderr delete mode 100644 vendor/thiserror-core/tests/ui/duplicate-transparent.rs delete mode 100644 vendor/thiserror-core/tests/ui/duplicate-transparent.stderr delete mode 100644 vendor/thiserror-core/tests/ui/from-backtrace-backtrace.rs delete mode 100644 vendor/thiserror-core/tests/ui/from-backtrace-backtrace.stderr delete mode 100644 vendor/thiserror-core/tests/ui/from-not-source.rs delete mode 100644 vendor/thiserror-core/tests/ui/from-not-source.stderr delete mode 100644 vendor/thiserror-core/tests/ui/lifetime.rs delete mode 100644 vendor/thiserror-core/tests/ui/lifetime.stderr delete mode 100644 vendor/thiserror-core/tests/ui/missing-fmt.rs delete mode 100644 vendor/thiserror-core/tests/ui/missing-fmt.stderr delete mode 100644 vendor/thiserror-core/tests/ui/no-display.rs delete mode 100644 vendor/thiserror-core/tests/ui/no-display.stderr delete mode 100644 vendor/thiserror-core/tests/ui/source-enum-not-error.rs delete mode 100644 vendor/thiserror-core/tests/ui/source-enum-not-error.stderr delete mode 100644 vendor/thiserror-core/tests/ui/source-struct-not-error.rs delete mode 100644 vendor/thiserror-core/tests/ui/source-struct-not-error.stderr delete mode 100644 vendor/thiserror-core/tests/ui/transparent-display.rs delete mode 100644 vendor/thiserror-core/tests/ui/transparent-display.stderr delete mode 100644 vendor/thiserror-core/tests/ui/transparent-enum-many.rs delete mode 100644 vendor/thiserror-core/tests/ui/transparent-enum-many.stderr delete mode 100644 vendor/thiserror-core/tests/ui/transparent-enum-source.rs delete mode 100644 vendor/thiserror-core/tests/ui/transparent-enum-source.stderr delete mode 100644 vendor/thiserror-core/tests/ui/transparent-struct-many.rs delete mode 100644 vendor/thiserror-core/tests/ui/transparent-struct-many.stderr delete mode 100644 vendor/thiserror-core/tests/ui/transparent-struct-source.rs delete mode 100644 vendor/thiserror-core/tests/ui/transparent-struct-source.stderr delete mode 100644 vendor/thiserror-core/tests/ui/unexpected-field-fmt.rs delete mode 100644 vendor/thiserror-core/tests/ui/unexpected-field-fmt.stderr delete mode 100644 vendor/thiserror-core/tests/ui/unexpected-struct-source.rs delete mode 100644 vendor/thiserror-core/tests/ui/unexpected-struct-source.stderr delete mode 100644 vendor/thiserror-core/tests/ui/union.rs delete mode 100644 vendor/thiserror-core/tests/ui/union.stderr create mode 100644 vendor/thiserror/build/probe.rs create mode 100644 vendor/thiserror/tests/ui/fallback-impl-with-display.rs create mode 100644 vendor/thiserror/tests/ui/fallback-impl-with-display.stderr create mode 100644 vendor/thiserror/tests/ui/invalid-input-impl-anyway.rs create mode 100644 vendor/thiserror/tests/ui/invalid-input-impl-anyway.stderr create mode 100644 vendor/thiserror/tests/ui/missing-display.rs create mode 100644 vendor/thiserror/tests/ui/missing-display.stderr create mode 100644 vendor/toml_edit/tests/fixtures/invalid/datetime/y10k.stderr rename vendor/toml_edit/tests/fixtures/invalid/encoding/{utf16.stderr => utf16-comment.stderr} (100%) create mode 100644 vendor/toml_edit/tests/fixtures/invalid/encoding/utf16-key.stderr create mode 100644 vendor/toml_edit/tests/fixtures/invalid/float/exp-point-3.stderr create mode 100644 vendor/toml_edit/tests/fixtures/invalid/float/exp-trailing-us-1.stderr create mode 100644 vendor/toml_edit/tests/fixtures/invalid/float/exp-trailing-us-2.stderr rename vendor/toml_edit/tests/fixtures/invalid/inline-table/{overwrite-1.stderr => overwrite-01.stderr} (100%) rename vendor/toml_edit/tests/fixtures/invalid/inline-table/{overwrite-2.stderr => overwrite-02.stderr} (100%) rename vendor/toml_edit/tests/fixtures/invalid/inline-table/{overwrite-3.stderr => overwrite-03.stderr} (100%) rename vendor/toml_edit/tests/fixtures/invalid/inline-table/{overwrite-4.stderr => overwrite-04.stderr} (100%) rename vendor/toml_edit/tests/fixtures/invalid/inline-table/{overwrite-5.stderr => overwrite-05.stderr} (100%) rename vendor/toml_edit/tests/fixtures/invalid/inline-table/{overwrite-6.stderr => overwrite-06.stderr} (100%) rename vendor/toml_edit/tests/fixtures/invalid/inline-table/{overwrite-7.stderr => overwrite-07.stderr} (100%) rename vendor/toml_edit/tests/fixtures/invalid/inline-table/{overwrite-8.stderr => overwrite-08.stderr} (100%) rename vendor/toml_edit/tests/fixtures/invalid/inline-table/{overwrite-9.stderr => overwrite-09.stderr} (100%) create mode 100644 vendor/toml_edit/tests/fixtures/invalid/inline-table/overwrite-10.stderr create mode 100644 vendor/toml_edit/tests/fixtures/invalid/key/duplicate-keys-1.stderr rename vendor/toml_edit/tests/fixtures/invalid/key/{duplicate-keys.stderr => duplicate-keys-2.stderr} (100%) create mode 100644 vendor/toml_edit/tests/fixtures/invalid/key/duplicate-keys-3.stderr create mode 100644 vendor/toml_edit/tests/fixtures/invalid/key/duplicate-keys-4.stderr delete mode 100644 vendor/toml_edit/tests/fixtures/invalid/key/duplicate.stderr rename vendor/toml_edit/tests/fixtures/invalid/key/{newline.stderr => newline-1.stderr} (100%) create mode 100644 vendor/toml_edit/tests/fixtures/invalid/key/newline-2.stderr create mode 100644 vendor/toml_edit/tests/fixtures/invalid/key/newline-3.stderr rename vendor/toml_edit/tests/fixtures/invalid/key/{multiline.stderr => newline-4.stderr} (100%) create mode 100644 vendor/toml_edit/tests/fixtures/invalid/key/newline-5.stderr rename vendor/toml_edit/tests/fixtures/invalid/key/{two-equals.stderr => two-equals-1.stderr} (100%) rename vendor/toml_edit/tests/fixtures/invalid/key/{two-equals2.stderr => two-equals-2.stderr} (100%) rename vendor/toml_edit/tests/fixtures/invalid/key/{two-equals3.stderr => two-equals-3.stderr} (100%) create mode 100644 vendor/toml_edit/tests/fixtures/invalid/local-date/y10k.stderr create mode 100644 vendor/toml_edit/tests/fixtures/invalid/local-datetime/y10k.stderr create mode 100644 vendor/toml_edit/tests/fixtures/invalid/table/super-twice.stderr delete mode 100644 vendor/typed-arena/.cargo-checksum.json delete mode 100644 vendor/typed-arena/CHANGELOG.md delete mode 100644 vendor/typed-arena/Cargo.toml delete mode 100644 vendor/typed-arena/LICENSE delete mode 100644 vendor/typed-arena/README.md delete mode 100644 vendor/typed-arena/benches/benches.rs delete mode 100644 vendor/typed-arena/src/lib.rs delete mode 100644 vendor/typed-arena/src/test.rs create mode 100644 vendor/unic-langid-impl/LICENSE-APACHE rename vendor/{thiserror-core-impl => unic-langid-impl}/LICENSE-MIT (100%) create mode 100644 vendor/unic-langid-macros-impl/LICENSE-APACHE rename vendor/{thiserror-core => unic-langid-macros-impl}/LICENSE-MIT (100%) create mode 100644 vendor/unic-langid-macros/LICENSE-APACHE create mode 100644 vendor/unic-langid-macros/LICENSE-MIT create mode 100644 vendor/unic-langid/LICENSE-APACHE create mode 100644 vendor/unic-langid/LICENSE-MIT create mode 100644 vendor/unic-langid/tests/langid.rs create mode 100644 vendor/unicode-bidi/src/utf16.rs create mode 100644 vendor/winnow/src/_topic/nom.rs create mode 100644 vendor/xattr/src/sys/linux_macos.rs delete mode 100644 vendor/xattr/src/sys/linux_macos/linux.rs delete mode 100644 vendor/xattr/src/sys/linux_macos/macos.rs delete mode 100644 vendor/xattr/src/sys/linux_macos/mod.rs diff --git a/Cargo.lock b/Cargo.lock index 117d8c2610..2a576385c7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -119,6 +119,16 @@ dependencies = [ "yansi-term", ] +[[package]] +name = "annotate-snippets" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a433302f833baa830c0092100c481c7ea768c5981a3c36f549517a502f246dd" +dependencies = [ + "anstyle", + "unicode-width", +] + [[package]] name = "ansi_term" version = "0.12.1" @@ -202,9 +212,9 @@ checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" [[package]] name = "askama" -version = "0.12.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47cbc3cf73fa8d9833727bbee4835ba5c421a0d65b72daf9a7b5d0e0f9cfb57e" +checksum = "b79091df18a97caea757e28cd2d5fda49c6cd4bd01ddffd7ff01ace0c0ad2c28" dependencies = [ "askama_derive", "askama_escape", @@ -212,14 +222,14 @@ dependencies = [ [[package]] name = "askama_derive" -version = "0.12.1" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c22fbe0413545c098358e56966ff22cdd039e10215ae213cfbd65032b119fc94" +checksum = "19fe8d6cb13c4714962c072ea496f3392015f0989b1a2847bb4b2d9effd71d83" dependencies = [ + "askama_parser", "basic-toml", "mime", "mime_guess", - "nom", "proc-macro2", "quote", "serde", @@ -232,6 +242,15 @@ version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "619743e34b5ba4e9703bba34deac3427c72507c7159f5fd030aea8cac0cfe341" +[[package]] +name = "askama_parser" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acb1161c6b64d1c3d83108213c2a2533a342ac225aabd0bda218278c2ddb00c0" +dependencies = [ + "nom", +] + [[package]] name = "autocfg" version = "1.1.0" @@ -285,9 +304,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.0" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" +checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" [[package]] name = "block-buffer" @@ -363,9 +382,9 @@ dependencies = [ [[package]] name = "byteorder" -version = "1.4.3" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" @@ -537,7 +556,7 @@ checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" [[package]] name = "clippy" -version = "0.1.76" +version = "0.1.77" dependencies = [ "anstream", "clippy_config", @@ -565,7 +584,7 @@ dependencies = [ [[package]] name = "clippy_config" -version = "0.1.76" +version = "0.1.77" dependencies = [ "rustc-semver", "serde", @@ -577,21 +596,21 @@ dependencies = [ name = "clippy_dev" version = "0.0.1" dependencies = [ - "aho-corasick 0.7.20", + "aho-corasick 1.0.2", "clap", "indoc", "itertools", - "opener 0.5.2", + "opener", "shell-escape", "walkdir", ] [[package]] name = "clippy_lints" -version = "0.1.76" +version = "0.1.77" dependencies = [ "arrayvec", - "cargo_metadata 0.15.4", + "cargo_metadata 0.18.0", "clippy_config", "clippy_utils", "declare_clippy_lint", @@ -613,7 +632,7 @@ dependencies = [ [[package]] name = "clippy_utils" -version = "0.1.76" +version = "0.1.77" dependencies = [ "arrayvec", "clippy_config", @@ -704,9 +723,9 @@ checksum = "55b672471b4e9f9e95499ea597ff64941a309b2cdbffcc46f2cc5e2d971fd335" [[package]] name = "compiler_builtins" -version = "0.1.103" +version = "0.1.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3b73c3443a5fd2438d7ba4853c64e4c8efc2404a9e28a9234cc2d5eebc6c242" +checksum = "3686cc48897ce1950aa70fd595bd2dc9f767a3c4cca4cd17b2cb52a2d37e6eb4" dependencies = [ "cc", "rustc-std-workspace-core", @@ -868,12 +887,12 @@ dependencies = [ [[package]] name = "ctrlc" -version = "3.4.0" +version = "3.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a011bbe2c35ce9c1f143b7af6f94f29a167beb4cd1d29e6740ce836f723120e" +checksum = "b467862cc8610ca6fc9a1532d7777cee0804e678ab45410897b9396495994a0b" dependencies = [ "nix", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -984,7 +1003,7 @@ checksum = "a0afaad2b26fa326569eb264b1363e8ae3357618c43982b3f285f0774ce76b69" [[package]] name = "declare_clippy_lint" -version = "0.1.76" +version = "0.1.77" dependencies = [ "itertools", "quote", @@ -1249,7 +1268,6 @@ name = "error_index_generator" version = "0.0.0" dependencies = [ "mdbook", - "rustc_error_codes", ] [[package]] @@ -2072,9 +2090,9 @@ dependencies = [ [[package]] name = "jobserver" -version = "0.1.27" +version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d" +checksum = "ab46a6e9526ddef3ae7f787c06f0f2600639ba80ea3eade3d8e670a2230f51d6" dependencies = [ "libc", ] @@ -2177,16 +2195,6 @@ dependencies = [ "cc", ] -[[package]] -name = "libloading" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" -dependencies = [ - "cfg-if", - "winapi", -] - [[package]] name = "libloading" version = "0.8.1" @@ -2342,7 +2350,7 @@ dependencies = [ "log", "memchr", "once_cell", - "opener 0.6.1", + "opener", "pathdiff", "pulldown-cmark", "regex", @@ -2356,9 +2364,9 @@ dependencies = [ [[package]] name = "measureme" -version = "10.1.2" +version = "11.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45e381dcdad44c3c435f8052b08c5c4a1449c48ab56f312345eae12d7a693dbe" +checksum = "dfa4a40f09af7aa6faef38285402a78847d0d72bf8827006cd2a332e1e6e4a8d" dependencies = [ "log", "memmap2", @@ -2465,16 +2473,16 @@ dependencies = [ "ctrlc", "env_logger", "getrandom", + "jemalloc-sys", "lazy_static", "libc", "libffi", - "libloading 0.8.1", + "libloading", "log", "measureme", "rand", "regex", "rustc_version", - "serde", "smallvec", "ui_test", ] @@ -2512,14 +2520,13 @@ checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" [[package]] name = "nix" -version = "0.26.2" +version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfdda3d196821d6af13126e40375cdf7da646a96114af134d5f417a9a1dc8e1a" +checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.1", "cfg-if", "libc", - "static_assertions", ] [[package]] @@ -2588,9 +2595,9 @@ checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" [[package]] name = "object" -version = "0.32.1" +version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" dependencies = [ "compiler_builtins", "crc32fast", @@ -2618,16 +2625,6 @@ version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" -[[package]] -name = "opener" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "293c15678e37254c15bd2f092314abb4e51d7fdde05c2021279c12631b54f005" -dependencies = [ - "bstr", - "winapi", -] - [[package]] name = "opener" version = "0.6.1" @@ -2641,11 +2638,11 @@ dependencies = [ [[package]] name = "openssl" -version = "0.10.55" +version = "0.10.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "345df152bc43501c5eb9e4654ff05f794effb78d4efe3d53abc158baddc0703d" +checksum = "15c9d69dd87a29568d4d017cfe8ec518706046a05184e5aea92d0af890b803c8" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.1", "cfg-if", "foreign-types", "libc", @@ -2673,9 +2670,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-sys" -version = "0.9.90" +version = "0.9.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374533b0e45f3a7ced10fcaeccca020e66656bc03dac384f852e4e5a7a8104a6" +checksum = "22e1bf214306098e4832460f797824c05d25aacdf896f64a985fb0fd992454ae" dependencies = [ "cc", "libc", @@ -3006,11 +3003,11 @@ dependencies = [ [[package]] name = "pulldown-cmark" -version = "0.9.3" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a1a2f1f0a7ecff9c31abbe177637be0e97a0aef46cf8738ece09327985d998" +checksum = "57206b407293d2bcd3af849ce869d52068623f19e1b5ff8e8778e3309439682b" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.1", "memchr", "unicase", ] @@ -3280,9 +3277,9 @@ dependencies = [ [[package]] name = "rustc-build-sysroot" -version = "0.4.2" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ed2a90dfa5232ed5ff21d53d4df655f315ab316ea06fc508f1c74bcedb1ce6c" +checksum = "39dcf8d82b1f79a179bdb284dc44db440a9666eefa5a6df5ef282d6db930d544" dependencies = [ "anyhow", "rustc_version", @@ -3370,7 +3367,7 @@ dependencies = [ name = "rustc_abi" version = "0.0.0" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.1", "rand", "rand_xoshiro", "rustc_data_structures", @@ -3401,7 +3398,7 @@ dependencies = [ name = "rustc_ast" version = "0.0.0" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.1", "memchr", "rustc_data_structures", "rustc_index", @@ -3552,7 +3549,7 @@ dependencies = [ name = "rustc_codegen_llvm" version = "0.0.0" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.1", "itertools", "libc", "measureme", @@ -3587,7 +3584,7 @@ name = "rustc_codegen_ssa" version = "0.0.0" dependencies = [ "ar_archive_writer", - "bitflags 1.3.2", + "bitflags 2.4.1", "cc", "itertools", "jobserver", @@ -3654,11 +3651,11 @@ name = "rustc_data_structures" version = "0.0.0" dependencies = [ "arrayvec", - "bitflags 1.3.2", + "bitflags 2.4.1", + "either", "elsa", "ena", "indexmap", - "itertools", "jobserver", "libc", "measureme", @@ -3703,7 +3700,6 @@ dependencies = [ "rustc_codegen_ssa", "rustc_const_eval", "rustc_data_structures", - "rustc_error_codes", "rustc_errors", "rustc_expand", "rustc_feature", @@ -3738,6 +3734,7 @@ dependencies = [ "rustc_trait_selection", "rustc_ty_utils", "serde_json", + "shlex", "time", "tracing", "windows", @@ -3770,14 +3767,16 @@ dependencies = [ name = "rustc_errors" version = "0.0.0" dependencies = [ - "annotate-snippets", + "annotate-snippets 0.10.1", "derive_setters", "rustc_ast", "rustc_ast_pretty", "rustc_data_structures", + "rustc_error_codes", "rustc_error_messages", "rustc_fluent_macro", "rustc_hir", + "rustc_index", "rustc_lint_defs", "rustc_macros", "rustc_serialize", @@ -3797,7 +3796,6 @@ dependencies = [ name = "rustc_expand" version = "0.0.0" dependencies = [ - "crossbeam-channel", "rustc_ast", "rustc_ast_passes", "rustc_ast_pretty", @@ -3831,7 +3829,7 @@ dependencies = [ name = "rustc_fluent_macro" version = "0.0.0" dependencies = [ - "annotate-snippets", + "annotate-snippets 0.10.1", "fluent-bundle", "fluent-syntax", "proc-macro2", @@ -3869,6 +3867,7 @@ dependencies = [ name = "rustc_hir_analysis" version = "0.0.0" dependencies = [ + "itertools", "rustc_arena", "rustc_ast", "rustc_attr", @@ -3877,6 +3876,7 @@ dependencies = [ "rustc_feature", "rustc_fluent_macro", "rustc_hir", + "rustc_hir_pretty", "rustc_index", "rustc_infer", "rustc_lint_defs", @@ -3906,6 +3906,7 @@ dependencies = [ name = "rustc_hir_typeck" version = "0.0.0" dependencies = [ + "itertools", "rustc_ast", "rustc_attr", "rustc_data_structures", @@ -3992,7 +3993,7 @@ dependencies = [ name = "rustc_interface" version = "0.0.0" dependencies = [ - "libloading 0.7.4", + "libloading", "rustc-rayon", "rustc-rayon-core", "rustc_ast", @@ -4121,8 +4122,8 @@ dependencies = [ name = "rustc_metadata" version = "0.0.0" dependencies = [ - "bitflags 1.3.2", - "libloading 0.7.4", + "bitflags 2.4.1", + "libloading", "odht", "rustc_ast", "rustc_attr", @@ -4151,7 +4152,7 @@ dependencies = [ name = "rustc_middle" version = "0.0.0" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.1", "derive_more", "either", "field-offset", @@ -4189,6 +4190,7 @@ name = "rustc_mir_build" version = "0.0.0" dependencies = [ "either", + "itertools", "rustc_apfloat", "rustc_arena", "rustc_ast", @@ -4286,7 +4288,7 @@ dependencies = [ name = "rustc_parse" version = "0.0.0" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.1", "rustc_ast", "rustc_ast_pretty", "rustc_data_structures", @@ -4340,6 +4342,7 @@ dependencies = [ name = "rustc_pattern_analysis" version = "0.0.0" dependencies = [ + "rustc-hash", "rustc_apfloat", "rustc_arena", "rustc_data_structures", @@ -4354,7 +4357,6 @@ dependencies = [ "rustc_target", "smallvec", "tracing", - "typed-arena", ] [[package]] @@ -4423,7 +4425,7 @@ dependencies = [ name = "rustc_resolve" version = "0.0.0" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.1", "pulldown-cmark", "rustc_arena", "rustc_ast", @@ -4462,7 +4464,7 @@ dependencies = [ name = "rustc_session" version = "0.0.0" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.1", "getopts", "libc", "rustc_ast", @@ -4520,7 +4522,7 @@ dependencies = [ name = "rustc_symbol_mangling" version = "0.0.0" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.1", "punycode", "rustc-demangle", "rustc_data_structures", @@ -4538,7 +4540,7 @@ dependencies = [ name = "rustc_target" version = "0.0.0" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.1", "object", "rustc_abi", "rustc_data_structures", @@ -4562,6 +4564,8 @@ checksum = "8ba09476327c4b70ccefb6180f046ef588c26a24cf5d269a9feba316eb4f029f" name = "rustc_trait_selection" version = "0.0.0" dependencies = [ + "bitflags 2.4.1", + "itertools", "rustc_ast", "rustc_attr", "rustc_data_structures", @@ -4636,12 +4640,13 @@ dependencies = [ name = "rustc_type_ir" version = "0.0.0" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.1", "derivative", "rustc_data_structures", "rustc_index", "rustc_macros", "rustc_serialize", + "rustc_span", "smallvec", ] @@ -4734,7 +4739,7 @@ dependencies = [ name = "rustfmt-nightly" version = "1.7.0" dependencies = [ - "annotate-snippets", + "annotate-snippets 0.9.1", "anyhow", "bytecount", "cargo_metadata 0.15.4", @@ -4766,7 +4771,7 @@ version = "0.38.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "745ecfa778e66b2b63c88a61cb36e0eea109e803b0b86bf9879fbc77c70e86ed" dependencies = [ - "bitflags 2.4.0", + "bitflags 2.4.1", "errno", "libc", "linux-raw-sys", @@ -4781,12 +4786,12 @@ checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06" [[package]] name = "ruzstd" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3ffab8f9715a0d455df4bbb9d21e91135aab3cd3ca187af0cd0c3c3f868fdc" +checksum = "58c4eb8a81997cf040a091d1f7e1938aeab6749d3a0dfa73af43cdc32393483d" dependencies = [ "byteorder", - "thiserror-core", + "derive_more", "twox-hash", ] @@ -5204,9 +5209,9 @@ dependencies = [ [[package]] name = "sysinfo" -version = "0.29.2" +version = "0.29.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9557d0845b86eea8182f7b10dff120214fb6cd9fd937b6f4917714e546a38695" +checksum = "cd727fc423c2060f6c92d9534cef765c65a6ed3f428a03d7def74a8c4348e666" dependencies = [ "cfg-if", "core-foundation-sys", @@ -5336,9 +5341,9 @@ dependencies = [ [[package]] name = "thin-vec" -version = "0.2.12" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aac81b6fd6beb5884b0cf3321b8117e6e5d47ecb6fc89f414cfdcca8b2fe2dd8" +checksum = "a38c90d48152c236a3ab59271da4f4ae63d678c5d7ad6b7714d7cb9760be5e4b" [[package]] name = "thiserror" @@ -5349,26 +5354,6 @@ dependencies = [ "thiserror-impl", ] -[[package]] -name = "thiserror-core" -version = "1.0.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d97345f6437bb2004cd58819d8a9ef8e36cdd7661c2abc4bbde0a7c40d9f497" -dependencies = [ - "thiserror-core-impl", -] - -[[package]] -name = "thiserror-core-impl" -version = "1.0.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10ac1c5050e43014d16b2f94d0d2ce79e65ffdd8b38d8048f9c8f6a8a6da62ac" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "thiserror-impl" version = "1.0.47" @@ -5690,12 +5675,6 @@ dependencies = [ "rustc-hash", ] -[[package]] -name = "typed-arena" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a" - [[package]] name = "typenum" version = "1.16.0" @@ -5724,7 +5703,7 @@ version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aaf4bf7c184b8dfc7a4d3b90df789b1eb992ee42811cd115f32a7a1eb781058d" dependencies = [ - "annotate-snippets", + "annotate-snippets 0.9.1", "anyhow", "bstr", "cargo-platform", @@ -5747,9 +5726,9 @@ dependencies = [ [[package]] name = "unic-langid" -version = "0.9.1" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "398f9ad7239db44fd0f80fe068d12ff22d78354080332a5077dc6f52f14dcf2f" +checksum = "238722e6d794ed130f91f4ea33e01fcff4f188d92337a21297892521c72df516" dependencies = [ "unic-langid-impl", "unic-langid-macros", @@ -5757,18 +5736,18 @@ dependencies = [ [[package]] name = "unic-langid-impl" -version = "0.9.1" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e35bfd2f2b8796545b55d7d3fd3e89a0613f68a0d1c8bc28cb7ff96b411a35ff" +checksum = "4bd55a2063fdea4ef1f8633243a7b0524cbeef1905ae04c31a1c9b9775c55bc6" dependencies = [ "tinystr", ] [[package]] name = "unic-langid-macros" -version = "0.9.1" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "055e618bf694161ffff0466d95cef3e1a5edc59f6ba1888e97801f2b4ebdc4fe" +checksum = "5c854cefb82ff2816410ce606acbad1b3af065140907b29be9229040752b83ec" dependencies = [ "proc-macro-hack", "tinystr", @@ -5778,13 +5757,13 @@ dependencies = [ [[package]] name = "unic-langid-macros-impl" -version = "0.9.1" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f5cdec05b907f4e2f6843f4354f4ce6a5bebe1a56df320a49134944477ce4d8" +checksum = "fea2a4c80deb4fb3ca51f66b5e2dd91e3642bbce52234bcf22e41668281208e4" dependencies = [ "proc-macro-hack", "quote", - "syn 1.0.109", + "syn 2.0.32", "unic-langid-impl", ] @@ -5855,9 +5834,9 @@ checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" [[package]] name = "unicode-width" -version = "0.1.10" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" +checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" dependencies = [ "compiler_builtins", "rustc-std-workspace-core", @@ -6141,6 +6120,15 @@ dependencies = [ "windows-targets 0.48.1", ] +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.0", +] + [[package]] name = "windows-targets" version = "0.42.2" @@ -6171,6 +6159,21 @@ dependencies = [ "windows_x86_64_msvc 0.48.0", ] +[[package]] +name = "windows-targets" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +dependencies = [ + "windows_aarch64_gnullvm 0.52.0", + "windows_aarch64_msvc 0.52.0", + "windows_i686_gnu 0.52.0", + "windows_i686_msvc 0.52.0", + "windows_x86_64_gnu 0.52.0", + "windows_x86_64_gnullvm 0.52.0", + "windows_x86_64_msvc 0.52.0", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.42.2" @@ -6183,6 +6186,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" + [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -6195,6 +6204,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" + [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -6207,6 +6222,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" +[[package]] +name = "windows_i686_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" + [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -6219,6 +6240,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" +[[package]] +name = "windows_i686_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" + [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -6231,6 +6258,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" @@ -6243,6 +6276,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" + [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -6255,6 +6294,12 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" + [[package]] name = "winnow" version = "0.4.7" diff --git a/Cargo.toml b/Cargo.toml index 9b11ae8744..2ea16c2266 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,7 +64,7 @@ exclude = [ ] [profile.release.package.compiler_builtins] -# The compiler-builtins crate cannot reference libcore, and it's own CI will +# The compiler-builtins crate cannot reference libcore, and its own CI will # verify that this is the case. This requires, however, that the crate is built # without overflow checks and debug assertions. Forcefully disable debug # assertions and overflow checks here which should ensure that even if these @@ -104,6 +104,14 @@ gimli.debug = 0 miniz_oxide.debug = 0 object.debug = 0 +# These are very thin wrappers around executing lld with the right binary name. +# Basically nothing within them can go wrong without having been explicitly logged anyway. +# We ship these in every rustc tarball and even after compression they add up +# to around 0.6MB of data every user needs to download (and 15MB on disk). +[profile.release.package.lld-wrapper] +debug = 0 +strip = true + [patch.crates-io] # See comments in `library/rustc-std-workspace-core/README.md` for what's going on # here diff --git a/README.md b/README.md index 5d5beaf1b7..6d6383351c 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,6 @@ If you wish to _contribute_ to the compiler, you should read - [Quick Start](#quick-start) - [Installing from Source](#installing-from-source) -- [Building Documentation](#building-documentation) -- [Notes](#notes) - [Getting Help](#getting-help) - [Contributing](#contributing) - [License](#license) @@ -34,253 +32,8 @@ Read ["Installation"] from [The Book]. ## Installing from Source -The Rust build system uses a Python script called `x.py` to build the compiler, -which manages the bootstrapping process. It lives at the root of the project. -It also uses a file named `config.toml` to determine various configuration -settings for the build. You can see a full list of options in -`config.example.toml`. - -The `x.py` command can be run directly on most Unix systems in the following -format: - -```sh -./x.py [flags] -``` - -This is how the documentation and examples assume you are running `x.py`. -See the [rustc dev guide][rustcguidebuild] if this does not work on your -platform. - -More information about `x.py` can be found by running it with the `--help` flag -or reading the [rustc dev guide][rustcguidebuild]. - -[gettingstarted]: https://rustc-dev-guide.rust-lang.org/getting-started.html -[rustcguidebuild]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#what-is-xpy - -### Dependencies - -Make sure you have installed the dependencies: - -* `python` 3 or 2.7 -* `git` -* A C compiler (when building for the host, `cc` is enough; cross-compiling may - need additional compilers) -* `curl` (not needed on Windows) -* `pkg-config` if you are compiling on Linux and targeting Linux -* `libiconv` (already included with glibc on Debian-based distros) - -To build Cargo, you'll also need OpenSSL (`libssl-dev` or `openssl-devel` on -most Unix distros). - -If building LLVM from source, you'll need additional tools: - -* `g++`, `clang++`, or MSVC with versions listed on - [LLVM's documentation](https://llvm.org/docs/GettingStarted.html#host-c-toolchain-both-compiler-and-standard-library) -* `ninja`, or GNU `make` 3.81 or later (Ninja is recommended, especially on - Windows) -* `cmake` 3.13.4 or later -* `libstdc++-static` may be required on some Linux distributions such as Fedora - and Ubuntu - -On tier 1 or tier 2 with host tools platforms, you can also choose to download -LLVM by setting `llvm.download-ci-llvm = true`. -Otherwise, you'll need LLVM installed and `llvm-config` in your path. -See [the rustc-dev-guide for more info][sysllvm]. - -[sysllvm]: https://rustc-dev-guide.rust-lang.org/building/new-target.html#using-pre-built-llvm - - -### Building on a Unix-like system - -#### Build steps - -1. Clone the [source] with `git`: - - ```sh - git clone https://github.com/rust-lang/rust.git - cd rust - ``` - -[source]: https://github.com/rust-lang/rust - -2. Configure the build settings: - - ```sh - ./configure - ``` - - If you plan to use `x.py install` to create an installation, it is - recommended that you set the `prefix` value in the `[install]` section to a - directory: `./configure --set install.prefix=` - -3. Build and install: - - ```sh - ./x.py build && ./x.py install - ``` - - When complete, `./x.py install` will place several programs into - `$PREFIX/bin`: `rustc`, the Rust compiler, and `rustdoc`, the - API-documentation tool. By default, it will also include [Cargo], Rust's - package manager. You can disable this behavior by passing - `--set build.extended=false` to `./configure`. - -[Cargo]: https://github.com/rust-lang/cargo - -#### Configure and Make - -This project provides a configure script and makefile (the latter of which just -invokes `x.py`). `./configure` is the recommended way to programmatically -generate a `config.toml`. `make` is not recommended (we suggest using `x.py` -directly), but it is supported and we try not to break it unnecessarily. - -```sh -./configure -make && sudo make install -``` - -`configure` generates a `config.toml` which can also be used with normal `x.py` -invocations. - -### Building on Windows - -On Windows, we suggest using [winget] to install dependencies by running the -following in a terminal: - -```powershell -winget install -e Python.Python.3 -winget install -e Kitware.CMake -winget install -e Git.Git -``` - -Then edit your system's `PATH` variable and add: `C:\Program Files\CMake\bin`. -See -[this guide on editing the system `PATH`](https://www.java.com/en/download/help/path.html) -from the Java documentation. - -[winget]: https://github.com/microsoft/winget-cli - -There are two prominent ABIs in use on Windows: the native (MSVC) ABI used by -Visual Studio and the GNU ABI used by the GCC toolchain. Which version of Rust -you need depends largely on what C/C++ libraries you want to interoperate with. -Use the MSVC build of Rust to interop with software produced by Visual Studio -and the GNU build to interop with GNU software built using the MinGW/MSYS2 -toolchain. - -#### MinGW - -[MSYS2][msys2] can be used to easily build Rust on Windows: - -[msys2]: https://www.msys2.org/ - -1. Download the latest [MSYS2 installer][msys2] and go through the installer. - -2. Run `mingw32_shell.bat` or `mingw64_shell.bat` from the MSYS2 installation - directory (e.g. `C:\msys64`), depending on whether you want 32-bit or 64-bit - Rust. (As of the latest version of MSYS2 you have to run `msys2_shell.cmd - -mingw32` or `msys2_shell.cmd -mingw64` from the command line instead.) - -3. From this terminal, install the required tools: - - ```sh - # Update package mirrors (may be needed if you have a fresh install of MSYS2) - pacman -Sy pacman-mirrors - - # Install build tools needed for Rust. If you're building a 32-bit compiler, - # then replace "x86_64" below with "i686". If you've already got Git, Python, - # or CMake installed and in PATH you can remove them from this list. - # Note that it is important that you do **not** use the 'python2', 'cmake', - # and 'ninja' packages from the 'msys2' subsystem. - # The build has historically been known to fail with these packages. - pacman -S git \ - make \ - diffutils \ - tar \ - mingw-w64-x86_64-python \ - mingw-w64-x86_64-cmake \ - mingw-w64-x86_64-gcc \ - mingw-w64-x86_64-ninja - ``` - -4. Navigate to Rust's source code (or clone it), then build it: - - ```sh - python x.py setup user && python x.py build && python x.py install - ``` - -#### MSVC - -MSVC builds of Rust additionally require an installation of Visual Studio 2017 -(or later) so `rustc` can use its linker. The simplest way is to get -[Visual Studio], check the "C++ build tools" and "Windows 10 SDK" workload. - -[Visual Studio]: https://visualstudio.microsoft.com/downloads/ - -(If you're installing CMake yourself, be careful that "C++ CMake tools for -Windows" doesn't get included under "Individual components".) - -With these dependencies installed, you can build the compiler in a `cmd.exe` -shell with: - -```sh -python x.py setup user -python x.py build -``` - -Right now, building Rust only works with some known versions of Visual Studio. -If you have a more recent version installed and the build system doesn't -understand, you may need to force rustbuild to use an older version. -This can be done by manually calling the appropriate vcvars file before running -the bootstrap. - -```batch -CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" -python x.py build -``` - -#### Specifying an ABI - -Each specific ABI can also be used from either environment (for example, using -the GNU ABI in PowerShell) by using an explicit build triple. The available -Windows build triples are: -- GNU ABI (using GCC) - - `i686-pc-windows-gnu` - - `x86_64-pc-windows-gnu` -- The MSVC ABI - - `i686-pc-windows-msvc` - - `x86_64-pc-windows-msvc` - -The build triple can be specified by either specifying `--build=` when -invoking `x.py` commands, or by creating a `config.toml` file (as described in -[Building on a Unix-like system](#building-on-a-unix-like-system)), and passing -`--set build.build=` to `./configure`. - -## Building Documentation - -If you'd like to build the documentation, it's almost the same: - -```sh -./x.py doc -``` - -The generated documentation will appear under `doc` in the `build` directory for -the ABI used. That is, if the ABI was `x86_64-pc-windows-msvc`, the directory -will be `build\x86_64-pc-windows-msvc\doc`. - -## Notes - -Since the Rust compiler is written in Rust, it must be built by a precompiled -"snapshot" version of itself (made in an earlier stage of development). -As such, source builds require an Internet connection to fetch snapshots, and an -OS that can execute the available snapshot binaries. - -See https://doc.rust-lang.org/nightly/rustc/platform-support.html for a list of -supported platforms. -Only "host tools" platforms have a pre-compiled snapshot binary available; to -compile for a platform without host tools you must cross-compile. - -You may find that other platforms work, but these are our officially supported -build environments that are most likely to work. +If you really want to install from source (though this is not recommended), see +[INSTALL.md](INSTALL.md). ## Getting Help diff --git a/RELEASES.md b/RELEASES.md index 038a83cde8..574739b2d2 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,137 @@ +Version 1.77.2 (2024-04-09) +=========================== + + + +- [CVE-2024-24576: fix escaping of Windows batch file arguments in `std::process::Command`](https://blog.rust-lang.org/2024/04/09/cve-2024-24576.html) + +Version 1.77.1 (2024-03-28) +=========================== + + + +- [Revert stripping debuginfo by default for Windows](https://github.com/rust-lang/cargo/pull/13654) + This fixes a regression in 1.77 by reverting to the previous default. + Platforms other than Windows are not affected. +- Internal: [Fix heading anchor rendering in doc pages](https://github.com/rust-lang/rust/pull/122693) + +Version 1.77.0 (2024-03-21) +========================== + + + +Language +-------- + +- [Reveal opaque types within the defining body for exhaustiveness checking.](https://github.com/rust-lang/rust/pull/116821/) +- [Stabilize C-string literals.](https://github.com/rust-lang/rust/pull/117472/) +- [Stabilize THIR unsafeck.](https://github.com/rust-lang/rust/pull/117673/) +- [Add lint `static_mut_refs` to warn on references to mutable statics.](https://github.com/rust-lang/rust/pull/117556/) +- [Support async recursive calls (as long as they have indirection).](https://github.com/rust-lang/rust/pull/117703/) +- [Undeprecate lint `unstable_features` and make use of it in the compiler.](https://github.com/rust-lang/rust/pull/118639/) +- [Make inductive cycles in coherence ambiguous always.](https://github.com/rust-lang/rust/pull/118649/) +- [Get rid of type-driven traversal in const-eval interning](https://github.com/rust-lang/rust/pull/119044/), + only as a [future compatiblity lint](https://github.com/rust-lang/rust/pull/122204) for now. +- [Deny braced macro invocations in let-else.](https://github.com/rust-lang/rust/pull/119062/) + + + +Compiler +-------- + +- [Include lint `soft_unstable` in future breakage reports.](https://github.com/rust-lang/rust/pull/116274/) +- [Make `i128` and `u128` 16-byte aligned on x86-based targets.](https://github.com/rust-lang/rust/pull/116672/) +- [Use `--verbose` in diagnostic output.](https://github.com/rust-lang/rust/pull/119129/) +- [Improve spacing between printed tokens.](https://github.com/rust-lang/rust/pull/120227/) +- [Merge the `unused_tuple_struct_fields` lint into `dead_code`.](https://github.com/rust-lang/rust/pull/118297/) +- [Error on incorrect implied bounds in well-formedness check](https://github.com/rust-lang/rust/pull/118553/), + with a temporary exception for Bevy. +- [Fix coverage instrumentation/reports for non-ASCII source code.](https://github.com/rust-lang/rust/pull/119033/) +- [Fix `fn`/`const` items implied bounds and well-formedness check.](https://github.com/rust-lang/rust/pull/120019/) +- [Promote `riscv32{im|imafc}-unknown-none-elf` targets to tier 2.](https://github.com/rust-lang/rust/pull/118704/) +- Add several new tier 3 targets: + - [`aarch64-unknown-illumos`](https://github.com/rust-lang/rust/pull/112936/) + - [`hexagon-unknown-none-elf`](https://github.com/rust-lang/rust/pull/117601/) + - [`riscv32imafc-esp-espidf`](https://github.com/rust-lang/rust/pull/119738/) + - [`riscv32im-risc0-zkvm-elf`](https://github.com/rust-lang/rust/pull/117958/) + +Refer to Rust's [platform support page][platform-support-doc] +for more information on Rust's tiered platform support. + + + +Libraries +--------- + +- [Implement `From<&[T; N]>` for `Cow<[T]>`.](https://github.com/rust-lang/rust/pull/113489/) +- [Remove special-case handling of `vec.split_off(0)`.](https://github.com/rust-lang/rust/pull/119917/) + + + +Stabilized APIs +--------------- + +- [`array::each_ref`](https://doc.rust-lang.org/stable/std/primitive.array.html#method.each_ref) +- [`array::each_mut`](https://doc.rust-lang.org/stable/std/primitive.array.html#method.each_mut) +- [`core::net`](https://doc.rust-lang.org/stable/core/net/index.html) +- [`f32::round_ties_even`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.round_ties_even) +- [`f64::round_ties_even`](https://doc.rust-lang.org/stable/std/primitive.f64.html#method.round_ties_even) +- [`mem::offset_of!`](https://doc.rust-lang.org/stable/std/mem/macro.offset_of.html) +- [`slice::first_chunk`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.first_chunk) +- [`slice::first_chunk_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.first_chunk_mut) +- [`slice::split_first_chunk`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_first_chunk) +- [`slice::split_first_chunk_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_first_chunk_mut) +- [`slice::last_chunk`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.last_chunk) +- [`slice::last_chunk_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.last_chunk_mut) +- [`slice::split_last_chunk`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_last_chunk) +- [`slice::split_last_chunk_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_last_chunk_mut) +- [`slice::chunk_by`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.chunk_by) +- [`slice::chunk_by_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.chunk_by_mut) +- [`Bound::map`](https://doc.rust-lang.org/stable/std/ops/enum.Bound.html#method.map) +- [`File::create_new`](https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.create_new) +- [`Mutex::clear_poison`](https://doc.rust-lang.org/stable/std/sync/struct.Mutex.html#method.clear_poison) +- [`RwLock::clear_poison`](https://doc.rust-lang.org/stable/std/sync/struct.RwLock.html#method.clear_poison) + + + +Cargo +----- + +- [Extend the build directive syntax with `cargo::`.](https://github.com/rust-lang/cargo/pull/12201/) +- [Stabilize metadata `id` format as `PackageIDSpec`.](https://github.com/rust-lang/cargo/pull/12914/) +- [Pull out as `cargo-util-schemas` as a crate.](https://github.com/rust-lang/cargo/pull/13178/) +- [Strip all debuginfo when debuginfo is not requested.](https://github.com/rust-lang/cargo/pull/13257/) +- [Inherit jobserver from env for all kinds of runners.](https://github.com/rust-lang/cargo/pull/12776/) +- [Deprecate rustc plugin support in cargo.](https://github.com/rust-lang/cargo/pull/13248/) + + + +Rustdoc +----- + +- [Allows links in markdown headings.](https://github.com/rust-lang/rust/pull/117662/) +- [Search for tuples and unit by type with `()`.](https://github.com/rust-lang/rust/pull/118194/) +- [Clean up the source sidebar's hide button.](https://github.com/rust-lang/rust/pull/119066/) +- [Prevent JS injection from `localStorage`.](https://github.com/rust-lang/rust/pull/120250/) + + + +Misc +---- + +- [Recommend version-sorting for all sorting in style guide.](https://github.com/rust-lang/rust/pull/115046/) + + + +Internal Changes +---------------- + +These changes do not affect any public interfaces of Rust, but they represent +significant improvements to the performance or internals of rustc and related +tools. + +- [Add more weirdness to `weird-exprs.rs`.](https://github.com/rust-lang/rust/pull/119028/) + Version 1.76.0 (2024-02-08) ========================== @@ -7,7 +141,7 @@ Language -------- - [Document Rust ABI compatibility between various types](https://github.com/rust-lang/rust/pull/115476/) - [Also: guarantee that char and u32 are ABI-compatible](https://github.com/rust-lang/rust/pull/118032/) -- [Warn against ambiguous wide pointer comparisons](https://github.com/rust-lang/rust/pull/117758/) +- [Add lint `ambiguous_wide_pointer_comparisons` that supersedes `clippy::vtable_address_comparisons`](https://github.com/rust-lang/rust/pull/117758) diff --git a/compiler/rustc_abi/Cargo.toml b/compiler/rustc_abi/Cargo.toml index e549724b1c..5031e7a670 100644 --- a/compiler/rustc_abi/Cargo.toml +++ b/compiler/rustc_abi/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] # tidy-alphabetical-start -bitflags = "1.2.1" +bitflags = "2.4.1" rand = { version = "0.8.4", default-features = false, optional = true } rand_xoshiro = { version = "0.6.0", optional = true } rustc_data_structures = { path = "../rustc_data_structures", optional = true } diff --git a/compiler/rustc_abi/src/layout.rs b/compiler/rustc_abi/src/layout.rs index 5252472261..ec3ab828b7 100644 --- a/compiler/rustc_abi/src/layout.rs +++ b/compiler/rustc_abi/src/layout.rs @@ -11,6 +11,24 @@ use crate::{ Variants, WrappingRange, }; +// A variant is absent if it's uninhabited and only has ZST fields. +// Present uninhabited variants only require space for their fields, +// but *not* an encoding of the discriminant (e.g., a tag value). +// See issue #49298 for more details on the need to leave space +// for non-ZST uninhabited data (mostly partial initialization). +fn absent<'a, FieldIdx, VariantIdx, F>(fields: &IndexSlice) -> bool +where + FieldIdx: Idx, + VariantIdx: Idx, + F: Deref> + fmt::Debug, +{ + let uninhabited = fields.iter().any(|f| f.abi.is_uninhabited()); + // We cannot ignore alignment; that might lead us to entirely discard a variant and + // produce an enum that is less aligned than it should be! + let is_1zst = fields.iter().all(|f| f.is_1zst()); + uninhabited && is_1zst +} + pub trait LayoutCalculator { type TargetDataLayoutRef: Borrow; @@ -162,24 +180,6 @@ pub trait LayoutCalculator { let dl = self.current_data_layout(); let dl = dl.borrow(); - let scalar_unit = |value: Primitive| { - let size = value.size(dl); - assert!(size.bits() <= 128); - Scalar::Initialized { value, valid_range: WrappingRange::full(size) } - }; - - // A variant is absent if it's uninhabited and only has ZST fields. - // Present uninhabited variants only require space for their fields, - // but *not* an encoding of the discriminant (e.g., a tag value). - // See issue #49298 for more details on the need to leave space - // for non-ZST uninhabited data (mostly partial initialization). - let absent = |fields: &IndexSlice| { - let uninhabited = fields.iter().any(|f| f.abi.is_uninhabited()); - // We cannot ignore alignment; that might lead us to entirely discard a variant and - // produce an enum that is less aligned than it should be! - let is_1zst = fields.iter().all(|f| f.is_1zst()); - uninhabited && is_1zst - }; let (present_first, present_second) = { let mut present_variants = variants .iter_enumerated() @@ -197,574 +197,37 @@ pub trait LayoutCalculator { None => VariantIdx::new(0), }; - let is_struct = !is_enum || - // Only one variant is present. - (present_second.is_none() && - // Representation optimizations are allowed. - !repr.inhibit_enum_layout_opt()); - if is_struct { - // Struct, or univariant enum equivalent to a struct. - // (Typechecking will reject discriminant-sizing attrs.) - - let v = present_first; - let kind = if is_enum || variants[v].is_empty() || always_sized { - StructKind::AlwaysSized - } else { - StructKind::MaybeUnsized - }; - - let mut st = self.univariant(dl, &variants[v], repr, kind)?; - st.variants = Variants::Single { index: v }; - - if is_unsafe_cell { - let hide_niches = |scalar: &mut _| match scalar { - Scalar::Initialized { value, valid_range } => { - *valid_range = WrappingRange::full(value.size(dl)) - } - // Already doesn't have any niches - Scalar::Union { .. } => {} - }; - match &mut st.abi { - Abi::Uninhabited => {} - Abi::Scalar(scalar) => hide_niches(scalar), - Abi::ScalarPair(a, b) => { - hide_niches(a); - hide_niches(b); - } - Abi::Vector { element, count: _ } => hide_niches(element), - Abi::Aggregate { sized: _ } => {} - } - st.largest_niche = None; - return Some(st); - } - - let (start, end) = scalar_valid_range; - match st.abi { - Abi::Scalar(ref mut scalar) | Abi::ScalarPair(ref mut scalar, _) => { - // Enlarging validity ranges would result in missed - // optimizations, *not* wrongly assuming the inner - // value is valid. e.g. unions already enlarge validity ranges, - // because the values may be uninitialized. - // - // Because of that we only check that the start and end - // of the range is representable with this scalar type. - - let max_value = scalar.size(dl).unsigned_int_max(); - if let Bound::Included(start) = start { - // FIXME(eddyb) this might be incorrect - it doesn't - // account for wrap-around (end < start) ranges. - assert!(start <= max_value, "{start} > {max_value}"); - scalar.valid_range_mut().start = start; - } - if let Bound::Included(end) = end { - // FIXME(eddyb) this might be incorrect - it doesn't - // account for wrap-around (end < start) ranges. - assert!(end <= max_value, "{end} > {max_value}"); - scalar.valid_range_mut().end = end; - } - - // Update `largest_niche` if we have introduced a larger niche. - let niche = Niche::from_scalar(dl, Size::ZERO, *scalar); - if let Some(niche) = niche { - match st.largest_niche { - Some(largest_niche) => { - // Replace the existing niche even if they're equal, - // because this one is at a lower offset. - if largest_niche.available(dl) <= niche.available(dl) { - st.largest_niche = Some(niche); - } - } - None => st.largest_niche = Some(niche), - } - } - } - _ => assert!( - start == Bound::Unbounded && end == Bound::Unbounded, - "nonscalar layout for layout_scalar_valid_range type: {st:#?}", - ), - } - - return Some(st); - } - - // At this point, we have handled all unions and - // structs. (We have also handled univariant enums - // that allow representation optimization.) - assert!(is_enum); - - // Until we've decided whether to use the tagged or - // niche filling LayoutS, we don't want to intern the - // variant layouts, so we can't store them in the - // overall LayoutS. Store the overall LayoutS - // and the variant LayoutSs here until then. - struct TmpLayout { - layout: LayoutS, - variants: IndexVec>, - } - - let calculate_niche_filling_layout = || -> Option> { - if dont_niche_optimize_enum { - return None; - } - - if variants.len() < 2 { - return None; - } - - let mut align = dl.aggregate_align; - let mut max_repr_align = repr.align; - let mut unadjusted_abi_align = align.abi; - - let mut variant_layouts = variants - .iter_enumerated() - .map(|(j, v)| { - let mut st = self.univariant(dl, v, repr, StructKind::AlwaysSized)?; - st.variants = Variants::Single { index: j }; - - align = align.max(st.align); - max_repr_align = max_repr_align.max(st.max_repr_align); - unadjusted_abi_align = unadjusted_abi_align.max(st.unadjusted_abi_align); - - Some(st) - }) - .collect::>>()?; - - let largest_variant_index = variant_layouts - .iter_enumerated() - .max_by_key(|(_i, layout)| layout.size.bytes()) - .map(|(i, _layout)| i)?; - - let all_indices = variants.indices(); - let needs_disc = - |index: VariantIdx| index != largest_variant_index && !absent(&variants[index]); - let niche_variants = all_indices.clone().find(|v| needs_disc(*v)).unwrap() - ..=all_indices.rev().find(|v| needs_disc(*v)).unwrap(); - - let count = - (niche_variants.end().index() as u128 - niche_variants.start().index() as u128) + 1; - - // Find the field with the largest niche - let (field_index, niche, (niche_start, niche_scalar)) = variants[largest_variant_index] - .iter() - .enumerate() - .filter_map(|(j, field)| Some((j, field.largest_niche?))) - .max_by_key(|(_, niche)| niche.available(dl)) - .and_then(|(j, niche)| Some((j, niche, niche.reserve(dl, count)?)))?; - let niche_offset = - niche.offset + variant_layouts[largest_variant_index].fields.offset(field_index); - let niche_size = niche.value.size(dl); - let size = variant_layouts[largest_variant_index].size.align_to(align.abi); - - let all_variants_fit = variant_layouts.iter_enumerated_mut().all(|(i, layout)| { - if i == largest_variant_index { - return true; - } - - layout.largest_niche = None; - - if layout.size <= niche_offset { - // This variant will fit before the niche. - return true; - } - - // Determine if it'll fit after the niche. - let this_align = layout.align.abi; - let this_offset = (niche_offset + niche_size).align_to(this_align); - - if this_offset + layout.size > size { - return false; - } - - // It'll fit, but we need to make some adjustments. - match layout.fields { - FieldsShape::Arbitrary { ref mut offsets, .. } => { - for offset in offsets.iter_mut() { - *offset += this_offset; - } - } - FieldsShape::Primitive | FieldsShape::Array { .. } | FieldsShape::Union(..) => { - panic!("Layout of fields should be Arbitrary for variants") - } - } - - // It can't be a Scalar or ScalarPair because the offset isn't 0. - if !layout.abi.is_uninhabited() { - layout.abi = Abi::Aggregate { sized: true }; - } - layout.size += this_offset; - - true - }); - - if !all_variants_fit { - return None; - } - - let largest_niche = Niche::from_scalar(dl, niche_offset, niche_scalar); - - let others_zst = variant_layouts - .iter_enumerated() - .all(|(i, layout)| i == largest_variant_index || layout.size == Size::ZERO); - let same_size = size == variant_layouts[largest_variant_index].size; - let same_align = align == variant_layouts[largest_variant_index].align; - - let abi = if variant_layouts.iter().all(|v| v.abi.is_uninhabited()) { - Abi::Uninhabited - } else if same_size && same_align && others_zst { - match variant_layouts[largest_variant_index].abi { - // When the total alignment and size match, we can use the - // same ABI as the scalar variant with the reserved niche. - Abi::Scalar(_) => Abi::Scalar(niche_scalar), - Abi::ScalarPair(first, second) => { - // Only the niche is guaranteed to be initialised, - // so use union layouts for the other primitive. - if niche_offset == Size::ZERO { - Abi::ScalarPair(niche_scalar, second.to_union()) - } else { - Abi::ScalarPair(first.to_union(), niche_scalar) - } - } - _ => Abi::Aggregate { sized: true }, - } - } else { - Abi::Aggregate { sized: true } - }; - - let layout = LayoutS { - variants: Variants::Multiple { - tag: niche_scalar, - tag_encoding: TagEncoding::Niche { - untagged_variant: largest_variant_index, - niche_variants, - niche_start, - }, - tag_field: 0, - variants: IndexVec::new(), - }, - fields: FieldsShape::Arbitrary { - offsets: [niche_offset].into(), - memory_index: [0].into(), - }, - abi, - largest_niche, - size, - align, - max_repr_align, - unadjusted_abi_align, - }; - - Some(TmpLayout { layout, variants: variant_layouts }) - }; - - let niche_filling_layout = calculate_niche_filling_layout(); - - let (mut min, mut max) = (i128::MAX, i128::MIN); - let discr_type = repr.discr_type(); - let bits = Integer::from_attr(dl, discr_type).size().bits(); - for (i, mut val) in discriminants { - if variants[i].iter().any(|f| f.abi.is_uninhabited()) { - continue; - } - if discr_type.is_signed() { - // sign extend the raw representation to be an i128 - val = (val << (128 - bits)) >> (128 - bits); - } - if val < min { - min = val; - } - if val > max { - max = val; - } - } - // We might have no inhabited variants, so pretend there's at least one. - if (min, max) == (i128::MAX, i128::MIN) { - min = 0; - max = 0; - } - assert!(min <= max, "discriminant range is {min}...{max}"); - let (min_ity, signed) = discr_range_of_repr(min, max); //Integer::repr_discr(tcx, ty, &repr, min, max); - - let mut align = dl.aggregate_align; - let mut max_repr_align = repr.align; - let mut unadjusted_abi_align = align.abi; - - let mut size = Size::ZERO; - - // We're interested in the smallest alignment, so start large. - let mut start_align = Align::from_bytes(256).unwrap(); - assert_eq!(Integer::for_align(dl, start_align), None); - - // repr(C) on an enum tells us to make a (tag, union) layout, - // so we need to grow the prefix alignment to be at least - // the alignment of the union. (This value is used both for - // determining the alignment of the overall enum, and the - // determining the alignment of the payload after the tag.) - let mut prefix_align = min_ity.align(dl).abi; - if repr.c() { - for fields in variants { - for field in fields { - prefix_align = prefix_align.max(field.align.abi); - } - } - } - - // Create the set of structs that represent each variant. - let mut layout_variants = variants - .iter_enumerated() - .map(|(i, field_layouts)| { - let mut st = self.univariant( - dl, - field_layouts, - repr, - StructKind::Prefixed(min_ity.size(), prefix_align), - )?; - st.variants = Variants::Single { index: i }; - // Find the first field we can't move later - // to make room for a larger discriminant. - for field_idx in st.fields.index_by_increasing_offset() { - let field = &field_layouts[FieldIdx::new(field_idx)]; - if !field.is_1zst() { - start_align = start_align.min(field.align.abi); - break; - } - } - size = cmp::max(size, st.size); - align = align.max(st.align); - max_repr_align = max_repr_align.max(st.max_repr_align); - unadjusted_abi_align = unadjusted_abi_align.max(st.unadjusted_abi_align); - Some(st) - }) - .collect::>>()?; - - // Align the maximum variant size to the largest alignment. - size = size.align_to(align.abi); - - // FIXME(oli-obk): deduplicate and harden these checks - if size.bytes() >= dl.obj_size_bound() { - return None; - } - - let typeck_ity = Integer::from_attr(dl, repr.discr_type()); - if typeck_ity < min_ity { - // It is a bug if Layout decided on a greater discriminant size than typeck for - // some reason at this point (based on values discriminant can take on). Mostly - // because this discriminant will be loaded, and then stored into variable of - // type calculated by typeck. Consider such case (a bug): typeck decided on - // byte-sized discriminant, but layout thinks we need a 16-bit to store all - // discriminant values. That would be a bug, because then, in codegen, in order - // to store this 16-bit discriminant into 8-bit sized temporary some of the - // space necessary to represent would have to be discarded (or layout is wrong - // on thinking it needs 16 bits) - panic!( - "layout decided on a larger discriminant type ({min_ity:?}) than typeck ({typeck_ity:?})" - ); - // However, it is fine to make discr type however large (as an optimisation) - // after this point – we’ll just truncate the value we load in codegen. - } - - // Check to see if we should use a different type for the - // discriminant. We can safely use a type with the same size - // as the alignment of the first field of each variant. - // We increase the size of the discriminant to avoid LLVM copying - // padding when it doesn't need to. This normally causes unaligned - // load/stores and excessive memcpy/memset operations. By using a - // bigger integer size, LLVM can be sure about its contents and - // won't be so conservative. - - // Use the initial field alignment - let mut ity = if repr.c() || repr.int.is_some() { - min_ity + // take the struct path if it is an actual struct + if !is_enum || + // or for optimizing univariant enums + (present_second.is_none() && !repr.inhibit_enum_layout_opt()) + { + layout_of_struct( + self, + repr, + variants, + is_enum, + is_unsafe_cell, + scalar_valid_range, + always_sized, + dl, + present_first, + ) } else { - Integer::for_align(dl, start_align).unwrap_or(min_ity) - }; - - // If the alignment is not larger than the chosen discriminant size, - // don't use the alignment as the final size. - if ity <= min_ity { - ity = min_ity; - } else { - // Patch up the variants' first few fields. - let old_ity_size = min_ity.size(); - let new_ity_size = ity.size(); - for variant in &mut layout_variants { - match variant.fields { - FieldsShape::Arbitrary { ref mut offsets, .. } => { - for i in offsets { - if *i <= old_ity_size { - assert_eq!(*i, old_ity_size); - *i = new_ity_size; - } - } - // We might be making the struct larger. - if variant.size <= old_ity_size { - variant.size = new_ity_size; - } - } - FieldsShape::Primitive | FieldsShape::Array { .. } | FieldsShape::Union(..) => { - panic!("encountered a non-arbitrary layout during enum layout") - } - } - } + // At this point, we have handled all unions and + // structs. (We have also handled univariant enums + // that allow representation optimization.) + assert!(is_enum); + layout_of_enum( + self, + repr, + variants, + discr_range_of_repr, + discriminants, + dont_niche_optimize_enum, + dl, + ) } - - let tag_mask = ity.size().unsigned_int_max(); - let tag = Scalar::Initialized { - value: Primitive::Int(ity, signed), - valid_range: WrappingRange { - start: (min as u128 & tag_mask), - end: (max as u128 & tag_mask), - }, - }; - let mut abi = Abi::Aggregate { sized: true }; - - if layout_variants.iter().all(|v| v.abi.is_uninhabited()) { - abi = Abi::Uninhabited; - } else if tag.size(dl) == size { - // Make sure we only use scalar layout when the enum is entirely its - // own tag (i.e. it has no padding nor any non-ZST variant fields). - abi = Abi::Scalar(tag); - } else { - // Try to use a ScalarPair for all tagged enums. - // That's possible only if we can find a common primitive type for all variants. - let mut common_prim = None; - let mut common_prim_initialized_in_all_variants = true; - for (field_layouts, layout_variant) in iter::zip(variants, &layout_variants) { - let FieldsShape::Arbitrary { ref offsets, .. } = layout_variant.fields else { - panic!("encountered a non-arbitrary layout during enum layout"); - }; - // We skip *all* ZST here and later check if we are good in terms of alignment. - // This lets us handle some cases involving aligned ZST. - let mut fields = iter::zip(field_layouts, offsets).filter(|p| !p.0.is_zst()); - let (field, offset) = match (fields.next(), fields.next()) { - (None, None) => { - common_prim_initialized_in_all_variants = false; - continue; - } - (Some(pair), None) => pair, - _ => { - common_prim = None; - break; - } - }; - let prim = match field.abi { - Abi::Scalar(scalar) => { - common_prim_initialized_in_all_variants &= - matches!(scalar, Scalar::Initialized { .. }); - scalar.primitive() - } - _ => { - common_prim = None; - break; - } - }; - if let Some(pair) = common_prim { - // This is pretty conservative. We could go fancier - // by conflating things like i32 and u32, or even - // realising that (u8, u8) could just cohabit with - // u16 or even u32. - if pair != (prim, offset) { - common_prim = None; - break; - } - } else { - common_prim = Some((prim, offset)); - } - } - if let Some((prim, offset)) = common_prim { - let prim_scalar = if common_prim_initialized_in_all_variants { - scalar_unit(prim) - } else { - // Common prim might be uninit. - Scalar::Union { value: prim } - }; - let pair = self.scalar_pair::(tag, prim_scalar); - let pair_offsets = match pair.fields { - FieldsShape::Arbitrary { ref offsets, ref memory_index } => { - assert_eq!(memory_index.raw, [0, 1]); - offsets - } - _ => panic!("encountered a non-arbitrary layout during enum layout"), - }; - if pair_offsets[FieldIdx::new(0)] == Size::ZERO - && pair_offsets[FieldIdx::new(1)] == *offset - && align == pair.align - && size == pair.size - { - // We can use `ScalarPair` only when it matches our - // already computed layout (including `#[repr(C)]`). - abi = pair.abi; - } - } - } - - // If we pick a "clever" (by-value) ABI, we might have to adjust the ABI of the - // variants to ensure they are consistent. This is because a downcast is - // semantically a NOP, and thus should not affect layout. - if matches!(abi, Abi::Scalar(..) | Abi::ScalarPair(..)) { - for variant in &mut layout_variants { - // We only do this for variants with fields; the others are not accessed anyway. - // Also do not overwrite any already existing "clever" ABIs. - if variant.fields.count() > 0 && matches!(variant.abi, Abi::Aggregate { .. }) { - variant.abi = abi; - // Also need to bump up the size and alignment, so that the entire value fits - // in here. - variant.size = cmp::max(variant.size, size); - variant.align.abi = cmp::max(variant.align.abi, align.abi); - } - } - } - - let largest_niche = Niche::from_scalar(dl, Size::ZERO, tag); - - let tagged_layout = LayoutS { - variants: Variants::Multiple { - tag, - tag_encoding: TagEncoding::Direct, - tag_field: 0, - variants: IndexVec::new(), - }, - fields: FieldsShape::Arbitrary { - offsets: [Size::ZERO].into(), - memory_index: [0].into(), - }, - largest_niche, - abi, - align, - size, - max_repr_align, - unadjusted_abi_align, - }; - - let tagged_layout = TmpLayout { layout: tagged_layout, variants: layout_variants }; - - let mut best_layout = match (tagged_layout, niche_filling_layout) { - (tl, Some(nl)) => { - // Pick the smaller layout; otherwise, - // pick the layout with the larger niche; otherwise, - // pick tagged as it has simpler codegen. - use cmp::Ordering::*; - let niche_size = |tmp_l: &TmpLayout| { - tmp_l.layout.largest_niche.map_or(0, |n| n.available(dl)) - }; - match (tl.layout.size.cmp(&nl.layout.size), niche_size(&tl).cmp(&niche_size(&nl))) { - (Greater, _) => nl, - (Equal, Less) => nl, - _ => tl, - } - } - (tl, None) => tl, - }; - - // Now we can intern the variant layouts and store them in the enum layout. - best_layout.layout.variants = match best_layout.layout.variants { - Variants::Multiple { tag, tag_encoding, tag_field, .. } => { - Variants::Multiple { tag, tag_encoding, tag_field, variants: best_layout.variants } - } - Variants::Single { .. } => { - panic!("encountered a single-variant enum during multi-variant layout") - } - }; - Some(best_layout.layout) } fn layout_of_union< @@ -872,6 +335,593 @@ pub trait LayoutCalculator { } } +/// single-variant enums are just structs, if you think about it +fn layout_of_struct<'a, LC, FieldIdx: Idx, VariantIdx: Idx, F>( + layout_calc: &LC, + repr: &ReprOptions, + variants: &IndexSlice>, + is_enum: bool, + is_unsafe_cell: bool, + scalar_valid_range: (Bound, Bound), + always_sized: bool, + dl: &TargetDataLayout, + present_first: VariantIdx, +) -> Option> +where + LC: LayoutCalculator + ?Sized, + F: Deref> + fmt::Debug, +{ + // Struct, or univariant enum equivalent to a struct. + // (Typechecking will reject discriminant-sizing attrs.) + + let v = present_first; + let kind = if is_enum || variants[v].is_empty() || always_sized { + StructKind::AlwaysSized + } else { + StructKind::MaybeUnsized + }; + + let mut st = layout_calc.univariant(dl, &variants[v], repr, kind)?; + st.variants = Variants::Single { index: v }; + + if is_unsafe_cell { + let hide_niches = |scalar: &mut _| match scalar { + Scalar::Initialized { value, valid_range } => { + *valid_range = WrappingRange::full(value.size(dl)) + } + // Already doesn't have any niches + Scalar::Union { .. } => {} + }; + match &mut st.abi { + Abi::Uninhabited => {} + Abi::Scalar(scalar) => hide_niches(scalar), + Abi::ScalarPair(a, b) => { + hide_niches(a); + hide_niches(b); + } + Abi::Vector { element, count: _ } => hide_niches(element), + Abi::Aggregate { sized: _ } => {} + } + st.largest_niche = None; + return Some(st); + } + + let (start, end) = scalar_valid_range; + match st.abi { + Abi::Scalar(ref mut scalar) | Abi::ScalarPair(ref mut scalar, _) => { + // Enlarging validity ranges would result in missed + // optimizations, *not* wrongly assuming the inner + // value is valid. e.g. unions already enlarge validity ranges, + // because the values may be uninitialized. + // + // Because of that we only check that the start and end + // of the range is representable with this scalar type. + + let max_value = scalar.size(dl).unsigned_int_max(); + if let Bound::Included(start) = start { + // FIXME(eddyb) this might be incorrect - it doesn't + // account for wrap-around (end < start) ranges. + assert!(start <= max_value, "{start} > {max_value}"); + scalar.valid_range_mut().start = start; + } + if let Bound::Included(end) = end { + // FIXME(eddyb) this might be incorrect - it doesn't + // account for wrap-around (end < start) ranges. + assert!(end <= max_value, "{end} > {max_value}"); + scalar.valid_range_mut().end = end; + } + + // Update `largest_niche` if we have introduced a larger niche. + let niche = Niche::from_scalar(dl, Size::ZERO, *scalar); + if let Some(niche) = niche { + match st.largest_niche { + Some(largest_niche) => { + // Replace the existing niche even if they're equal, + // because this one is at a lower offset. + if largest_niche.available(dl) <= niche.available(dl) { + st.largest_niche = Some(niche); + } + } + None => st.largest_niche = Some(niche), + } + } + } + _ => assert!( + start == Bound::Unbounded && end == Bound::Unbounded, + "nonscalar layout for layout_scalar_valid_range type: {st:#?}", + ), + } + + Some(st) +} + +fn layout_of_enum<'a, LC, FieldIdx: Idx, VariantIdx: Idx, F>( + layout_calc: &LC, + repr: &ReprOptions, + variants: &IndexSlice>, + discr_range_of_repr: impl Fn(i128, i128) -> (Integer, bool), + discriminants: impl Iterator, + dont_niche_optimize_enum: bool, + dl: &TargetDataLayout, +) -> Option> +where + LC: LayoutCalculator + ?Sized, + F: Deref> + fmt::Debug, +{ + // Until we've decided whether to use the tagged or + // niche filling LayoutS, we don't want to intern the + // variant layouts, so we can't store them in the + // overall LayoutS. Store the overall LayoutS + // and the variant LayoutSs here until then. + struct TmpLayout { + layout: LayoutS, + variants: IndexVec>, + } + + let calculate_niche_filling_layout = || -> Option> { + if dont_niche_optimize_enum { + return None; + } + + if variants.len() < 2 { + return None; + } + + let mut align = dl.aggregate_align; + let mut max_repr_align = repr.align; + let mut unadjusted_abi_align = align.abi; + + let mut variant_layouts = variants + .iter_enumerated() + .map(|(j, v)| { + let mut st = layout_calc.univariant(dl, v, repr, StructKind::AlwaysSized)?; + st.variants = Variants::Single { index: j }; + + align = align.max(st.align); + max_repr_align = max_repr_align.max(st.max_repr_align); + unadjusted_abi_align = unadjusted_abi_align.max(st.unadjusted_abi_align); + + Some(st) + }) + .collect::>>()?; + + let largest_variant_index = variant_layouts + .iter_enumerated() + .max_by_key(|(_i, layout)| layout.size.bytes()) + .map(|(i, _layout)| i)?; + + let all_indices = variants.indices(); + let needs_disc = + |index: VariantIdx| index != largest_variant_index && !absent(&variants[index]); + let niche_variants = all_indices.clone().find(|v| needs_disc(*v)).unwrap() + ..=all_indices.rev().find(|v| needs_disc(*v)).unwrap(); + + let count = + (niche_variants.end().index() as u128 - niche_variants.start().index() as u128) + 1; + + // Find the field with the largest niche + let (field_index, niche, (niche_start, niche_scalar)) = variants[largest_variant_index] + .iter() + .enumerate() + .filter_map(|(j, field)| Some((j, field.largest_niche?))) + .max_by_key(|(_, niche)| niche.available(dl)) + .and_then(|(j, niche)| Some((j, niche, niche.reserve(dl, count)?)))?; + let niche_offset = + niche.offset + variant_layouts[largest_variant_index].fields.offset(field_index); + let niche_size = niche.value.size(dl); + let size = variant_layouts[largest_variant_index].size.align_to(align.abi); + + let all_variants_fit = variant_layouts.iter_enumerated_mut().all(|(i, layout)| { + if i == largest_variant_index { + return true; + } + + layout.largest_niche = None; + + if layout.size <= niche_offset { + // This variant will fit before the niche. + return true; + } + + // Determine if it'll fit after the niche. + let this_align = layout.align.abi; + let this_offset = (niche_offset + niche_size).align_to(this_align); + + if this_offset + layout.size > size { + return false; + } + + // It'll fit, but we need to make some adjustments. + match layout.fields { + FieldsShape::Arbitrary { ref mut offsets, .. } => { + for offset in offsets.iter_mut() { + *offset += this_offset; + } + } + FieldsShape::Primitive | FieldsShape::Array { .. } | FieldsShape::Union(..) => { + panic!("Layout of fields should be Arbitrary for variants") + } + } + + // It can't be a Scalar or ScalarPair because the offset isn't 0. + if !layout.abi.is_uninhabited() { + layout.abi = Abi::Aggregate { sized: true }; + } + layout.size += this_offset; + + true + }); + + if !all_variants_fit { + return None; + } + + let largest_niche = Niche::from_scalar(dl, niche_offset, niche_scalar); + + let others_zst = variant_layouts + .iter_enumerated() + .all(|(i, layout)| i == largest_variant_index || layout.size == Size::ZERO); + let same_size = size == variant_layouts[largest_variant_index].size; + let same_align = align == variant_layouts[largest_variant_index].align; + + let abi = if variant_layouts.iter().all(|v| v.abi.is_uninhabited()) { + Abi::Uninhabited + } else if same_size && same_align && others_zst { + match variant_layouts[largest_variant_index].abi { + // When the total alignment and size match, we can use the + // same ABI as the scalar variant with the reserved niche. + Abi::Scalar(_) => Abi::Scalar(niche_scalar), + Abi::ScalarPair(first, second) => { + // Only the niche is guaranteed to be initialised, + // so use union layouts for the other primitive. + if niche_offset == Size::ZERO { + Abi::ScalarPair(niche_scalar, second.to_union()) + } else { + Abi::ScalarPair(first.to_union(), niche_scalar) + } + } + _ => Abi::Aggregate { sized: true }, + } + } else { + Abi::Aggregate { sized: true } + }; + + let layout = LayoutS { + variants: Variants::Multiple { + tag: niche_scalar, + tag_encoding: TagEncoding::Niche { + untagged_variant: largest_variant_index, + niche_variants, + niche_start, + }, + tag_field: 0, + variants: IndexVec::new(), + }, + fields: FieldsShape::Arbitrary { + offsets: [niche_offset].into(), + memory_index: [0].into(), + }, + abi, + largest_niche, + size, + align, + max_repr_align, + unadjusted_abi_align, + }; + + Some(TmpLayout { layout, variants: variant_layouts }) + }; + + let niche_filling_layout = calculate_niche_filling_layout(); + + let (mut min, mut max) = (i128::MAX, i128::MIN); + let discr_type = repr.discr_type(); + let bits = Integer::from_attr(dl, discr_type).size().bits(); + for (i, mut val) in discriminants { + if variants[i].iter().any(|f| f.abi.is_uninhabited()) { + continue; + } + if discr_type.is_signed() { + // sign extend the raw representation to be an i128 + val = (val << (128 - bits)) >> (128 - bits); + } + if val < min { + min = val; + } + if val > max { + max = val; + } + } + // We might have no inhabited variants, so pretend there's at least one. + if (min, max) == (i128::MAX, i128::MIN) { + min = 0; + max = 0; + } + assert!(min <= max, "discriminant range is {min}...{max}"); + let (min_ity, signed) = discr_range_of_repr(min, max); //Integer::repr_discr(tcx, ty, &repr, min, max); + + let mut align = dl.aggregate_align; + let mut max_repr_align = repr.align; + let mut unadjusted_abi_align = align.abi; + + let mut size = Size::ZERO; + + // We're interested in the smallest alignment, so start large. + let mut start_align = Align::from_bytes(256).unwrap(); + assert_eq!(Integer::for_align(dl, start_align), None); + + // repr(C) on an enum tells us to make a (tag, union) layout, + // so we need to grow the prefix alignment to be at least + // the alignment of the union. (This value is used both for + // determining the alignment of the overall enum, and the + // determining the alignment of the payload after the tag.) + let mut prefix_align = min_ity.align(dl).abi; + if repr.c() { + for fields in variants { + for field in fields { + prefix_align = prefix_align.max(field.align.abi); + } + } + } + + // Create the set of structs that represent each variant. + let mut layout_variants = variants + .iter_enumerated() + .map(|(i, field_layouts)| { + let mut st = layout_calc.univariant( + dl, + field_layouts, + repr, + StructKind::Prefixed(min_ity.size(), prefix_align), + )?; + st.variants = Variants::Single { index: i }; + // Find the first field we can't move later + // to make room for a larger discriminant. + for field_idx in st.fields.index_by_increasing_offset() { + let field = &field_layouts[FieldIdx::new(field_idx)]; + if !field.is_1zst() { + start_align = start_align.min(field.align.abi); + break; + } + } + size = cmp::max(size, st.size); + align = align.max(st.align); + max_repr_align = max_repr_align.max(st.max_repr_align); + unadjusted_abi_align = unadjusted_abi_align.max(st.unadjusted_abi_align); + Some(st) + }) + .collect::>>()?; + + // Align the maximum variant size to the largest alignment. + size = size.align_to(align.abi); + + // FIXME(oli-obk): deduplicate and harden these checks + if size.bytes() >= dl.obj_size_bound() { + return None; + } + + let typeck_ity = Integer::from_attr(dl, repr.discr_type()); + if typeck_ity < min_ity { + // It is a bug if Layout decided on a greater discriminant size than typeck for + // some reason at this point (based on values discriminant can take on). Mostly + // because this discriminant will be loaded, and then stored into variable of + // type calculated by typeck. Consider such case (a bug): typeck decided on + // byte-sized discriminant, but layout thinks we need a 16-bit to store all + // discriminant values. That would be a bug, because then, in codegen, in order + // to store this 16-bit discriminant into 8-bit sized temporary some of the + // space necessary to represent would have to be discarded (or layout is wrong + // on thinking it needs 16 bits) + panic!( + "layout decided on a larger discriminant type ({min_ity:?}) than typeck ({typeck_ity:?})" + ); + // However, it is fine to make discr type however large (as an optimisation) + // after this point – we’ll just truncate the value we load in codegen. + } + + // Check to see if we should use a different type for the + // discriminant. We can safely use a type with the same size + // as the alignment of the first field of each variant. + // We increase the size of the discriminant to avoid LLVM copying + // padding when it doesn't need to. This normally causes unaligned + // load/stores and excessive memcpy/memset operations. By using a + // bigger integer size, LLVM can be sure about its contents and + // won't be so conservative. + + // Use the initial field alignment + let mut ity = if repr.c() || repr.int.is_some() { + min_ity + } else { + Integer::for_align(dl, start_align).unwrap_or(min_ity) + }; + + // If the alignment is not larger than the chosen discriminant size, + // don't use the alignment as the final size. + if ity <= min_ity { + ity = min_ity; + } else { + // Patch up the variants' first few fields. + let old_ity_size = min_ity.size(); + let new_ity_size = ity.size(); + for variant in &mut layout_variants { + match variant.fields { + FieldsShape::Arbitrary { ref mut offsets, .. } => { + for i in offsets { + if *i <= old_ity_size { + assert_eq!(*i, old_ity_size); + *i = new_ity_size; + } + } + // We might be making the struct larger. + if variant.size <= old_ity_size { + variant.size = new_ity_size; + } + } + FieldsShape::Primitive | FieldsShape::Array { .. } | FieldsShape::Union(..) => { + panic!("encountered a non-arbitrary layout during enum layout") + } + } + } + } + + let tag_mask = ity.size().unsigned_int_max(); + let tag = Scalar::Initialized { + value: Primitive::Int(ity, signed), + valid_range: WrappingRange { + start: (min as u128 & tag_mask), + end: (max as u128 & tag_mask), + }, + }; + let mut abi = Abi::Aggregate { sized: true }; + + if layout_variants.iter().all(|v| v.abi.is_uninhabited()) { + abi = Abi::Uninhabited; + } else if tag.size(dl) == size { + // Make sure we only use scalar layout when the enum is entirely its + // own tag (i.e. it has no padding nor any non-ZST variant fields). + abi = Abi::Scalar(tag); + } else { + // Try to use a ScalarPair for all tagged enums. + // That's possible only if we can find a common primitive type for all variants. + let mut common_prim = None; + let mut common_prim_initialized_in_all_variants = true; + for (field_layouts, layout_variant) in iter::zip(variants, &layout_variants) { + let FieldsShape::Arbitrary { ref offsets, .. } = layout_variant.fields else { + panic!("encountered a non-arbitrary layout during enum layout"); + }; + // We skip *all* ZST here and later check if we are good in terms of alignment. + // This lets us handle some cases involving aligned ZST. + let mut fields = iter::zip(field_layouts, offsets).filter(|p| !p.0.is_zst()); + let (field, offset) = match (fields.next(), fields.next()) { + (None, None) => { + common_prim_initialized_in_all_variants = false; + continue; + } + (Some(pair), None) => pair, + _ => { + common_prim = None; + break; + } + }; + let prim = match field.abi { + Abi::Scalar(scalar) => { + common_prim_initialized_in_all_variants &= + matches!(scalar, Scalar::Initialized { .. }); + scalar.primitive() + } + _ => { + common_prim = None; + break; + } + }; + if let Some(pair) = common_prim { + // This is pretty conservative. We could go fancier + // by conflating things like i32 and u32, or even + // realising that (u8, u8) could just cohabit with + // u16 or even u32. + if pair != (prim, offset) { + common_prim = None; + break; + } + } else { + common_prim = Some((prim, offset)); + } + } + if let Some((prim, offset)) = common_prim { + let prim_scalar = if common_prim_initialized_in_all_variants { + let size = prim.size(dl); + assert!(size.bits() <= 128); + Scalar::Initialized { value: prim, valid_range: WrappingRange::full(size) } + } else { + // Common prim might be uninit. + Scalar::Union { value: prim } + }; + let pair = layout_calc.scalar_pair::(tag, prim_scalar); + let pair_offsets = match pair.fields { + FieldsShape::Arbitrary { ref offsets, ref memory_index } => { + assert_eq!(memory_index.raw, [0, 1]); + offsets + } + _ => panic!("encountered a non-arbitrary layout during enum layout"), + }; + if pair_offsets[FieldIdx::new(0)] == Size::ZERO + && pair_offsets[FieldIdx::new(1)] == *offset + && align == pair.align + && size == pair.size + { + // We can use `ScalarPair` only when it matches our + // already computed layout (including `#[repr(C)]`). + abi = pair.abi; + } + } + } + + // If we pick a "clever" (by-value) ABI, we might have to adjust the ABI of the + // variants to ensure they are consistent. This is because a downcast is + // semantically a NOP, and thus should not affect layout. + if matches!(abi, Abi::Scalar(..) | Abi::ScalarPair(..)) { + for variant in &mut layout_variants { + // We only do this for variants with fields; the others are not accessed anyway. + // Also do not overwrite any already existing "clever" ABIs. + if variant.fields.count() > 0 && matches!(variant.abi, Abi::Aggregate { .. }) { + variant.abi = abi; + // Also need to bump up the size and alignment, so that the entire value fits + // in here. + variant.size = cmp::max(variant.size, size); + variant.align.abi = cmp::max(variant.align.abi, align.abi); + } + } + } + + let largest_niche = Niche::from_scalar(dl, Size::ZERO, tag); + + let tagged_layout = LayoutS { + variants: Variants::Multiple { + tag, + tag_encoding: TagEncoding::Direct, + tag_field: 0, + variants: IndexVec::new(), + }, + fields: FieldsShape::Arbitrary { offsets: [Size::ZERO].into(), memory_index: [0].into() }, + largest_niche, + abi, + align, + size, + max_repr_align, + unadjusted_abi_align, + }; + + let tagged_layout = TmpLayout { layout: tagged_layout, variants: layout_variants }; + + let mut best_layout = match (tagged_layout, niche_filling_layout) { + (tl, Some(nl)) => { + // Pick the smaller layout; otherwise, + // pick the layout with the larger niche; otherwise, + // pick tagged as it has simpler codegen. + use cmp::Ordering::*; + let niche_size = |tmp_l: &TmpLayout| { + tmp_l.layout.largest_niche.map_or(0, |n| n.available(dl)) + }; + match (tl.layout.size.cmp(&nl.layout.size), niche_size(&tl).cmp(&niche_size(&nl))) { + (Greater, _) => nl, + (Equal, Less) => nl, + _ => tl, + } + } + (tl, None) => tl, + }; + + // Now we can intern the variant layouts and store them in the enum layout. + best_layout.layout.variants = match best_layout.layout.variants { + Variants::Multiple { tag, tag_encoding, tag_field, .. } => { + Variants::Multiple { tag, tag_encoding, tag_field, variants: best_layout.variants } + } + Variants::Single { .. } => { + panic!("encountered a single-variant enum during multi-variant layout") + } + }; + Some(best_layout.layout) +} + /// Determines towards which end of a struct layout optimizations will try to place the best niches. enum NicheBias { Start, diff --git a/compiler/rustc_abi/src/lib.rs b/compiler/rustc_abi/src/lib.rs index eb42803f93..c45a4a410f 100644 --- a/compiler/rustc_abi/src/lib.rs +++ b/compiler/rustc_abi/src/lib.rs @@ -16,7 +16,7 @@ use rustc_data_structures::stable_hasher::StableOrd; #[cfg(feature = "nightly")] use rustc_macros::HashStable_Generic; #[cfg(feature = "nightly")] -use rustc_macros::{Decodable, Encodable}; +use rustc_macros::{Decodable_Generic, Encodable_Generic}; #[cfg(feature = "nightly")] use std::iter::Step; @@ -29,10 +29,12 @@ pub use layout::LayoutCalculator; /// instead of implementing everything in `rustc_middle`. pub trait HashStableContext {} +#[derive(Clone, Copy, PartialEq, Eq, Default)] +#[cfg_attr(feature = "nightly", derive(Encodable_Generic, Decodable_Generic, HashStable_Generic))] +pub struct ReprFlags(u8); + bitflags! { - #[derive(Default)] - #[cfg_attr(feature = "nightly", derive(Encodable, Decodable, HashStable_Generic))] - pub struct ReprFlags: u8 { + impl ReprFlags: u8 { const IS_C = 1 << 0; const IS_SIMD = 1 << 1; const IS_TRANSPARENT = 1 << 2; @@ -42,14 +44,22 @@ bitflags! { // the seed stored in `ReprOptions.layout_seed` const RANDOMIZE_LAYOUT = 1 << 4; // Any of these flags being set prevent field reordering optimisation. - const IS_UNOPTIMISABLE = ReprFlags::IS_C.bits - | ReprFlags::IS_SIMD.bits - | ReprFlags::IS_LINEAR.bits; + const IS_UNOPTIMISABLE = ReprFlags::IS_C.bits() + | ReprFlags::IS_SIMD.bits() + | ReprFlags::IS_LINEAR.bits(); + } +} + +// This is the same as `rustc_data_structures::external_bitflags_debug` but without the +// `rustc_data_structures` to make it build on stable. +impl std::fmt::Debug for ReprFlags { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + bitflags::parser::to_writer(self, f) } } #[derive(Copy, Clone, Debug, Eq, PartialEq)] -#[cfg_attr(feature = "nightly", derive(Encodable, Decodable, HashStable_Generic))] +#[cfg_attr(feature = "nightly", derive(Encodable_Generic, Decodable_Generic, HashStable_Generic))] pub enum IntegerType { /// Pointer-sized integer type, i.e. `isize` and `usize`. The field shows signedness, e.g. /// `Pointer(true)` means `isize`. @@ -70,7 +80,7 @@ impl IntegerType { /// Represents the repr options provided by the user. #[derive(Copy, Clone, Debug, Eq, PartialEq, Default)] -#[cfg_attr(feature = "nightly", derive(Encodable, Decodable, HashStable_Generic))] +#[cfg_attr(feature = "nightly", derive(Encodable_Generic, Decodable_Generic, HashStable_Generic))] pub struct ReprOptions { pub int: Option, pub align: Option, @@ -409,7 +419,7 @@ impl FromStr for Endian { /// Size of a type in bytes. #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[cfg_attr(feature = "nightly", derive(Encodable, Decodable, HashStable_Generic))] +#[cfg_attr(feature = "nightly", derive(Encodable_Generic, Decodable_Generic, HashStable_Generic))] pub struct Size { raw: u64, } @@ -633,7 +643,7 @@ impl Step for Size { /// Alignment of a type in bytes (always a power of two). #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[cfg_attr(feature = "nightly", derive(Encodable, Decodable, HashStable_Generic))] +#[cfg_attr(feature = "nightly", derive(Encodable_Generic, Decodable_Generic, HashStable_Generic))] pub struct Align { pow2: u8, } @@ -774,7 +784,7 @@ impl AbiAndPrefAlign { /// Integers, also used for enum discriminants. #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)] -#[cfg_attr(feature = "nightly", derive(Encodable, Decodable, HashStable_Generic))] +#[cfg_attr(feature = "nightly", derive(Encodable_Generic, Decodable_Generic, HashStable_Generic))] pub enum Integer { I8, I16, diff --git a/compiler/rustc_arena/src/lib.rs b/compiler/rustc_arena/src/lib.rs index 621516af9c..90ddeec4bc 100644 --- a/compiler/rustc_arena/src/lib.rs +++ b/compiler/rustc_arena/src/lib.rs @@ -484,6 +484,19 @@ impl DroplessArena { } } + /// Used by `Lift` to check whether this slice is allocated + /// in this arena. + #[inline] + pub fn contains_slice(&self, slice: &[T]) -> bool { + for chunk in self.chunks.borrow_mut().iter_mut() { + let ptr = slice.as_ptr().cast::().cast_mut(); + if chunk.start() <= ptr && chunk.end() >= ptr { + return true; + } + } + false + } + /// Allocates a string slice that is copied into the `DroplessArena`, returning a /// reference to it. Will panic if passed an empty string. /// diff --git a/compiler/rustc_ast/Cargo.toml b/compiler/rustc_ast/Cargo.toml index 59e3d85589..937ee4bcd4 100644 --- a/compiler/rustc_ast/Cargo.toml +++ b/compiler/rustc_ast/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] # tidy-alphabetical-start -bitflags = "1.2.1" +bitflags = "2.4.1" memchr = "2.5.0" rustc_data_structures = { path = "../rustc_data_structures" } rustc_index = { path = "../rustc_index" } diff --git a/compiler/rustc_ast/src/ast.rs b/compiler/rustc_ast/src/ast.rs index a121b5a9be..4eb8169d0c 100644 --- a/compiler/rustc_ast/src/ast.rs +++ b/compiler/rustc_ast/src/ast.rs @@ -20,17 +20,18 @@ pub use crate::format::*; pub use crate::util::parser::ExprPrecedence; +pub use rustc_span::AttrId; pub use GenericArgs::*; pub use UnsafeSource::*; use crate::ptr::P; use crate::token::{self, CommentKind, Delimiter}; use crate::tokenstream::{DelimSpan, LazyAttrTokenStream, TokenStream}; +use rustc_data_structures::packed::Pu128; use rustc_data_structures::stable_hasher::{HashStable, StableHasher}; use rustc_data_structures::stack::ensure_sufficient_stack; use rustc_data_structures::sync::Lrc; use rustc_macros::HashStable_Generic; -use rustc_serialize::{Decodable, Decoder, Encodable, Encoder}; use rustc_span::source_map::{respan, Spanned}; use rustc_span::symbol::{kw, sym, Ident, Symbol}; use rustc_span::{ErrorGuaranteed, Span, DUMMY_SP}; @@ -286,41 +287,16 @@ impl ParenthesizedArgs { pub use crate::node_id::{NodeId, CRATE_NODE_ID, DUMMY_NODE_ID}; -/// A modifier on a bound, e.g., `?Trait` or `~const Trait`. -/// -/// Negative bounds should also be handled here. +/// Modifiers on a trait bound like `~const`, `?` and `!`. #[derive(Copy, Clone, PartialEq, Eq, Encodable, Decodable, Debug)] -pub enum TraitBoundModifier { - /// No modifiers - None, - - /// `!Trait` - Negative, - - /// `?Trait` - Maybe, - - /// `~const Trait` - MaybeConst(Span), - - /// `~const !Trait` - // - // This parses but will be rejected during AST validation. - MaybeConstNegative, - - /// `~const ?Trait` - // - // This parses but will be rejected during AST validation. - MaybeConstMaybe, +pub struct TraitBoundModifiers { + pub constness: BoundConstness, + pub polarity: BoundPolarity, } -impl TraitBoundModifier { - pub fn to_constness(self) -> Const { - match self { - Self::MaybeConst(span) => Const::Yes(span), - _ => Const::No, - } - } +impl TraitBoundModifiers { + pub const NONE: Self = + Self { constness: BoundConstness::Never, polarity: BoundPolarity::Positive }; } /// The AST represents all type param bounds as types. @@ -329,7 +305,7 @@ impl TraitBoundModifier { /// detects `Copy`, `Send` and `Sync`. #[derive(Clone, Encodable, Decodable, Debug)] pub enum GenericBound { - Trait(PolyTraitRef, TraitBoundModifier), + Trait(PolyTraitRef, TraitBoundModifiers), Outlives(Lifetime), } @@ -650,7 +626,8 @@ impl Pat { | PatKind::Range(..) | PatKind::Ident(..) | PatKind::Path(..) - | PatKind::MacCall(_) => {} + | PatKind::MacCall(_) + | PatKind::Err(_) => {} } } @@ -779,8 +756,7 @@ pub enum PatKind { Ident(BindingAnnotation, Ident, Option>), /// A struct or struct variant pattern (e.g., `Variant {x, y, ..}`). - /// The `bool` is `true` in the presence of a `..`. - Struct(Option>, Path, ThinVec, /* recovered */ bool), + Struct(Option>, Path, ThinVec, PatFieldsRest), /// A tuple struct/variant pattern (`Variant(x, y, .., z)`). TupleStruct(Option>, Path, ThinVec>), @@ -835,6 +811,18 @@ pub enum PatKind { /// A macro pattern; pre-expansion. MacCall(P), + + /// Placeholder for a pattern that wasn't syntactically well formed in some way. + Err(ErrorGuaranteed), +} + +/// Whether the `..` is present in a struct fields pattern. +#[derive(Clone, Copy, Encodable, Decodable, Debug, PartialEq)] +pub enum PatFieldsRest { + /// `module::StructName { field, ..}` + Rest, + /// `module::StructName { field }` + None, } /// The kind of borrow in an `AddrOf` expression, @@ -1193,7 +1181,7 @@ impl Expr { match &self.kind { ExprKind::Path(None, path) => Some(GenericBound::Trait( PolyTraitRef::new(ThinVec::new(), path.clone(), self.span), - TraitBoundModifier::None, + TraitBoundModifiers::NONE, )), _ => None, } @@ -1274,7 +1262,7 @@ impl Expr { ExprKind::Let(..) => ExprPrecedence::Let, ExprKind::If(..) => ExprPrecedence::If, ExprKind::While(..) => ExprPrecedence::While, - ExprKind::ForLoop(..) => ExprPrecedence::ForLoop, + ExprKind::ForLoop { .. } => ExprPrecedence::ForLoop, ExprKind::Loop(..) => ExprPrecedence::Loop, ExprKind::Match(..) => ExprPrecedence::Match, ExprKind::Closure(..) => ExprPrecedence::Closure, @@ -1436,10 +1424,10 @@ pub enum ExprKind { While(P, P, Option