From 2e00214b3efbdfeefaa0fe9e8b8fd519de7adc35 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:50 +0200 Subject: Merging upstream version 1.69.0+dfsg1. Signed-off-by: Daniel Baumann --- Cargo.lock | 418 +- README.md | 2 + RELEASES.md | 110 +- compiler/rustc/Cargo.toml | 7 +- compiler/rustc_abi/src/layout.rs | 146 +- compiler/rustc_abi/src/lib.rs | 138 +- compiler/rustc_ast/Cargo.toml | 3 +- compiler/rustc_ast/src/ast.rs | 106 +- compiler/rustc_ast/src/attr/mod.rs | 632 +- compiler/rustc_ast/src/format.rs | 272 + compiler/rustc_ast/src/lib.rs | 3 +- compiler/rustc_ast/src/mut_visit.rs | 58 +- compiler/rustc_ast/src/tokenstream.rs | 42 +- compiler/rustc_ast/src/util/comments.rs | 33 +- compiler/rustc_ast/src/util/parser.rs | 6 +- compiler/rustc_ast/src/util/unicode.rs | 2 +- compiler/rustc_ast/src/visit.rs | 13 + compiler/rustc_ast_lowering/Cargo.toml | 4 +- compiler/rustc_ast_lowering/locales/en-US.ftl | 141 + compiler/rustc_ast_lowering/src/errors.rs | 9 +- compiler/rustc_ast_lowering/src/expr.rs | 125 +- compiler/rustc_ast_lowering/src/format.rs | 411 ++ compiler/rustc_ast_lowering/src/index.rs | 13 - compiler/rustc_ast_lowering/src/item.rs | 90 +- compiler/rustc_ast_lowering/src/lib.rs | 238 +- compiler/rustc_ast_lowering/src/pat.rs | 4 +- compiler/rustc_ast_passes/Cargo.toml | 5 +- compiler/rustc_ast_passes/locales/en-US.ftl | 236 + compiler/rustc_ast_passes/src/ast_validation.rs | 637 +- compiler/rustc_ast_passes/src/errors.rs | 489 +- compiler/rustc_ast_passes/src/feature_gate.rs | 111 +- compiler/rustc_ast_passes/src/lib.rs | 8 +- compiler/rustc_ast_passes/src/show_span.rs | 8 +- compiler/rustc_ast_pretty/Cargo.toml | 3 +- compiler/rustc_ast_pretty/src/pprust/state.rs | 25 +- compiler/rustc_ast_pretty/src/pprust/state/expr.rs | 104 + compiler/rustc_ast_pretty/src/pprust/tests.rs | 7 +- compiler/rustc_attr/locales/en-US.ftl | 107 + compiler/rustc_attr/src/builtin.rs | 2 +- compiler/rustc_attr/src/lib.rs | 5 + compiler/rustc_attr/src/session_diagnostics.rs | 19 +- compiler/rustc_baked_icu_data/Cargo.toml | 11 +- compiler/rustc_baked_icu_data/src/data/any.rs | 42 +- .../src/data/fallback/likelysubtags_v1.rs | 733 -- .../src/data/fallback/likelysubtags_v1/mod.rs | 6 + .../src/data/fallback/likelysubtags_v1/und.rs.data | 728 ++ .../src/data/fallback/parents_v1.rs | 207 - .../src/data/fallback/parents_v1/mod.rs | 6 + .../src/data/fallback/parents_v1/und.rs.data | 216 + .../src/data/fallback/supplement/co_v1.rs | 41 - .../src/data/fallback/supplement/co_v1/mod.rs | 6 + .../src/data/fallback/supplement/co_v1/und.rs.data | 36 + .../rustc_baked_icu_data/src/data/list/and_v1.rs | 1161 --- .../src/data/list/and_v1/en.rs.data | 74 + .../src/data/list/and_v1/es.rs.data | 836 +++ .../src/data/list/and_v1/fr.rs.data | 74 + .../src/data/list/and_v1/it.rs.data | 74 + .../src/data/list/and_v1/ja.rs.data | 74 + .../src/data/list/and_v1/mod.rs | 22 + .../src/data/list/and_v1/pt.rs.data | 74 + .../src/data/list/and_v1/ru.rs.data | 74 + .../src/data/list/and_v1/tr.rs.data | 74 + .../src/data/list/and_v1/und.rs.data | 74 + .../src/data/list/and_v1/zh-Hant.rs.data | 74 + .../src/data/list/and_v1/zh.rs.data | 74 + compiler/rustc_baked_icu_data/src/data/mod.rs | 187 +- compiler/rustc_borrowck/locales/en-US.ftl | 129 + compiler/rustc_borrowck/src/borrowck_errors.rs | 6 +- .../rustc_borrowck/src/constraint_generation.rs | 4 +- compiler/rustc_borrowck/src/constraints/mod.rs | 2 +- compiler/rustc_borrowck/src/dataflow.rs | 1 + .../src/diagnostics/bound_region_errors.rs | 16 +- .../src/diagnostics/conflict_errors.rs | 45 +- .../src/diagnostics/explain_borrow.rs | 33 + compiler/rustc_borrowck/src/diagnostics/mod.rs | 52 +- .../rustc_borrowck/src/diagnostics/move_errors.rs | 4 +- .../src/diagnostics/mutability_errors.rs | 72 +- .../src/diagnostics/region_errors.rs | 104 +- .../rustc_borrowck/src/diagnostics/region_name.rs | 40 +- compiler/rustc_borrowck/src/invalidation.rs | 3 +- compiler/rustc_borrowck/src/lib.rs | 118 +- compiler/rustc_borrowck/src/nll.rs | 46 +- compiler/rustc_borrowck/src/region_infer/mod.rs | 262 +- .../src/region_infer/opaque_types.rs | 67 +- compiler/rustc_borrowck/src/region_infer/values.rs | 5 +- compiler/rustc_borrowck/src/renumber.rs | 71 +- compiler/rustc_borrowck/src/session_diagnostics.rs | 18 +- .../rustc_borrowck/src/type_check/canonical.rs | 11 +- .../src/type_check/constraint_conversion.rs | 20 +- .../src/type_check/free_region_relations.rs | 181 +- .../rustc_borrowck/src/type_check/input_output.rs | 8 +- .../rustc_borrowck/src/type_check/liveness/mod.rs | 8 +- .../src/type_check/liveness/trace.rs | 6 +- compiler/rustc_borrowck/src/type_check/mod.rs | 100 +- .../rustc_borrowck/src/type_check/relate_tys.rs | 63 +- compiler/rustc_borrowck/src/universal_regions.rs | 189 +- compiler/rustc_builtin_macros/Cargo.toml | 2 +- compiler/rustc_builtin_macros/locales/en-US.ftl | 5 + .../src/alloc_error_handler.rs | 17 +- compiler/rustc_builtin_macros/src/asm.rs | 2 +- compiler/rustc_builtin_macros/src/assert.rs | 3 +- .../rustc_builtin_macros/src/assert/context.rs | 21 +- .../rustc_builtin_macros/src/deriving/bounds.rs | 1 + .../rustc_builtin_macros/src/deriving/clone.rs | 9 +- .../rustc_builtin_macros/src/deriving/cmp/eq.rs | 5 +- .../rustc_builtin_macros/src/deriving/cmp/ord.rs | 5 +- .../src/deriving/cmp/partial_eq.rs | 25 +- .../src/deriving/cmp/partial_ord.rs | 85 +- .../rustc_builtin_macros/src/deriving/debug.rs | 62 +- .../rustc_builtin_macros/src/deriving/decodable.rs | 17 +- .../rustc_builtin_macros/src/deriving/default.rs | 5 +- .../rustc_builtin_macros/src/deriving/encodable.rs | 33 +- .../src/deriving/generic/mod.rs | 221 +- .../src/deriving/generic/ty.rs | 11 +- compiler/rustc_builtin_macros/src/deriving/hash.rs | 7 +- compiler/rustc_builtin_macros/src/deriving/mod.rs | 11 +- compiler/rustc_builtin_macros/src/env.rs | 44 +- compiler/rustc_builtin_macros/src/format.rs | 33 +- compiler/rustc_builtin_macros/src/format/ast.rs | 240 - compiler/rustc_builtin_macros/src/format/expand.rs | 353 - .../rustc_builtin_macros/src/global_allocator.rs | 14 +- compiler/rustc_builtin_macros/src/lib.rs | 4 + .../rustc_builtin_macros/src/proc_macro_harness.rs | 14 +- .../src/standard_library_imports.rs | 2 +- compiler/rustc_builtin_macros/src/test.rs | 22 +- compiler/rustc_builtin_macros/src/test_harness.rs | 13 +- compiler/rustc_codegen_cranelift/.cirrus.yml | 9 +- .../.github/workflows/main.yml | 250 +- .../.github/workflows/nightly-cranelift.yml | 59 - .../.github/workflows/rustc.yml | 64 +- .../rustc_codegen_cranelift/.vscode/settings.json | 4 +- compiler/rustc_codegen_cranelift/Cargo.lock | 107 +- compiler/rustc_codegen_cranelift/Cargo.toml | 14 +- compiler/rustc_codegen_cranelift/Readme.md | 14 +- .../build_sysroot/Cargo.lock | 12 +- .../build_system/abi_cafe.rs | 23 +- .../rustc_codegen_cranelift/build_system/bench.rs | 103 + .../build_system/build_backend.rs | 14 +- .../build_system/build_sysroot.rs | 308 +- .../rustc_codegen_cranelift/build_system/mod.rs | 109 +- .../rustc_codegen_cranelift/build_system/path.rs | 7 +- .../build_system/prepare.rs | 129 +- .../build_system/rustc_info.rs | 27 +- .../rustc_codegen_cranelift/build_system/tests.rs | 573 +- .../rustc_codegen_cranelift/build_system/usage.txt | 35 + .../rustc_codegen_cranelift/build_system/utils.rs | 116 +- compiler/rustc_codegen_cranelift/clean_all.sh | 5 +- compiler/rustc_codegen_cranelift/config.txt | 3 - ...1-portable-simd-Disable-unsupported-tests.patch | 35 - .../0022-sysroot-Disable-not-compiling-tests.patch | 5 +- compiler/rustc_codegen_cranelift/rust-toolchain | 2 +- .../rustc_codegen_cranelift/scripts/cargo-clif.rs | 2 +- .../rustc_codegen_cranelift/scripts/rustc-clif.rs | 2 +- .../scripts/rustdoc-clif.rs | 2 +- compiler/rustc_codegen_cranelift/scripts/rustup.sh | 4 +- .../scripts/setup_rust_fork.sh | 8 +- .../scripts/test_rustc_tests.sh | 42 +- .../rustc_codegen_cranelift/src/abi/comments.rs | 4 +- compiler/rustc_codegen_cranelift/src/abi/mod.rs | 43 +- compiler/rustc_codegen_cranelift/src/allocator.rs | 75 +- compiler/rustc_codegen_cranelift/src/base.rs | 153 +- .../rustc_codegen_cranelift/src/codegen_i128.rs | 4 +- compiler/rustc_codegen_cranelift/src/common.rs | 52 +- .../src/compiler_builtins.rs | 38 +- compiler/rustc_codegen_cranelift/src/config.rs | 8 - compiler/rustc_codegen_cranelift/src/constant.rs | 1 + .../src/cranelift_native.rs | 248 + .../rustc_codegen_cranelift/src/debuginfo/mod.rs | 14 +- compiler/rustc_codegen_cranelift/src/driver/aot.rs | 166 +- compiler/rustc_codegen_cranelift/src/driver/jit.rs | 46 +- compiler/rustc_codegen_cranelift/src/driver/mod.rs | 15 +- compiler/rustc_codegen_cranelift/src/global_asm.rs | 43 +- compiler/rustc_codegen_cranelift/src/inline_asm.rs | 189 +- .../src/intrinsics/llvm_x86.rs | 6 +- .../rustc_codegen_cranelift/src/intrinsics/mod.rs | 122 +- .../rustc_codegen_cranelift/src/intrinsics/simd.rs | 126 +- compiler/rustc_codegen_cranelift/src/lib.rs | 15 +- compiler/rustc_codegen_cranelift/src/main_shim.rs | 21 +- compiler/rustc_codegen_cranelift/src/num.rs | 2 +- .../src/optimize/peephole.rs | 4 +- compiler/rustc_codegen_cranelift/src/unsize.rs | 2 +- .../rustc_codegen_cranelift/src/value_and_place.rs | 19 +- compiler/rustc_codegen_cranelift/y.rs | 2 +- compiler/rustc_codegen_gcc/locales/en-US.ftl | 62 + compiler/rustc_codegen_gcc/src/builder.rs | 2 +- compiler/rustc_codegen_gcc/src/callee.rs | 2 +- compiler/rustc_codegen_gcc/src/common.rs | 2 +- compiler/rustc_codegen_gcc/src/consts.rs | 7 +- compiler/rustc_codegen_gcc/src/context.rs | 2 +- compiler/rustc_codegen_gcc/src/intrinsic/simd.rs | 407 +- compiler/rustc_codegen_gcc/src/lib.rs | 10 +- compiler/rustc_codegen_gcc/src/mono_item.rs | 2 +- compiler/rustc_codegen_gcc/src/type_of.rs | 6 +- compiler/rustc_codegen_llvm/Cargo.toml | 3 +- compiler/rustc_codegen_llvm/locales/en-US.ftl | 89 + compiler/rustc_codegen_llvm/src/asm.rs | 13 +- compiler/rustc_codegen_llvm/src/attributes.rs | 42 +- compiler/rustc_codegen_llvm/src/back/archive.rs | 8 + compiler/rustc_codegen_llvm/src/back/lto.rs | 65 +- compiler/rustc_codegen_llvm/src/back/write.rs | 104 +- compiler/rustc_codegen_llvm/src/builder.rs | 2 +- compiler/rustc_codegen_llvm/src/callee.rs | 2 +- compiler/rustc_codegen_llvm/src/common.rs | 14 +- compiler/rustc_codegen_llvm/src/consts.rs | 28 +- compiler/rustc_codegen_llvm/src/context.rs | 42 +- .../rustc_codegen_llvm/src/coverageinfo/mapgen.rs | 50 +- .../rustc_codegen_llvm/src/coverageinfo/mod.rs | 4 +- .../rustc_codegen_llvm/src/debuginfo/metadata.rs | 7 +- .../src/debuginfo/metadata/enums/mod.rs | 3 +- compiler/rustc_codegen_llvm/src/debuginfo/mod.rs | 4 +- compiler/rustc_codegen_llvm/src/errors.rs | 134 +- compiler/rustc_codegen_llvm/src/intrinsic.rs | 19 +- compiler/rustc_codegen_llvm/src/lib.rs | 20 +- compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 6 +- compiler/rustc_codegen_llvm/src/llvm_util.rs | 28 +- compiler/rustc_codegen_llvm/src/mono_item.rs | 2 +- compiler/rustc_codegen_llvm/src/type_of.rs | 33 +- compiler/rustc_codegen_ssa/Cargo.toml | 1 - compiler/rustc_codegen_ssa/locales/en-US.ftl | 293 + compiler/rustc_codegen_ssa/src/back/archive.rs | 2 +- compiler/rustc_codegen_ssa/src/back/link.rs | 146 +- compiler/rustc_codegen_ssa/src/back/linker.rs | 16 +- compiler/rustc_codegen_ssa/src/back/metadata.rs | 1 + .../rustc_codegen_ssa/src/back/symbol_export.rs | 69 +- compiler/rustc_codegen_ssa/src/back/write.rs | 8 +- compiler/rustc_codegen_ssa/src/base.rs | 32 +- compiler/rustc_codegen_ssa/src/codegen_attrs.rs | 147 +- .../rustc_codegen_ssa/src/debuginfo/type_names.rs | 17 +- compiler/rustc_codegen_ssa/src/errors.rs | 5 +- compiler/rustc_codegen_ssa/src/lib.rs | 7 +- compiler/rustc_codegen_ssa/src/mir/analyze.rs | 33 +- compiler/rustc_codegen_ssa/src/mir/block.rs | 289 +- compiler/rustc_codegen_ssa/src/mir/debuginfo.rs | 7 +- compiler/rustc_codegen_ssa/src/mir/intrinsic.rs | 25 - compiler/rustc_codegen_ssa/src/mir/mod.rs | 10 +- compiler/rustc_codegen_ssa/src/mir/place.rs | 17 +- compiler/rustc_codegen_ssa/src/mir/rvalue.rs | 41 +- compiler/rustc_codegen_ssa/src/mir/statement.rs | 1 + compiler/rustc_codegen_ssa/src/target_features.rs | 17 +- compiler/rustc_codegen_ssa/src/traits/backend.rs | 4 + compiler/rustc_codegen_ssa/src/traits/write.rs | 1 + compiler/rustc_const_eval/Cargo.toml | 1 - compiler/rustc_const_eval/locales/en-US.ftl | 83 + .../src/const_eval/eval_queries.rs | 6 +- .../rustc_const_eval/src/const_eval/fn_queries.rs | 5 +- .../rustc_const_eval/src/const_eval/machine.rs | 23 +- compiler/rustc_const_eval/src/const_eval/mod.rs | 4 +- .../rustc_const_eval/src/const_eval/valtrees.rs | 13 +- compiler/rustc_const_eval/src/errors.rs | 18 +- compiler/rustc_const_eval/src/interpret/cast.rs | 22 +- .../rustc_const_eval/src/interpret/discriminant.rs | 238 + .../rustc_const_eval/src/interpret/eval_context.rs | 10 +- compiler/rustc_const_eval/src/interpret/intern.rs | 26 +- .../rustc_const_eval/src/interpret/intrinsics.rs | 118 +- .../src/interpret/intrinsics/caller_location.rs | 11 +- compiler/rustc_const_eval/src/interpret/machine.rs | 40 +- compiler/rustc_const_eval/src/interpret/memory.rs | 70 +- compiler/rustc_const_eval/src/interpret/mod.rs | 1 + compiler/rustc_const_eval/src/interpret/operand.rs | 198 +- .../rustc_const_eval/src/interpret/operator.rs | 10 +- compiler/rustc_const_eval/src/interpret/place.rs | 191 +- .../rustc_const_eval/src/interpret/projection.rs | 6 +- compiler/rustc_const_eval/src/interpret/step.rs | 20 +- .../rustc_const_eval/src/interpret/terminator.rs | 118 +- compiler/rustc_const_eval/src/interpret/util.rs | 8 +- .../rustc_const_eval/src/interpret/validity.rs | 32 +- compiler/rustc_const_eval/src/interpret/visitor.rs | 16 +- compiler/rustc_const_eval/src/lib.rs | 11 +- .../src/transform/check_consts/check.rs | 14 +- .../src/transform/check_consts/mod.rs | 4 +- .../src/transform/check_consts/ops.rs | 73 +- .../src/transform/check_consts/qualifs.rs | 4 +- .../src/transform/promote_consts.rs | 42 +- .../rustc_const_eval/src/transform/validate.rs | 65 +- compiler/rustc_const_eval/src/util/aggregate.rs | 77 - compiler/rustc_const_eval/src/util/call_kind.rs | 3 +- .../src/util/check_validity_requirement.rs | 164 + .../src/util/might_permit_raw_init.rs | 151 - compiler/rustc_const_eval/src/util/mod.rs | 6 +- compiler/rustc_const_eval/src/util/type_name.rs | 1 + compiler/rustc_data_structures/Cargo.toml | 5 +- compiler/rustc_data_structures/src/functor.rs | 51 +- .../src/graph/dominators/mod.rs | 51 +- .../rustc_data_structures/src/graph/scc/mod.rs | 18 +- compiler/rustc_data_structures/src/lib.rs | 2 + .../src/obligation_forest/mod.rs | 10 +- compiler/rustc_data_structures/src/profiling.rs | 50 +- .../src/sorted_map/index_map.rs | 5 + .../rustc_data_structures/src/sorted_map/tests.rs | 4 + .../rustc_data_structures/src/stable_hasher.rs | 8 + .../src/stable_hasher/tests.rs | 2 +- compiler/rustc_data_structures/src/sync.rs | 8 +- compiler/rustc_data_structures/src/sync/vec.rs | 41 + compiler/rustc_driver/Cargo.toml | 37 +- compiler/rustc_driver/README.md | 10 - compiler/rustc_driver/src/args.rs | 51 - compiler/rustc_driver/src/lib.rs | 1360 +--- compiler/rustc_driver/src/pretty.rs | 507 -- compiler/rustc_driver/src/session_diagnostics.rs | 40 - compiler/rustc_driver_impl/Cargo.toml | 64 + compiler/rustc_driver_impl/README.md | 10 + compiler/rustc_driver_impl/locales/en-US.ftl | 19 + compiler/rustc_driver_impl/src/args.rs | 51 + compiler/rustc_driver_impl/src/lib.rs | 1364 ++++ compiler/rustc_driver_impl/src/pretty.rs | 522 ++ .../rustc_driver_impl/src/session_diagnostics.rs | 67 + compiler/rustc_error_codes/src/error_codes.rs | 20 +- .../rustc_error_codes/src/error_codes/E0464.md | 15 + .../rustc_error_codes/src/error_codes/E0476.md | 21 + .../rustc_error_codes/src/error_codes/E0523.md | 25 + .../rustc_error_codes/src/error_codes/E0587.md | 2 +- .../rustc_error_codes/src/error_codes/E0789.md | 30 + .../rustc_error_codes/src/error_codes/E0793.md | 64 + compiler/rustc_error_codes/src/lib.rs | 7 +- compiler/rustc_error_messages/Cargo.toml | 7 +- compiler/rustc_error_messages/locales/en-US.ftl | 1 + .../locales/en-US/ast_lowering.ftl | 141 - .../locales/en-US/ast_passes.ftl | 92 - .../rustc_error_messages/locales/en-US/attr.ftl | 107 - .../locales/en-US/borrowck.ftl | 126 - .../locales/en-US/builtin_macros.ftl | 5 - .../locales/en-US/codegen_gcc.ftl | 62 - .../locales/en-US/codegen_llvm.ftl | 46 - .../locales/en-US/codegen_ssa.ftl | 293 - .../locales/en-US/compiletest.ftl | 5 - .../locales/en-US/const_eval.ftl | 83 - .../rustc_error_messages/locales/en-US/driver.ftl | 13 - .../rustc_error_messages/locales/en-US/errors.ftl | 13 - .../rustc_error_messages/locales/en-US/expand.ftl | 129 - .../locales/en-US/hir_analysis.ftl | 126 - .../locales/en-US/hir_typeck.ftl | 59 - .../rustc_error_messages/locales/en-US/infer.ftl | 312 - .../locales/en-US/interface.ftl | 46 - .../rustc_error_messages/locales/en-US/lint.ftl | 500 -- .../locales/en-US/metadata.ftl | 288 - .../rustc_error_messages/locales/en-US/middle.ftl | 36 - .../locales/en-US/mir_build.ftl | 368 - .../locales/en-US/mir_dataflow.ftl | 29 - .../locales/en-US/monomorphize.ftl | 26 - .../rustc_error_messages/locales/en-US/parse.ftl | 380 - .../rustc_error_messages/locales/en-US/passes.ftl | 712 -- .../locales/en-US/plugin_impl.ftl | 4 - .../rustc_error_messages/locales/en-US/privacy.ftl | 23 - .../locales/en-US/query_system.ftl | 30 - .../rustc_error_messages/locales/en-US/resolve.ftl | 211 - .../locales/en-US/save_analysis.ftl | 1 - .../rustc_error_messages/locales/en-US/session.ftl | 91 - .../locales/en-US/symbol_mangling.ftl | 1 - .../locales/en-US/trait_selection.ftl | 22 - .../locales/en-US/ty_utils.ftl | 47 - compiler/rustc_error_messages/src/lib.rs | 66 +- compiler/rustc_errors/locales/en-US.ftl | 19 + compiler/rustc_errors/src/diagnostic.rs | 86 +- compiler/rustc_errors/src/diagnostic_builder.rs | 54 +- compiler/rustc_errors/src/diagnostic_impls.rs | 38 +- compiler/rustc_errors/src/emitter.rs | 191 +- compiler/rustc_errors/src/json.rs | 11 +- compiler/rustc_errors/src/json/tests.rs | 5 +- compiler/rustc_errors/src/lib.rs | 112 +- compiler/rustc_errors/src/registry.rs | 12 +- compiler/rustc_errors/src/styled_buffer.rs | 2 +- compiler/rustc_errors/src/translation.rs | 30 +- compiler/rustc_expand/Cargo.toml | 2 +- compiler/rustc_expand/locales/en-US.ftl | 138 + compiler/rustc_expand/src/base.rs | 62 +- compiler/rustc_expand/src/build.rs | 74 +- compiler/rustc_expand/src/config.rs | 13 +- compiler/rustc_expand/src/errors.rs | 43 +- compiler/rustc_expand/src/lib.rs | 5 + compiler/rustc_expand/src/mbe/macro_parser.rs | 2 +- compiler/rustc_expand/src/mbe/macro_rules.rs | 30 +- compiler/rustc_expand/src/mbe/metavar_expr.rs | 12 +- compiler/rustc_expand/src/mbe/transcribe.rs | 2 +- compiler/rustc_expand/src/module.rs | 4 +- compiler/rustc_expand/src/parse/tests.rs | 5 +- compiler/rustc_expand/src/proc_macro.rs | 14 +- compiler/rustc_expand/src/tests.rs | 20 +- compiler/rustc_feature/src/accepted.rs | 2 + compiler/rustc_feature/src/active.rs | 9 +- compiler/rustc_feature/src/builtin_attrs.rs | 15 +- compiler/rustc_feature/src/lib.rs | 3 +- compiler/rustc_feature/src/removed.rs | 2 + compiler/rustc_hir/src/def.rs | 37 +- compiler/rustc_hir/src/definitions.rs | 8 +- compiler/rustc_hir/src/hir.rs | 424 +- compiler/rustc_hir/src/intravisit.rs | 52 +- compiler/rustc_hir/src/lang_items.rs | 12 +- compiler/rustc_hir/src/stable_hash_impls.rs | 9 +- compiler/rustc_hir/src/target.rs | 2 +- compiler/rustc_hir_analysis/Cargo.toml | 6 +- compiler/rustc_hir_analysis/locales/en-US.ftl | 157 + compiler/rustc_hir_analysis/src/astconv/errors.rs | 229 +- .../rustc_hir_analysis/src/astconv/generics.rs | 25 +- compiler/rustc_hir_analysis/src/astconv/mod.rs | 558 +- compiler/rustc_hir_analysis/src/autoderef.rs | 10 +- compiler/rustc_hir_analysis/src/check/check.rs | 329 +- .../src/check/compare_impl_item.rs | 332 +- compiler/rustc_hir_analysis/src/check/dropck.rs | 6 +- compiler/rustc_hir_analysis/src/check/intrinsic.rs | 61 +- .../rustc_hir_analysis/src/check/intrinsicck.rs | 13 +- compiler/rustc_hir_analysis/src/check/mod.rs | 35 +- compiler/rustc_hir_analysis/src/check/wfcheck.rs | 250 +- compiler/rustc_hir_analysis/src/check_unused.rs | 135 +- .../rustc_hir_analysis/src/coherence/builtin.rs | 31 +- .../src/coherence/inherent_impls.rs | 94 +- .../src/coherence/inherent_impls_overlap.rs | 14 +- compiler/rustc_hir_analysis/src/coherence/mod.rs | 4 +- .../rustc_hir_analysis/src/coherence/orphan.rs | 271 +- .../rustc_hir_analysis/src/coherence/unsafety.rs | 4 +- compiler/rustc_hir_analysis/src/collect.rs | 91 +- .../rustc_hir_analysis/src/collect/generics_of.rs | 16 +- .../rustc_hir_analysis/src/collect/item_bounds.rs | 2 +- .../rustc_hir_analysis/src/collect/lifetimes.rs | 1867 ----- .../src/collect/predicates_of.rs | 65 +- .../src/collect/resolve_bound_vars.rs | 2042 ++++++ compiler/rustc_hir_analysis/src/collect/type_of.rs | 115 +- .../src/constrained_generic_params.rs | 4 +- compiler/rustc_hir_analysis/src/errors.rs | 159 +- compiler/rustc_hir_analysis/src/hir_wf_check.rs | 13 +- compiler/rustc_hir_analysis/src/impl_wf_check.rs | 8 +- .../src/impl_wf_check/min_specialization.rs | 29 +- compiler/rustc_hir_analysis/src/lib.rs | 141 +- .../rustc_hir_analysis/src/outlives/explicit.rs | 2 + .../src/outlives/implicit_infer.rs | 2 +- compiler/rustc_hir_analysis/src/outlives/utils.rs | 2 + .../missing_cast_for_variadic_arg.rs | 2 +- .../src/structured_errors/sized_unsized_cast.rs | 2 +- .../wrong_number_of_generic_args.rs | 8 +- .../rustc_hir_analysis/src/variance/constraints.rs | 32 +- compiler/rustc_hir_analysis/src/variance/mod.rs | 2 +- compiler/rustc_hir_analysis/src/variance/solve.rs | 2 +- compiler/rustc_hir_pretty/src/lib.rs | 10 +- compiler/rustc_hir_typeck/locales/en-US.ftl | 79 + compiler/rustc_hir_typeck/src/_match.rs | 9 +- compiler/rustc_hir_typeck/src/callee.rs | 28 +- compiler/rustc_hir_typeck/src/cast.rs | 3 +- compiler/rustc_hir_typeck/src/check.rs | 29 +- compiler/rustc_hir_typeck/src/closure.rs | 92 +- compiler/rustc_hir_typeck/src/coercion.rs | 34 +- compiler/rustc_hir_typeck/src/demand.rs | 333 +- compiler/rustc_hir_typeck/src/errors.rs | 47 +- compiler/rustc_hir_typeck/src/expr.rs | 167 +- compiler/rustc_hir_typeck/src/expr_use_visitor.rs | 2 +- compiler/rustc_hir_typeck/src/fallback.rs | 18 +- compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs | 167 +- .../src/fn_ctxt/adjust_fulfillment_errors.rs | 864 +++ compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs | 608 +- compiler/rustc_hir_typeck/src/fn_ctxt/mod.rs | 17 +- .../rustc_hir_typeck/src/fn_ctxt/suggestions.rs | 127 +- compiler/rustc_hir_typeck/src/gather_locals.rs | 3 +- .../generator_interior/drop_ranges/cfg_build.rs | 6 +- .../drop_ranges/record_consumed_borrow.rs | 2 +- .../rustc_hir_typeck/src/generator_interior/mod.rs | 23 +- compiler/rustc_hir_typeck/src/inherited.rs | 54 +- compiler/rustc_hir_typeck/src/intrinsicck.rs | 5 +- compiler/rustc_hir_typeck/src/lib.rs | 38 +- .../rustc_hir_typeck/src/mem_categorization.rs | 13 +- compiler/rustc_hir_typeck/src/method/confirm.rs | 28 +- compiler/rustc_hir_typeck/src/method/mod.rs | 17 +- compiler/rustc_hir_typeck/src/method/probe.rs | 282 +- compiler/rustc_hir_typeck/src/method/suggest.rs | 126 +- compiler/rustc_hir_typeck/src/op.rs | 38 +- compiler/rustc_hir_typeck/src/pat.rs | 281 +- compiler/rustc_hir_typeck/src/place_op.rs | 12 +- compiler/rustc_hir_typeck/src/upvar.rs | 26 +- compiler/rustc_hir_typeck/src/writeback.rs | 28 +- compiler/rustc_incremental/Cargo.toml | 17 +- compiler/rustc_incremental/locales/en-US.ftl | 118 + compiler/rustc_incremental/src/assert_dep_graph.rs | 56 +- .../rustc_incremental/src/assert_module_sources.rs | 55 +- compiler/rustc_incremental/src/errors.rs | 364 + compiler/rustc_incremental/src/lib.rs | 9 + .../rustc_incremental/src/persist/dirty_clean.rs | 71 +- .../rustc_incremental/src/persist/file_format.rs | 21 +- compiler/rustc_incremental/src/persist/fs.rs | 111 +- compiler/rustc_incremental/src/persist/load.rs | 54 +- compiler/rustc_incremental/src/persist/save.rs | 24 +- .../rustc_incremental/src/persist/work_product.rs | 18 +- compiler/rustc_index/src/bit_set.rs | 2 +- compiler/rustc_infer/Cargo.toml | 1 - compiler/rustc_infer/locales/en-US.ftl | 350 + compiler/rustc_infer/src/errors/mod.rs | 260 +- .../rustc_infer/src/errors/note_and_explain.rs | 51 +- compiler/rustc_infer/src/infer/at.rs | 30 +- .../src/infer/canonical/canonicalizer.rs | 58 +- compiler/rustc_infer/src/infer/canonical/mod.rs | 29 +- .../src/infer/canonical/query_response.rs | 127 +- .../rustc_infer/src/infer/canonical/substitute.rs | 21 +- compiler/rustc_infer/src/infer/combine.rs | 233 +- compiler/rustc_infer/src/infer/equate.rs | 18 +- .../rustc_infer/src/infer/error_reporting/mod.rs | 304 +- .../src/infer/error_reporting/need_type_info.rs | 29 +- .../nice_region_error/find_anon_type.rs | 32 +- .../mismatched_static_lifetime.rs | 2 +- .../nice_region_error/placeholder_error.rs | 12 +- .../nice_region_error/placeholder_relation.rs | 66 +- .../nice_region_error/static_impl_trait.rs | 7 +- .../nice_region_error/trait_impl_difference.rs | 2 +- .../error_reporting/nice_region_error/util.rs | 16 +- .../rustc_infer/src/infer/error_reporting/note.rs | 201 +- .../src/infer/error_reporting/note_and_explain.rs | 700 ++ .../src/infer/error_reporting/suggest.rs | 287 +- compiler/rustc_infer/src/infer/freshen.rs | 150 +- compiler/rustc_infer/src/infer/fudge.rs | 6 +- compiler/rustc_infer/src/infer/glb.rs | 24 +- .../rustc_infer/src/infer/higher_ranked/mod.rs | 20 +- compiler/rustc_infer/src/infer/lattice.rs | 11 +- .../src/infer/lexical_region_resolve/mod.rs | 22 +- compiler/rustc_infer/src/infer/lub.rs | 30 +- compiler/rustc_infer/src/infer/mod.rs | 199 +- compiler/rustc_infer/src/infer/nll_relate/mod.rs | 111 +- compiler/rustc_infer/src/infer/opaque_types.rs | 59 +- .../rustc_infer/src/infer/outlives/components.rs | 4 +- compiler/rustc_infer/src/infer/outlives/mod.rs | 2 + .../rustc_infer/src/infer/outlives/obligations.rs | 2 +- .../src/infer/outlives/test_type_match.rs | 5 +- compiler/rustc_infer/src/infer/outlives/verify.rs | 1 + compiler/rustc_infer/src/infer/projection.rs | 34 +- .../src/infer/region_constraints/leak_check.rs | 10 +- .../src/infer/region_constraints/mod.rs | 16 +- compiler/rustc_infer/src/infer/resolve.rs | 35 +- compiler/rustc_infer/src/infer/sub.rs | 24 +- compiler/rustc_infer/src/lib.rs | 6 + compiler/rustc_infer/src/traits/engine.rs | 24 +- compiler/rustc_infer/src/traits/mod.rs | 3 +- .../rustc_infer/src/traits/structural_impls.rs | 17 +- compiler/rustc_infer/src/traits/util.rs | 87 +- compiler/rustc_interface/Cargo.toml | 5 +- compiler/rustc_interface/locales/en-US.ftl | 52 + compiler/rustc_interface/src/callbacks.rs | 2 +- compiler/rustc_interface/src/errors.rs | 25 +- compiler/rustc_interface/src/interface.rs | 3 +- compiler/rustc_interface/src/lib.rs | 5 + compiler/rustc_interface/src/passes.rs | 308 +- compiler/rustc_interface/src/queries.rs | 87 +- compiler/rustc_interface/src/tests.rs | 9 +- compiler/rustc_interface/src/util.rs | 34 +- compiler/rustc_lexer/src/lib.rs | 12 +- compiler/rustc_lint/locales/en-US.ftl | 510 ++ compiler/rustc_lint/src/array_into_iter.rs | 6 +- compiler/rustc_lint/src/builtin.rs | 187 +- compiler/rustc_lint/src/context.rs | 42 +- .../rustc_lint/src/deref_into_dyn_supertrait.rs | 2 +- .../rustc_lint/src/enum_intrinsics_non_enums.rs | 2 +- compiler/rustc_lint/src/errors.rs | 6 +- .../rustc_lint/src/for_loops_over_fallibles.rs | 10 +- compiler/rustc_lint/src/internal.rs | 2 +- compiler/rustc_lint/src/late.rs | 15 +- compiler/rustc_lint/src/levels.rs | 17 +- compiler/rustc_lint/src/lib.rs | 24 +- compiler/rustc_lint/src/lints.rs | 172 +- compiler/rustc_lint/src/map_unit_fn.rs | 120 + .../src/multiple_supertrait_upcastable.rs | 60 + compiler/rustc_lint/src/non_fmt_panic.rs | 20 +- compiler/rustc_lint/src/nonstandard_style.rs | 18 +- .../rustc_lint/src/opaque_hidden_inferred_bound.rs | 2 +- compiler/rustc_lint/src/pass_by_value.rs | 2 +- compiler/rustc_lint/src/passes.rs | 3 +- compiler/rustc_lint/src/types.rs | 47 +- compiler/rustc_lint/src/unused.rs | 28 +- compiler/rustc_lint_defs/src/builtin.rs | 122 +- compiler/rustc_lint_defs/src/lib.rs | 8 + compiler/rustc_llvm/llvm-wrapper/LLVMWrapper.h | 8 +- compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | 128 +- compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | 27 +- compiler/rustc_log/src/lib.rs | 33 +- .../rustc_macros/src/diagnostics/diagnostic.rs | 4 +- .../src/diagnostics/diagnostic_builder.rs | 27 +- compiler/rustc_macros/src/diagnostics/fluent.rs | 433 +- .../rustc_macros/src/diagnostics/subdiagnostic.rs | 25 +- compiler/rustc_macros/src/diagnostics/utils.rs | 67 +- compiler/rustc_macros/src/lib.rs | 31 +- compiler/rustc_macros/src/serialize.rs | 47 +- compiler/rustc_macros/src/type_foldable.rs | 33 +- compiler/rustc_macros/src/type_visitable.rs | 23 +- compiler/rustc_metadata/Cargo.toml | 1 + compiler/rustc_metadata/locales/en-US.ftl | 288 + compiler/rustc_metadata/src/creader.rs | 138 +- compiler/rustc_metadata/src/dependency_format.rs | 61 +- compiler/rustc_metadata/src/errors.rs | 31 +- compiler/rustc_metadata/src/lib.rs | 4 + compiler/rustc_metadata/src/locator.rs | 52 +- compiler/rustc_metadata/src/native_libs.rs | 142 +- compiler/rustc_metadata/src/rmeta/decoder.rs | 92 +- .../src/rmeta/decoder/cstore_impl.rs | 78 +- compiler/rustc_metadata/src/rmeta/encoder.rs | 459 +- compiler/rustc_metadata/src/rmeta/mod.rs | 78 +- compiler/rustc_metadata/src/rmeta/table.rs | 231 +- compiler/rustc_middle/Cargo.toml | 2 +- compiler/rustc_middle/locales/en-US.ftl | 36 + compiler/rustc_middle/src/arena.rs | 9 +- compiler/rustc_middle/src/dep_graph/mod.rs | 6 +- compiler/rustc_middle/src/hir/map/mod.rs | 102 +- compiler/rustc_middle/src/hir/mod.rs | 23 +- compiler/rustc_middle/src/infer/canonical.rs | 162 +- compiler/rustc_middle/src/infer/mod.rs | 3 +- compiler/rustc_middle/src/lib.rs | 10 +- compiler/rustc_middle/src/macros.rs | 154 +- .../rustc_middle/src/middle/codegen_fn_attrs.rs | 3 +- compiler/rustc_middle/src/middle/mod.rs | 2 +- compiler/rustc_middle/src/middle/privacy.rs | 25 +- .../rustc_middle/src/middle/resolve_bound_vars.rs | 57 + .../rustc_middle/src/middle/resolve_lifetime.rs | 55 - compiler/rustc_middle/src/middle/stability.rs | 4 +- compiler/rustc_middle/src/mir/basic_blocks.rs | 99 +- compiler/rustc_middle/src/mir/coverage.rs | 5 +- .../rustc_middle/src/mir/graph_cyclic_cache.rs | 63 - compiler/rustc_middle/src/mir/graphviz.rs | 2 +- .../rustc_middle/src/mir/interpret/allocation.rs | 82 +- compiler/rustc_middle/src/mir/interpret/error.rs | 9 +- compiler/rustc_middle/src/mir/interpret/mod.rs | 17 +- compiler/rustc_middle/src/mir/interpret/pointer.rs | 22 +- compiler/rustc_middle/src/mir/interpret/queries.rs | 2 +- compiler/rustc_middle/src/mir/interpret/value.rs | 18 +- compiler/rustc_middle/src/mir/mod.rs | 100 +- compiler/rustc_middle/src/mir/mono.rs | 9 +- compiler/rustc_middle/src/mir/predecessors.rs | 78 - compiler/rustc_middle/src/mir/pretty.rs | 24 +- compiler/rustc_middle/src/mir/query.rs | 73 +- compiler/rustc_middle/src/mir/spanview.rs | 5 +- compiler/rustc_middle/src/mir/switch_sources.rs | 78 - compiler/rustc_middle/src/mir/syntax.rs | 22 +- compiler/rustc_middle/src/mir/tcx.rs | 18 +- compiler/rustc_middle/src/mir/traversal.rs | 50 - compiler/rustc_middle/src/mir/type_foldable.rs | 29 +- compiler/rustc_middle/src/mir/type_visitable.rs | 9 - compiler/rustc_middle/src/mir/visit.rs | 11 +- compiler/rustc_middle/src/query/keys.rs | 28 +- compiler/rustc_middle/src/query/mod.rs | 259 +- compiler/rustc_middle/src/thir.rs | 32 +- compiler/rustc_middle/src/traits/mod.rs | 48 +- compiler/rustc_middle/src/traits/query.rs | 4 +- compiler/rustc_middle/src/traits/solve.rs | 66 + .../src/traits/specialization_graph.rs | 12 +- compiler/rustc_middle/src/ty/_match.rs | 4 +- compiler/rustc_middle/src/ty/abstract_const.rs | 8 +- compiler/rustc_middle/src/ty/adt.rs | 5 +- compiler/rustc_middle/src/ty/assoc.rs | 16 +- compiler/rustc_middle/src/ty/closure.rs | 60 +- compiler/rustc_middle/src/ty/codec.rs | 65 +- compiler/rustc_middle/src/ty/consts.rs | 55 +- compiler/rustc_middle/src/ty/consts/int.rs | 2 +- compiler/rustc_middle/src/ty/consts/kind.rs | 16 +- compiler/rustc_middle/src/ty/consts/valtree.rs | 4 +- compiler/rustc_middle/src/ty/context.rs | 934 +-- compiler/rustc_middle/src/ty/context/tls.rs | 186 + compiler/rustc_middle/src/ty/diagnostics.rs | 124 +- compiler/rustc_middle/src/ty/erase_regions.rs | 11 +- compiler/rustc_middle/src/ty/error.rs | 864 +-- compiler/rustc_middle/src/ty/fast_reject.rs | 12 +- compiler/rustc_middle/src/ty/flags.rs | 30 +- compiler/rustc_middle/src/ty/fold.rs | 281 +- compiler/rustc_middle/src/ty/generics.rs | 8 +- compiler/rustc_middle/src/ty/impls_ty.rs | 2 +- .../src/ty/inhabitedness/inhabited_predicate.rs | 4 +- compiler/rustc_middle/src/ty/inhabitedness/mod.rs | 6 +- compiler/rustc_middle/src/ty/instance.rs | 24 +- compiler/rustc_middle/src/ty/layout.rs | 119 +- compiler/rustc_middle/src/ty/mod.rs | 183 +- .../src/ty/normalize_erasing_regions.rs | 31 +- compiler/rustc_middle/src/ty/opaque_types.rs | 112 +- compiler/rustc_middle/src/ty/parameterized.rs | 5 +- compiler/rustc_middle/src/ty/print/mod.rs | 3 +- compiler/rustc_middle/src/ty/print/pretty.rs | 147 +- compiler/rustc_middle/src/ty/query.rs | 182 +- compiler/rustc_middle/src/ty/relate.rs | 102 +- compiler/rustc_middle/src/ty/structural_impls.rs | 446 +- compiler/rustc_middle/src/ty/sty.rs | 128 +- compiler/rustc_middle/src/ty/subst.rs | 100 +- compiler/rustc_middle/src/ty/trait_def.rs | 35 +- compiler/rustc_middle/src/ty/typeck_results.rs | 14 +- compiler/rustc_middle/src/ty/util.rs | 193 +- compiler/rustc_middle/src/ty/visit.rs | 135 +- compiler/rustc_middle/src/ty/vtable.rs | 2 +- compiler/rustc_middle/src/ty/walk.rs | 1 + compiler/rustc_middle/src/values.rs | 9 +- compiler/rustc_mir_build/Cargo.toml | 1 - compiler/rustc_mir_build/locales/en-US.ftl | 382 + .../src/build/custom/parse/instruction.rs | 20 + .../rustc_mir_build/src/build/expr/as_constant.rs | 6 +- .../rustc_mir_build/src/build/expr/as_operand.rs | 2 +- .../rustc_mir_build/src/build/expr/as_place.rs | 15 +- .../rustc_mir_build/src/build/expr/as_rvalue.rs | 12 +- compiler/rustc_mir_build/src/build/expr/as_temp.rs | 2 +- compiler/rustc_mir_build/src/build/expr/into.rs | 2 +- compiler/rustc_mir_build/src/build/matches/mod.rs | 10 +- compiler/rustc_mir_build/src/build/matches/test.rs | 11 +- compiler/rustc_mir_build/src/build/matches/util.rs | 4 +- compiler/rustc_mir_build/src/build/mod.rs | 196 +- compiler/rustc_mir_build/src/errors.rs | 108 +- compiler/rustc_mir_build/src/lib.rs | 8 +- compiler/rustc_mir_build/src/thir/cx/expr.rs | 47 +- compiler/rustc_mir_build/src/thir/cx/mod.rs | 41 +- compiler/rustc_mir_build/src/thir/mod.rs | 4 +- .../src/thir/pattern/check_match.rs | 83 +- .../src/thir/pattern/const_to_pat.rs | 2 +- .../src/thir/pattern/deconstruct_pat.rs | 16 +- compiler/rustc_mir_build/src/thir/pattern/mod.rs | 8 +- compiler/rustc_mir_build/src/thir/print.rs | 892 +++ compiler/rustc_mir_dataflow/Cargo.toml | 1 - compiler/rustc_mir_dataflow/locales/en-US.ftl | 29 + .../rustc_mir_dataflow/src/drop_flag_effects.rs | 13 +- compiler/rustc_mir_dataflow/src/elaborate_drops.rs | 2 +- .../rustc_mir_dataflow/src/framework/direction.rs | 31 +- .../rustc_mir_dataflow/src/framework/engine.rs | 32 +- .../src/impls/borrowed_locals.rs | 4 +- compiler/rustc_mir_dataflow/src/impls/liveness.rs | 9 +- .../src/impls/storage_liveness.rs | 1 + compiler/rustc_mir_dataflow/src/lib.rs | 5 + .../rustc_mir_dataflow/src/move_paths/builder.rs | 18 +- compiler/rustc_mir_dataflow/src/value_analysis.rs | 286 +- .../src/abort_unwinding_calls.rs | 2 +- .../src/check_const_item_mutation.rs | 2 +- .../rustc_mir_transform/src/check_packed_ref.rs | 88 +- compiler/rustc_mir_transform/src/check_unsafety.rs | 4 +- compiler/rustc_mir_transform/src/const_goto.rs | 9 + compiler/rustc_mir_transform/src/const_prop.rs | 351 +- .../rustc_mir_transform/src/const_prop_lint.rs | 18 +- compiler/rustc_mir_transform/src/copy_prop.rs | 182 + .../rustc_mir_transform/src/coverage/counters.rs | 6 +- compiler/rustc_mir_transform/src/coverage/debug.rs | 5 +- compiler/rustc_mir_transform/src/coverage/graph.rs | 14 +- compiler/rustc_mir_transform/src/coverage/mod.rs | 3 +- compiler/rustc_mir_transform/src/coverage/spans.rs | 18 +- compiler/rustc_mir_transform/src/ctfe_limit.rs | 58 + .../rustc_mir_transform/src/dataflow_const_prop.rs | 150 +- .../src/dead_store_elimination.rs | 1 + compiler/rustc_mir_transform/src/deaggregator.rs | 45 - .../rustc_mir_transform/src/deduce_param_attrs.rs | 2 +- compiler/rustc_mir_transform/src/dest_prop.rs | 12 +- .../src/elaborate_box_derefs.rs | 10 +- .../rustc_mir_transform/src/elaborate_drops.rs | 86 +- .../rustc_mir_transform/src/ffi_unwind_calls.rs | 2 +- .../src/function_item_references.rs | 13 +- compiler/rustc_mir_transform/src/generator.rs | 389 +- compiler/rustc_mir_transform/src/inline.rs | 12 +- compiler/rustc_mir_transform/src/inline/cycle.rs | 2 +- compiler/rustc_mir_transform/src/instcombine.rs | 86 +- compiler/rustc_mir_transform/src/large_enums.rs | 294 + compiler/rustc_mir_transform/src/lib.rs | 32 +- .../rustc_mir_transform/src/lower_intrinsics.rs | 26 +- .../rustc_mir_transform/src/lower_slice_len.rs | 5 +- .../rustc_mir_transform/src/normalize_array_len.rs | 322 +- .../src/remove_noop_landing_pads.rs | 1 + compiler/rustc_mir_transform/src/remove_zsts.rs | 2 +- .../src/separate_const_switch.rs | 2 + compiler/rustc_mir_transform/src/shim.rs | 49 +- compiler/rustc_mir_transform/src/simplify.rs | 20 +- compiler/rustc_mir_transform/src/simplify_try.rs | 822 --- compiler/rustc_mir_transform/src/sroa.rs | 439 +- compiler/rustc_mir_transform/src/ssa.rs | 257 + compiler/rustc_monomorphize/locales/en-US.ftl | 32 + compiler/rustc_monomorphize/src/collector.rs | 135 +- compiler/rustc_monomorphize/src/errors.rs | 17 +- compiler/rustc_monomorphize/src/lib.rs | 4 + .../rustc_monomorphize/src/partitioning/default.rs | 4 +- .../rustc_monomorphize/src/partitioning/mod.rs | 22 +- compiler/rustc_monomorphize/src/polymorphize.rs | 6 +- compiler/rustc_parse/Cargo.toml | 2 +- compiler/rustc_parse/locales/en-US.ftl | 734 ++ compiler/rustc_parse/src/errors.rs | 1136 ++- compiler/rustc_parse/src/lexer/diagnostics.rs | 119 + compiler/rustc_parse/src/lexer/mod.rs | 189 +- compiler/rustc_parse/src/lexer/tokentrees.rs | 150 +- .../src/lexer/unescape_error_reporting.rs | 248 +- compiler/rustc_parse/src/lexer/unicode_chars.rs | 60 +- compiler/rustc_parse/src/lib.rs | 36 +- compiler/rustc_parse/src/parser/attr.rs | 26 +- compiler/rustc_parse/src/parser/attr_wrapper.rs | 6 +- compiler/rustc_parse/src/parser/diagnostics.rs | 173 +- compiler/rustc_parse/src/parser/expr.rs | 543 +- compiler/rustc_parse/src/parser/generics.rs | 61 +- compiler/rustc_parse/src/parser/item.rs | 429 +- compiler/rustc_parse/src/parser/mod.rs | 203 +- compiler/rustc_parse/src/parser/nonterminal.rs | 22 +- compiler/rustc_parse/src/parser/pat.rs | 382 +- compiler/rustc_parse/src/parser/path.rs | 58 +- compiler/rustc_parse/src/parser/stmt.rs | 96 +- compiler/rustc_parse/src/parser/ty.rs | 182 +- compiler/rustc_parse_format/src/lib.rs | 94 +- compiler/rustc_parse_format/src/tests.rs | 75 +- compiler/rustc_passes/locales/en-US.ftl | 748 ++ compiler/rustc_passes/src/check_attr.rs | 352 +- compiler/rustc_passes/src/check_const.rs | 6 +- compiler/rustc_passes/src/dead.rs | 83 +- compiler/rustc_passes/src/diagnostic_items.rs | 66 +- compiler/rustc_passes/src/errors.rs | 205 +- compiler/rustc_passes/src/hir_id_validator.rs | 39 +- compiler/rustc_passes/src/hir_stats.rs | 7 +- compiler/rustc_passes/src/lang_items.rs | 27 +- compiler/rustc_passes/src/layout_test.rs | 2 +- compiler/rustc_passes/src/lib.rs | 4 + compiler/rustc_passes/src/lib_features.rs | 5 +- compiler/rustc_passes/src/liveness.rs | 8 +- compiler/rustc_passes/src/liveness/rwu_table.rs | 2 +- compiler/rustc_passes/src/naked_functions.rs | 2 +- compiler/rustc_passes/src/reachable.rs | 31 +- compiler/rustc_passes/src/stability.rs | 63 +- compiler/rustc_plugin_impl/locales/en-US.ftl | 4 + compiler/rustc_plugin_impl/src/lib.rs | 4 + compiler/rustc_privacy/Cargo.toml | 1 - compiler/rustc_privacy/locales/en-US.ftl | 23 + compiler/rustc_privacy/src/errors.rs | 4 +- compiler/rustc_privacy/src/lib.rs | 76 +- compiler/rustc_query_impl/Cargo.toml | 3 +- compiler/rustc_query_impl/src/lib.rs | 4 +- compiler/rustc_query_impl/src/on_disk_cache.rs | 2 +- compiler/rustc_query_impl/src/plumbing.rs | 91 +- compiler/rustc_query_system/Cargo.toml | 2 +- compiler/rustc_query_system/locales/en-US.ftl | 30 + compiler/rustc_query_system/src/dep_graph/graph.rs | 63 +- compiler/rustc_query_system/src/dep_graph/mod.rs | 6 +- .../rustc_query_system/src/dep_graph/serialized.rs | 3 +- compiler/rustc_query_system/src/ich/hcx.rs | 4 +- compiler/rustc_query_system/src/lib.rs | 6 + compiler/rustc_query_system/src/query/caches.rs | 267 +- compiler/rustc_query_system/src/query/config.rs | 13 +- compiler/rustc_query_system/src/query/mod.rs | 19 +- compiler/rustc_query_system/src/query/plumbing.rs | 201 +- compiler/rustc_resolve/Cargo.toml | 3 +- compiler/rustc_resolve/locales/en-US.ftl | 211 + compiler/rustc_resolve/src/build_reduced_graph.rs | 126 +- compiler/rustc_resolve/src/check_unused.rs | 145 +- compiler/rustc_resolve/src/def_collector.rs | 10 +- compiler/rustc_resolve/src/diagnostics.rs | 226 +- .../rustc_resolve/src/effective_visibilities.rs | 42 +- compiler/rustc_resolve/src/errors.rs | 14 +- compiler/rustc_resolve/src/ident.rs | 23 +- compiler/rustc_resolve/src/imports.rs | 163 +- compiler/rustc_resolve/src/late.rs | 265 +- compiler/rustc_resolve/src/late/diagnostics.rs | 142 +- compiler/rustc_resolve/src/lib.rs | 309 +- compiler/rustc_resolve/src/macros.rs | 69 +- compiler/rustc_resolve/src/rustdoc.rs | 388 + compiler/rustc_save_analysis/Cargo.toml | 21 - compiler/rustc_save_analysis/src/dump_visitor.rs | 1471 ---- compiler/rustc_save_analysis/src/dumper.rs | 91 - compiler/rustc_save_analysis/src/errors.rs | 10 - compiler/rustc_save_analysis/src/lib.rs | 1072 --- compiler/rustc_save_analysis/src/sig.rs | 923 --- compiler/rustc_save_analysis/src/span_utils.rs | 96 - compiler/rustc_serialize/Cargo.toml | 2 +- compiler/rustc_serialize/src/serialize.rs | 17 - compiler/rustc_session/locales/en-US.ftl | 95 + compiler/rustc_session/src/code_stats.rs | 32 +- compiler/rustc_session/src/config.rs | 92 +- compiler/rustc_session/src/cstore.rs | 14 +- compiler/rustc_session/src/errors.rs | 40 +- compiler/rustc_session/src/filesearch.rs | 14 +- compiler/rustc_session/src/lib.rs | 5 + compiler/rustc_session/src/options.rs | 124 +- compiler/rustc_session/src/parse.rs | 12 +- compiler/rustc_session/src/session.rs | 128 +- compiler/rustc_span/src/def_id.rs | 12 +- compiler/rustc_span/src/edit_distance.rs | 229 + compiler/rustc_span/src/edit_distance/tests.rs | 80 + compiler/rustc_span/src/edition.rs | 29 +- compiler/rustc_span/src/lev_distance.rs | 177 - compiler/rustc_span/src/lev_distance/tests.rs | 71 - compiler/rustc_span/src/lib.rs | 27 +- compiler/rustc_span/src/span_encoding.rs | 7 +- compiler/rustc_span/src/symbol.rs | 16 +- compiler/rustc_symbol_mangling/locales/en-US.ftl | 1 + compiler/rustc_symbol_mangling/src/legacy.rs | 4 +- compiler/rustc_symbol_mangling/src/lib.rs | 7 +- .../src/typeid/typeid_itanium_cxx_abi.rs | 37 +- compiler/rustc_symbol_mangling/src/v0.rs | 9 +- compiler/rustc_target/src/abi/call/loongarch.rs | 2 +- compiler/rustc_target/src/abi/call/mod.rs | 2 +- compiler/rustc_target/src/abi/call/riscv.rs | 2 +- compiler/rustc_target/src/abi/call/sparc64.rs | 6 +- compiler/rustc_target/src/abi/call/x86_64.rs | 2 +- compiler/rustc_target/src/abi/mod.rs | 50 +- .../rustc_target/src/spec/aarch64_apple_ios.rs | 7 +- .../src/spec/aarch64_apple_ios_macabi.rs | 4 +- .../rustc_target/src/spec/aarch64_apple_ios_sim.rs | 7 +- .../src/spec/aarch64_be_unknown_linux_gnu.rs | 2 +- .../src/spec/aarch64_be_unknown_linux_gnu_ilp32.rs | 2 +- .../src/spec/aarch64_kmc_solid_asp3.rs | 2 +- .../rustc_target/src/spec/aarch64_linux_android.rs | 3 +- .../spec/aarch64_nintendo_switch_freestanding.rs | 1 + .../src/spec/aarch64_pc_windows_gnullvm.rs | 2 +- .../src/spec/aarch64_pc_windows_msvc.rs | 2 +- .../src/spec/aarch64_unknown_freebsd.rs | 1 + .../src/spec/aarch64_unknown_fuchsia.rs | 1 + .../src/spec/aarch64_unknown_hermit.rs | 2 +- .../src/spec/aarch64_unknown_linux_gnu.rs | 3 +- .../src/spec/aarch64_unknown_linux_gnu_ilp32.rs | 2 +- .../src/spec/aarch64_unknown_linux_musl.rs | 2 + .../src/spec/aarch64_unknown_netbsd.rs | 1 + .../rustc_target/src/spec/aarch64_unknown_none.rs | 4 +- .../src/spec/aarch64_unknown_none_softfloat.rs | 2 +- .../src/spec/aarch64_unknown_nto_qnx_710.rs | 1 + .../src/spec/aarch64_unknown_openbsd.rs | 6 +- .../rustc_target/src/spec/aarch64_unknown_redox.rs | 1 + .../rustc_target/src/spec/aarch64_unknown_uefi.rs | 1 + .../src/spec/aarch64_uwp_windows_msvc.rs | 1 + .../rustc_target/src/spec/aarch64_wrs_vxworks.rs | 6 +- .../src/spec/arm64_32_apple_watchos.rs | 2 +- .../rustc_target/src/spec/armebv7r_none_eabi.rs | 2 +- .../rustc_target/src/spec/armebv7r_none_eabihf.rs | 2 +- compiler/rustc_target/src/spec/armv4t_none_eabi.rs | 2 +- .../rustc_target/src/spec/armv6k_nintendo_3ds.rs | 3 +- compiler/rustc_target/src/spec/armv7a_none_eabi.rs | 2 +- .../rustc_target/src/spec/armv7a_none_eabihf.rs | 2 +- compiler/rustc_target/src/spec/armv7r_none_eabi.rs | 2 +- .../rustc_target/src/spec/armv7r_none_eabihf.rs | 2 +- compiler/rustc_target/src/spec/bpf_base.rs | 2 +- .../src/spec/hexagon_unknown_linux_musl.rs | 2 +- compiler/rustc_target/src/spec/mod.rs | 40 +- .../src/spec/riscv64gc_unknown_none_elf.rs | 3 + .../src/spec/riscv64imac_unknown_none_elf.rs | 3 +- .../src/spec/s390x_unknown_linux_gnu.rs | 4 +- .../src/spec/s390x_unknown_linux_musl.rs | 4 +- compiler/rustc_target/src/spec/thumb_base.rs | 2 +- .../rustc_target/src/spec/thumbv4t_none_eabi.rs | 2 +- compiler/rustc_target/src/spec/x86_64_apple_ios.rs | 7 +- .../src/spec/x86_64_apple_ios_macabi.rs | 2 +- .../rustc_target/src/spec/x86_64_linux_android.rs | 1 + .../src/spec/x86_64_unknown_freebsd.rs | 1 + .../src/spec/x86_64_unknown_linux_gnu.rs | 1 + .../src/spec/x86_64_unknown_linux_musl.rs | 1 + .../rustc_target/src/spec/x86_64_unknown_netbsd.rs | 1 + .../rustc_target/src/spec/x86_64_unknown_none.rs | 2 +- .../src/spec/x86_64_unknown_openbsd.rs | 1 + compiler/rustc_trait_selection/Cargo.toml | 2 +- compiler/rustc_trait_selection/locales/en-US.ftl | 22 + compiler/rustc_trait_selection/src/errors.rs | 11 +- compiler/rustc_trait_selection/src/infer.rs | 16 +- compiler/rustc_trait_selection/src/lib.rs | 5 + .../rustc_trait_selection/src/solve/assembly.rs | 229 +- .../src/solve/canonical/canonicalize.rs | 390 + .../src/solve/canonical/mod.rs | 240 + .../rustc_trait_selection/src/solve/eval_ctxt.rs | 184 + .../rustc_trait_selection/src/solve/fulfill.rs | 89 +- .../rustc_trait_selection/src/solve/infcx_ext.rs | 78 - compiler/rustc_trait_selection/src/solve/mod.rs | 532 +- .../src/solve/project_goals.rs | 533 +- .../src/solve/search_graph/cache.rs | 2 +- .../src/solve/search_graph/mod.rs | 133 +- .../src/solve/search_graph/overflow.rs | 58 +- .../rustc_trait_selection/src/solve/trait_goals.rs | 468 +- .../src/solve/trait_goals/structural_traits.rs | 200 +- .../rustc_trait_selection/src/traits/auto_trait.rs | 14 +- .../src/traits/chalk_fulfill.rs | 35 +- .../rustc_trait_selection/src/traits/coherence.rs | 24 +- .../src/traits/const_evaluatable.rs | 6 +- .../rustc_trait_selection/src/traits/engine.rs | 11 +- .../src/traits/error_reporting/ambiguity.rs | 8 +- .../src/traits/error_reporting/method_chain.rs | 15 + .../src/traits/error_reporting/mod.rs | 131 +- .../src/traits/error_reporting/on_unimplemented.rs | 30 +- .../src/traits/error_reporting/suggestions.rs | 287 +- .../rustc_trait_selection/src/traits/fulfill.rs | 161 +- compiler/rustc_trait_selection/src/traits/misc.rs | 23 +- compiler/rustc_trait_selection/src/traits/mod.rs | 46 +- .../src/traits/object_safety.rs | 162 +- .../src/traits/outlives_bounds.rs | 13 +- .../rustc_trait_selection/src/traits/project.rs | 160 +- .../src/traits/query/dropck_outlives.rs | 1 + .../src/traits/query/evaluate_obligation.rs | 43 +- .../src/traits/query/normalize.rs | 38 +- .../src/traits/query/type_op/mod.rs | 4 +- .../src/traits/query/type_op/normalize.rs | 4 +- .../src/traits/query/type_op/outlives.rs | 6 +- .../src/traits/relationships.rs | 48 - .../src/traits/select/candidate_assembly.rs | 27 +- .../src/traits/select/confirmation.rs | 110 +- .../rustc_trait_selection/src/traits/select/mod.rs | 247 +- .../src/traits/specialize/mod.rs | 8 +- .../src/traits/specialize/specialization_graph.rs | 6 +- .../src/traits/structural_match.rs | 6 +- compiler/rustc_trait_selection/src/traits/util.rs | 6 +- .../rustc_trait_selection/src/traits/vtable.rs | 6 +- compiler/rustc_trait_selection/src/traits/wf.rs | 54 +- compiler/rustc_traits/Cargo.toml | 1 - compiler/rustc_traits/src/chalk/db.rs | 36 +- compiler/rustc_traits/src/chalk/lowering.rs | 124 +- compiler/rustc_traits/src/chalk/mod.rs | 59 +- compiler/rustc_traits/src/codegen.rs | 2 +- compiler/rustc_traits/src/dropck_outlives.rs | 5 +- .../rustc_traits/src/implied_outlives_bounds.rs | 102 +- compiler/rustc_traits/src/lib.rs | 1 + .../rustc_traits/src/normalize_erasing_regions.rs | 6 +- compiler/rustc_traits/src/type_op.rs | 11 +- compiler/rustc_transmute/src/layout/tree.rs | 5 +- compiler/rustc_transmute/src/lib.rs | 2 +- compiler/rustc_ty_utils/locales/en-US.ftl | 47 + compiler/rustc_ty_utils/src/abi.rs | 73 +- compiler/rustc_ty_utils/src/assoc.rs | 270 +- compiler/rustc_ty_utils/src/consts.rs | 4 +- compiler/rustc_ty_utils/src/errors.rs | 2 +- compiler/rustc_ty_utils/src/implied_bounds.rs | 12 +- compiler/rustc_ty_utils/src/instance.rs | 5 +- compiler/rustc_ty_utils/src/layout.rs | 108 +- compiler/rustc_ty_utils/src/lib.rs | 4 + compiler/rustc_ty_utils/src/needs_drop.rs | 25 +- compiler/rustc_ty_utils/src/representability.rs | 4 +- compiler/rustc_ty_utils/src/ty.rs | 151 +- compiler/rustc_type_ir/src/fold.rs | 239 + compiler/rustc_type_ir/src/lib.rs | 142 +- compiler/rustc_type_ir/src/macros.rs | 176 + compiler/rustc_type_ir/src/structural_impls.rs | 175 + compiler/rustc_type_ir/src/sty.rs | 156 +- compiler/rustc_type_ir/src/visit.rs | 115 + config.toml.example | 32 +- git-commit-hash | 2 +- git-commit-info | 6 +- library/alloc/benches/vec_deque.rs | 146 +- library/alloc/src/boxed.rs | 9 +- library/alloc/src/boxed/thin.rs | 8 +- library/alloc/src/collections/binary_heap/mod.rs | 24 +- library/alloc/src/collections/binary_heap/tests.rs | 19 + library/alloc/src/collections/btree/borrow.rs | 22 + library/alloc/src/collections/btree/map.rs | 730 +- library/alloc/src/collections/btree/map/entry.rs | 40 +- library/alloc/src/collections/btree/map/tests.rs | 49 + library/alloc/src/collections/btree/navigate.rs | 55 +- library/alloc/src/collections/btree/node.rs | 102 +- .../alloc/src/collections/vec_deque/into_iter.rs | 185 +- library/alloc/src/ffi/c_str.rs | 8 +- library/alloc/src/fmt.rs | 2 +- library/alloc/src/lib.rs | 3 +- library/alloc/src/macros.rs | 2 + library/alloc/src/raw_vec.rs | 17 +- library/alloc/src/rc.rs | 4 +- library/alloc/src/slice.rs | 43 +- library/alloc/src/string.rs | 16 +- library/alloc/src/sync.rs | 149 +- library/alloc/src/sync/tests.rs | 32 + library/alloc/src/vec/mod.rs | 40 +- library/core/benches/array.rs | 19 + library/core/benches/char/methods.rs | 40 +- library/core/benches/lib.rs | 1 + .../core/benches/num/flt2dec/strategy/dragon.rs | 18 +- library/core/benches/num/flt2dec/strategy/grisu.rs | 18 +- library/core/src/alloc/global.rs | 9 +- library/core/src/any.rs | 2 +- library/core/src/array/drain.rs | 76 + library/core/src/array/equality.rs | 73 +- library/core/src/array/mod.rs | 273 +- library/core/src/cell.rs | 35 +- library/core/src/cell/once.rs | 4 + library/core/src/char/convert.rs | 28 +- library/core/src/char/decode.rs | 6 +- library/core/src/char/methods.rs | 24 +- library/core/src/char/mod.rs | 2 +- library/core/src/cmp.rs | 81 +- library/core/src/cmp/bytewise.rs | 83 + library/core/src/const_closure.rs | 78 - library/core/src/convert/mod.rs | 2 +- library/core/src/error.rs | 19 +- library/core/src/ffi/c_str.rs | 27 +- library/core/src/ffi/mod.rs | 1 + library/core/src/fmt/mod.rs | 87 +- library/core/src/fmt/rt/v1.rs | 18 + library/core/src/future/mod.rs | 45 - library/core/src/hint.rs | 3 +- library/core/src/intrinsics.rs | 6 +- library/core/src/intrinsics/mir.rs | 18 +- library/core/src/iter/adapters/array_chunks.rs | 20 +- library/core/src/iter/adapters/by_ref_sized.rs | 19 +- library/core/src/iter/adapters/cloned.rs | 15 +- library/core/src/iter/adapters/filter_map.rs | 2 +- library/core/src/iter/adapters/flatten.rs | 4 +- library/core/src/iter/adapters/map.rs | 15 +- library/core/src/iter/adapters/zip.rs | 9 +- library/core/src/iter/mod.rs | 8 +- library/core/src/iter/range.rs | 1 - library/core/src/iter/traits/double_ended.rs | 2 +- library/core/src/iter/traits/exact_size.rs | 10 + library/core/src/iter/traits/iterator.rs | 121 +- library/core/src/iter/traits/marker.rs | 11 + library/core/src/iter/traits/mod.rs | 3 + library/core/src/iter/traits/unchecked_iterator.rs | 36 + library/core/src/lib.rs | 15 +- library/core/src/marker.rs | 73 +- library/core/src/mem/mod.rs | 1 - library/core/src/net/display_buffer.rs | 40 + library/core/src/net/ip_addr.rs | 2070 ++++++ library/core/src/net/mod.rs | 24 + library/core/src/net/parser.rs | 498 ++ library/core/src/net/socket_addr.rs | 664 ++ library/core/src/num/dec2flt/mod.rs | 17 +- library/core/src/num/error.rs | 57 +- library/core/src/num/int_log10.rs | 8 + library/core/src/num/int_macros.rs | 80 +- library/core/src/num/mod.rs | 396 +- library/core/src/num/shells/i128.rs | 4 +- library/core/src/num/shells/i16.rs | 4 +- library/core/src/num/shells/i32.rs | 4 +- library/core/src/num/shells/i64.rs | 4 +- library/core/src/num/shells/i8.rs | 4 +- library/core/src/num/shells/isize.rs | 4 +- library/core/src/num/shells/u128.rs | 4 +- library/core/src/num/shells/u16.rs | 4 +- library/core/src/num/shells/u32.rs | 4 +- library/core/src/num/shells/u64.rs | 4 +- library/core/src/num/shells/u8.rs | 4 +- library/core/src/num/shells/usize.rs | 4 +- library/core/src/num/uint_macros.rs | 63 +- library/core/src/ops/arith.rs | 22 +- library/core/src/ops/control_flow.rs | 43 - library/core/src/ops/range.rs | 98 +- library/core/src/ops/try_trait.rs | 26 +- library/core/src/option.rs | 141 +- library/core/src/panicking.rs | 5 +- library/core/src/primitive_docs.rs | 6 +- library/core/src/ptr/alignment.rs | 2 +- library/core/src/ptr/const_ptr.rs | 22 +- library/core/src/ptr/mut_ptr.rs | 24 +- library/core/src/result.rs | 48 +- library/core/src/slice/cmp.rs | 27 +- library/core/src/slice/iter.rs | 4 +- library/core/src/slice/iter/macros.rs | 9 + library/core/src/slice/memchr.rs | 15 +- library/core/src/slice/mod.rs | 70 +- library/core/src/slice/sort.rs | 526 +- library/core/src/str/iter.rs | 10 +- library/core/src/str/traits.rs | 4 - library/core/src/sync/atomic.rs | 196 +- library/core/src/task/poll.rs | 5 + library/core/src/task/wake.rs | 2 +- library/core/tests/array.rs | 25 + library/core/tests/iter/adapters/mod.rs | 2 +- library/core/tests/iter/range.rs | 1 - library/core/tests/iter/traits/iterator.rs | 3 + library/core/tests/lib.rs | 6 + library/core/tests/net/ip_addr.rs | 1035 +++ library/core/tests/net/mod.rs | 13 + library/core/tests/net/parser.rs | 149 + library/core/tests/net/socket_addr.rs | 233 + library/core/tests/num/dec2flt/mod.rs | 2 +- library/core/tests/ptr.rs | 6 +- .../crates/core_simd/examples/spectral_norm.rs | 2 +- .../portable-simd/crates/core_simd/src/vector.rs | 2 +- library/proc_macro/src/bridge/rpc.rs | 1 - library/proc_macro/src/lib.rs | 3 +- library/std/Cargo.toml | 6 +- library/std/build.rs | 1 + library/std/src/collections/hash/map.rs | 2 +- library/std/src/f32.rs | 4 +- library/std/src/f64.rs | 4 +- library/std/src/fs.rs | 20 +- library/std/src/fs/tests.rs | 20 +- library/std/src/io/error.rs | 19 +- library/std/src/io/error/repr_bitpacked.rs | 9 +- library/std/src/io/error/repr_unpacked.rs | 4 +- library/std/src/io/error/tests.rs | 4 +- library/std/src/io/mod.rs | 2 + library/std/src/keyword_docs.rs | 2 +- library/std/src/lib.rs | 10 +- library/std/src/net/display_buffer.rs | 40 - library/std/src/net/ip_addr.rs | 2075 +----- library/std/src/net/ip_addr/tests.rs | 1035 +-- library/std/src/net/mod.rs | 6 +- library/std/src/net/parser.rs | 500 -- library/std/src/net/parser/tests.rs | 149 - library/std/src/net/socket_addr.rs | 689 +- library/std/src/net/socket_addr/tests.rs | 8 +- library/std/src/net/tcp.rs | 2 +- library/std/src/net/tcp/tests.rs | 5 +- library/std/src/net/udp/tests.rs | 5 +- library/std/src/os/fd/owned.rs | 17 +- library/std/src/os/fd/raw.rs | 18 + library/std/src/os/fuchsia/raw.rs | 7 +- library/std/src/os/hermit/io/mod.rs | 13 + library/std/src/os/hermit/io/net.rs | 46 + library/std/src/os/hermit/mod.rs | 5 + library/std/src/os/l4re/raw.rs | 1 - library/std/src/os/linux/raw.rs | 1 - library/std/src/os/mod.rs | 14 +- library/std/src/os/net/mod.rs | 9 + library/std/src/os/nto/fs.rs | 92 + library/std/src/os/nto/mod.rs | 4 + library/std/src/os/nto/raw.rs | 40 + library/std/src/os/unix/fs.rs | 30 + library/std/src/os/unix/fs/tests.rs | 57 + library/std/src/os/unix/mod.rs | 5 +- library/std/src/os/unix/net/datagram.rs | 6 +- library/std/src/os/unix/net/tests.rs | 1 + library/std/src/os/unix/process.rs | 26 +- library/std/src/os/unix/ucred.rs | 3 +- library/std/src/panicking.rs | 16 +- library/std/src/path.rs | 4 + library/std/src/personality/emcc.rs | 2 +- library/std/src/personality/gcc.rs | 3 +- library/std/src/primitive_docs.rs | 6 +- library/std/src/process.rs | 2 +- library/std/src/sync/lazy_lock.rs | 86 +- library/std/src/sync/mod.rs | 2 +- library/std/src/sync/mpmc/array.rs | 18 +- library/std/src/sync/mpmc/utils.rs | 12 +- library/std/src/sync/once.rs | 16 + library/std/src/sys/common/alloc.rs | 1 + library/std/src/sys/hermit/args.rs | 2 +- library/std/src/sys/hermit/fd.rs | 77 +- library/std/src/sys/hermit/fs.rs | 57 +- library/std/src/sys/hermit/mod.rs | 92 +- library/std/src/sys/hermit/net.rs | 639 +- library/std/src/sys/hermit/os.rs | 2 +- library/std/src/sys/hermit/thread.rs | 4 +- library/std/src/sys/hermit/thread_local_dtor.rs | 23 +- library/std/src/sys/hermit/time.rs | 98 +- library/std/src/sys/itron/thread.rs | 2 +- library/std/src/sys/itron/thread_parking.rs | 37 + library/std/src/sys/itron/wait_flag.rs | 72 - library/std/src/sys/solid/mod.rs | 4 +- library/std/src/sys/solid/thread_local_dtor.rs | 32 +- library/std/src/sys/unix/args.rs | 31 +- library/std/src/sys/unix/env.rs | 11 + library/std/src/sys/unix/fd.rs | 203 +- library/std/src/sys/unix/fs.rs | 92 +- library/std/src/sys/unix/locks/pthread_condvar.rs | 11 + library/std/src/sys/unix/mod.rs | 2 +- library/std/src/sys/unix/net.rs | 2 + library/std/src/sys/unix/os.rs | 12 + library/std/src/sys/unix/process/process_unix.rs | 74 +- library/std/src/sys/unix/thread.rs | 17 +- library/std/src/sys/unix/thread_local_dtor.rs | 36 +- library/std/src/sys/unix/thread_parking/pthread.rs | 9 + library/std/src/sys/unix/time.rs | 22 + library/std/src/sys/unsupported/once.rs | 11 + library/std/src/sys/wasi/os.rs | 8 +- library/std/src/sys/windows/args.rs | 11 +- library/std/src/sys/windows/c.rs | 40 +- library/std/src/sys/windows/fs.rs | 9 +- library/std/src/sys/windows/io.rs | 32 +- library/std/src/sys/windows/stdio.rs | 75 +- library/std/src/sys/windows/thread.rs | 2 +- library/std/src/sys/windows/thread_parking.rs | 2 +- library/std/src/sys_common/backtrace.rs | 13 + library/std/src/sys_common/mod.rs | 1 - library/std/src/sys_common/net.rs | 15 +- library/std/src/sys_common/net/tests.rs | 2 +- library/std/src/sys_common/once/futex.rs | 11 + library/std/src/sys_common/once/queue.rs | 11 + library/std/src/sys_common/thread_local_dtor.rs | 2 +- library/std/src/sys_common/thread_local_key.rs | 10 +- library/std/src/sys_common/thread_parking/id.rs | 6 +- library/std/src/sys_common/thread_parking/mod.rs | 4 +- .../std/src/sys_common/thread_parking/wait_flag.rs | 102 - library/std/src/sys_common/wtf8.rs | 8 +- library/std/src/thread/local.rs | 3 +- library/std/src/thread/mod.rs | 6 +- library/std/src/time.rs | 8 +- library/std/tests/common/mod.rs | 58 + library/std/tests/create_dir_all_bare.rs | 39 + library/std/tests/env.rs | 14 +- library/std/tests/run-time-detect.rs | 6 +- library/stdarch/.github/workflows/main.yml | 12 - library/stdarch/ci/android-install-ndk.sh | 38 - library/stdarch/ci/android-install-sdk.sh | 60 - library/stdarch/ci/android-sysimage.sh | 56 - .../ci/docker/aarch64-linux-android/Dockerfile | 46 - .../ci/docker/arm-linux-androideabi/Dockerfile | 46 - .../ci/docker/x86_64-linux-android/Dockerfile | 29 - library/stdarch/ci/runtest-android.rs | 45 - .../stdarch/crates/assert-instr-macro/Cargo.toml | 2 +- .../stdarch/crates/assert-instr-macro/src/lib.rs | 8 +- library/stdarch/crates/core_arch/Cargo.toml | 2 +- .../crates/core_arch/src/aarch64/neon/mod.rs | 174 +- .../core_arch/src/arm_shared/neon/generated.rs | 3090 ++++---- .../crates/core_arch/src/arm_shared/neon/mod.rs | 257 +- library/stdarch/crates/core_arch/src/mips/msa.rs | 4 +- library/stdarch/crates/core_arch/src/mod.rs | 2 +- library/stdarch/crates/core_arch/src/x86/avx.rs | 2 +- library/stdarch/crates/core_arch/src/x86/avx2.rs | 76 +- .../stdarch/crates/core_arch/src/x86/avx512bf16.rs | 2 +- .../crates/core_arch/src/x86/avx512bitalg.rs | 12 +- .../stdarch/crates/core_arch/src/x86/avx512bw.rs | 28 +- .../stdarch/crates/core_arch/src/x86/avx512f.rs | 2 +- .../stdarch/crates/core_arch/src/x86/avx512gfni.rs | 1492 ---- .../stdarch/crates/core_arch/src/x86/avx512vaes.rs | 332 - .../crates/core_arch/src/x86/avx512vpclmulqdq.rs | 258 - library/stdarch/crates/core_arch/src/x86/gfni.rs | 1492 ++++ library/stdarch/crates/core_arch/src/x86/mod.rs | 12 +- library/stdarch/crates/core_arch/src/x86/sse.rs | 5 +- library/stdarch/crates/core_arch/src/x86/sse2.rs | 32 +- library/stdarch/crates/core_arch/src/x86/sse41.rs | 48 +- library/stdarch/crates/core_arch/src/x86/sse42.rs | 8 +- library/stdarch/crates/core_arch/src/x86/vaes.rs | 332 + .../stdarch/crates/core_arch/src/x86/vpclmulqdq.rs | 258 + .../crates/core_arch/tests/cpu-detection.rs | 21 +- library/stdarch/crates/intrinsic-test/Cargo.toml | 4 +- .../stdarch/crates/intrinsic-test/missing_arm.txt | 11 - .../crates/intrinsic-test/src/acle_csv_parser.rs | 6 +- .../stdarch/crates/intrinsic-test/src/intrinsic.rs | 2 +- library/stdarch/crates/intrinsic-test/src/main.rs | 22 +- library/stdarch/crates/intrinsic-test/src/types.rs | 14 +- .../stdarch/crates/intrinsic-test/src/values.rs | 2 +- library/stdarch/crates/simd-test-macro/Cargo.toml | 2 +- library/stdarch/crates/simd-test-macro/src/lib.rs | 4 +- library/stdarch/crates/std_detect/Cargo.toml | 2 +- .../crates/std_detect/src/detect/arch/x86.rs | 15 +- .../stdarch/crates/std_detect/src/detect/cache.rs | 2 +- .../stdarch/crates/std_detect/src/detect/macros.rs | 12 +- .../stdarch/crates/std_detect/src/detect/mod.rs | 2 +- .../std_detect/src/detect/os/linux/aarch64.rs | 6 +- .../std_detect/src/detect/os/linux/auxvec.rs | 8 +- .../crates/std_detect/src/detect/os/linux/riscv.rs | 146 +- .../stdarch/crates/std_detect/src/detect/os/x86.rs | 6 +- .../crates/std_detect/tests/cpu-detection.rs | 11 +- .../crates/std_detect/tests/x86-specific.rs | 9 +- library/stdarch/crates/stdarch-gen/Cargo.toml | 2 +- library/stdarch/crates/stdarch-gen/src/main.rs | 322 +- library/stdarch/crates/stdarch-test/Cargo.toml | 2 +- .../stdarch/crates/stdarch-test/src/disassembly.rs | 8 +- library/stdarch/crates/stdarch-test/src/lib.rs | 10 +- library/stdarch/crates/stdarch-verify/Cargo.toml | 2 +- library/stdarch/crates/stdarch-verify/src/lib.rs | 14 +- library/stdarch/crates/stdarch-verify/tests/arm.rs | 6 +- .../stdarch/crates/stdarch-verify/tests/mips.rs | 8 +- .../crates/stdarch-verify/tests/x86-intel.rs | 20 +- library/stdarch/examples/Cargo.toml | 2 +- library/stdarch/examples/connect5.rs | 2 +- library/stdarch/examples/hex.rs | 2 +- library/stdarch/triagebot.toml | 3 + library/test/Cargo.toml | 2 - library/test/src/cli.rs | 3 +- library/test/src/console.rs | 7 +- library/test/src/formatters/terse.rs | 9 + library/test/src/lib.rs | 2 +- library/test/src/tests.rs | 1 + library/unwind/src/lib.rs | 4 + library/unwind/src/libunwind.rs | 2 +- src/bootstrap/Cargo.lock | 4 +- src/bootstrap/Cargo.toml | 5 +- src/bootstrap/README.md | 199 +- src/bootstrap/bin/main.rs | 36 +- src/bootstrap/bootstrap.py | 252 +- src/bootstrap/builder.rs | 20 +- src/bootstrap/builder/tests.rs | 2 + src/bootstrap/check.rs | 95 +- src/bootstrap/clean.rs | 1 + src/bootstrap/compile.rs | 130 +- src/bootstrap/config.rs | 28 +- src/bootstrap/config/tests.rs | 12 + src/bootstrap/configure.py | 28 +- src/bootstrap/defaults/config.compiler.toml | 2 + src/bootstrap/defaults/config.library.toml | 2 + src/bootstrap/dist.rs | 33 +- src/bootstrap/doc.rs | 38 +- src/bootstrap/download.rs | 168 +- src/bootstrap/flags.rs | 34 +- src/bootstrap/format.rs | 60 +- src/bootstrap/install.rs | 12 - src/bootstrap/lib.rs | 143 +- src/bootstrap/metadata.rs | 2 +- src/bootstrap/metrics.rs | 2 +- src/bootstrap/native.rs | 117 +- src/bootstrap/run.rs | 1 + src/bootstrap/setup.rs | 268 +- src/bootstrap/setup/tests.rs | 14 + src/bootstrap/test.rs | 25 +- src/bootstrap/tool.rs | 72 +- src/bootstrap/toolstate.rs | 2 +- .../docker/host-x86_64/dist-s390x-linux/Dockerfile | 2 +- .../host-x86_64/dist-x86_64-linux/Dockerfile | 2 +- src/ci/docker/host-x86_64/mingw-check/Dockerfile | 4 +- .../host-x86_64/mingw-check/validate-toolstate.sh | 6 - .../x86_64-gnu-llvm-13-stage1/Dockerfile | 49 - .../host-x86_64/x86_64-gnu-llvm-13/Dockerfile | 69 - .../x86_64-gnu-llvm-14-stage1/Dockerfile | 49 + .../host-x86_64/x86_64-gnu-llvm-14/Dockerfile | 67 + .../host-x86_64/x86_64-gnu-llvm-15/Dockerfile | 67 + .../x86_64-gnu-tools/browser-ui-test.version | 2 +- src/ci/docker/scripts/fuchsia-test-runner.py | 172 +- src/ci/github-actions/ci.yml | 34 +- src/ci/pgo.sh | 230 - src/ci/run.sh | 10 + src/ci/scripts/install-mingw.sh | 23 +- src/ci/scripts/should-skip-this.sh | 37 +- src/ci/stage-build.py | 842 +++ src/doc/book/.github/workflows/main.yml | 4 +- src/doc/book/CONTRIBUTING.md | 4 +- src/doc/book/README.md | 4 +- src/doc/book/ci/dictionary.txt | 1 + .../listing-02-04/output.txt | 1 + .../no-listing-02-without-expect/output.txt | 4 +- .../output.txt | 2 +- .../no-listing-04-cant-use-after-move/output.txt | 4 + .../output.txt | 11 +- .../no-listing-10-non-exhaustive-match/output.txt | 4 + .../listing-07-12/output.txt | 12 +- .../listing-08-19/output.txt | 1 - .../listing-11-03/output.txt | 2 +- .../listing-11-10/output.txt | 2 +- .../no-listing-03-introducing-a-bug/output.txt | 2 +- .../no-listing-04-bug-in-add-two/output.txt | 2 +- .../no-listing-06-greeter-with-bug/output.txt | 2 +- .../output.txt | 2 +- .../output.txt | 2 +- .../output-only-01-show-output/output.txt | 2 +- .../ch12-an-io-project/listing-12-12/output.txt | 4 +- .../ch12-an-io-project/listing-12-16/output.txt | 2 +- .../listing-13-14/output.txt | 4 +- .../ch15-smart-pointers/listing-15-03/output.txt | 4 +- .../ch15-smart-pointers/listing-15-23/output.txt | 2 +- .../listing-16-14/output.txt | 3 + .../listing-18-08/output.txt | 8 + .../listing-18-10/output.txt | 2 +- .../listing-19-20/output.txt | 4 +- .../ch20-web-server/listing-20-22/output.txt | 1 + .../output.txt | 1 + src/doc/book/rust-toolchain | 2 +- src/doc/book/src/ch00-00-introduction.md | 2 +- .../book/src/ch03-01-variables-and-mutability.md | 2 +- src/doc/book/src/ch10-01-syntax.md | 8 +- src/doc/book/src/title-page.md | 4 +- src/doc/embedded-book/src/assets/verify.jpeg | Bin 155671 -> 100961 bytes src/doc/embedded-book/src/collections/index.md | 9 +- .../src/interoperability/c-with-rust.md | 2 - src/doc/embedded-book/src/intro/install/macos.md | 20 +- src/doc/embedded-book/src/intro/install/verify.md | 2 +- .../embedded-book/src/peripherals/singletons.md | 3 +- src/doc/embedded-book/src/start/registers.md | 2 +- src/doc/index.md | 228 +- src/doc/nomicon/src/dropck.md | 2 +- src/doc/nomicon/src/ffi.md | 21 +- src/doc/nomicon/src/send-and-sync.md | 5 +- src/doc/nomicon/src/subtyping.md | 2 +- .../reference/src/behavior-considered-undefined.md | 2 +- src/doc/reference/src/destructors.md | 2 +- src/doc/reference/src/expressions/if-expr.md | 2 +- src/doc/reference/src/expressions/operator-expr.md | 2 +- src/doc/reference/src/items/external-blocks.md | 2 + src/doc/reference/src/linkage.md | 2 +- src/doc/reference/src/patterns.md | 47 +- src/doc/reference/src/trait-bounds.md | 2 +- .../src/error/option_unwrap/and_then.md | 5 +- .../rust-by-example/src/error/result/result_map.md | 2 +- src/doc/rust-by-example/src/generics/bounds.md | 4 +- src/doc/rust-by-example/src/hello/comment.md | 2 +- src/doc/rust-by-example/src/index.md | 2 +- src/doc/rust-by-example/src/primitives/tuples.md | 2 +- .../rust-by-example/src/std_misc/file/create.md | 2 +- src/doc/rustc-dev-guide/.github/workflows/ci.yml | 5 +- src/doc/rustc-dev-guide/CITATION.cff | 9 + src/doc/rustc-dev-guide/README.md | 2 +- src/doc/rustc-dev-guide/book.toml | 12 +- src/doc/rustc-dev-guide/ci/date-check/src/main.rs | 2 +- src/doc/rustc-dev-guide/examples/README | 11 + .../examples/rustc-driver-example.rs | 19 +- .../examples/rustc-driver-getting-diagnostics.rs | 9 +- .../rustc-driver-interacting-with-the-ast.rs | 14 +- src/doc/rustc-dev-guide/src/SUMMARY.md | 16 +- src/doc/rustc-dev-guide/src/appendix/glossary.md | 4 +- src/doc/rustc-dev-guide/src/asm.md | 2 +- src/doc/rustc-dev-guide/src/ast-validation.md | 36 +- .../src/backend/backend-agnostic.md | 23 +- src/doc/rustc-dev-guide/src/backend/monomorph.md | 2 +- .../rustc-dev-guide/src/backend/updating-llvm.md | 17 +- .../region_inference/lifetime_parameters.md | 4 +- .../rustc-dev-guide/src/building/bootstrapping.md | 124 +- .../src/building/how-to-build-and-run.md | 15 +- .../rustc-dev-guide/src/building/prerequisites.md | 2 +- src/doc/rustc-dev-guide/src/building/suggested.md | 96 +- src/doc/rustc-dev-guide/src/closure.md | 2 +- src/doc/rustc-dev-guide/src/compiler-debugging.md | 37 +- src/doc/rustc-dev-guide/src/compiler-src.md | 4 +- src/doc/rustc-dev-guide/src/constants.md | 2 +- src/doc/rustc-dev-guide/src/contributing.md | 10 +- src/doc/rustc-dev-guide/src/crates-io.md | 7 +- src/doc/rustc-dev-guide/src/diagnostics.md | 17 +- .../src/diagnostics/diagnostic-items.md | 2 +- .../src/diagnostics/diagnostic-structs.md | 4 +- .../rustc-dev-guide/src/diagnostics/translation.md | 2 +- src/doc/rustc-dev-guide/src/getting-started.md | 6 +- src/doc/rustc-dev-guide/src/git.md | 18 +- src/doc/rustc-dev-guide/src/hir.md | 4 +- src/doc/rustc-dev-guide/src/identifiers.md | 2 +- .../src/implementing_new_features.md | 2 +- .../src/llvm-coverage-instrumentation.md | 17 +- src/doc/rustc-dev-guide/src/mir/debugging.md | 4 +- src/doc/rustc-dev-guide/src/mir/visitor.md | 6 +- src/doc/rustc-dev-guide/src/overview.md | 2 +- src/doc/rustc-dev-guide/src/profiling/with_perf.md | 11 +- .../src/rustc-driver-getting-diagnostics.md | 30 +- .../src/rustc-driver-interacting-with-the-ast.md | 41 +- src/doc/rustc-dev-guide/src/rustc-driver.md | 2 +- .../rustc-dev-guide/src/solve/canonicalization.md | 84 + src/doc/rustc-dev-guide/src/solve/coinduction.md | 250 + src/doc/rustc-dev-guide/src/solve/the-solver.md | 17 + src/doc/rustc-dev-guide/src/solve/trait-solving.md | 114 + src/doc/rustc-dev-guide/src/tests/compiletest.md | 5 + src/doc/rustc-dev-guide/src/tests/running.md | 21 - src/doc/rustc-dev-guide/src/traits/resolution.md | 4 +- src/doc/rustc-dev-guide/src/ty.md | 80 +- src/doc/rustc-dev-guide/src/type-checking.md | 10 +- src/doc/rustc-dev-guide/src/type-inference.md | 12 +- src/doc/rustc/book.toml | 1 + src/doc/rustc/src/codegen-options/index.md | 66 +- src/doc/rustc/src/json.md | 1 - src/doc/rustc/src/platform-support.md | 6 +- src/doc/rustc/src/platform-support/fuchsia.md | 98 +- src/doc/rustc/src/platform-support/nto-qnx.md | 175 +- src/doc/rustdoc/src/how-to-read-rustdoc.md | 3 + src/doc/style-guide/src/cargo.md | 3 +- src/doc/style-guide/src/statements.md | 78 + .../compiler-flags/export-executable-symbols.md | 43 + .../src/compiler-flags/instrument-xray.md | 39 + .../unstable-book/src/compiler-flags/sanitizer.md | 20 + .../src/compiler-flags/tiny-const-eval-limit.md | 6 + .../src/library-features/char-error-internals.md | 5 - .../src/library-features/int-error-internals.md | 5 - src/etc/pre-push.sh | 2 +- src/etc/vscode_settings.json | 28 + src/librustdoc/Cargo.toml | 2 - src/librustdoc/clean/auto_trait.rs | 6 +- src/librustdoc/clean/blanket_impl.rs | 2 +- src/librustdoc/clean/cfg.rs | 8 +- src/librustdoc/clean/cfg/tests.rs | 5 +- src/librustdoc/clean/inline.rs | 64 +- src/librustdoc/clean/mod.rs | 476 +- src/librustdoc/clean/render_macro_matchers.rs | 3 +- src/librustdoc/clean/types.rs | 248 +- src/librustdoc/clean/types/tests.rs | 1 + src/librustdoc/clean/utils.rs | 23 +- src/librustdoc/config.rs | 2 +- src/librustdoc/core.rs | 80 +- src/librustdoc/doctest.rs | 117 +- src/librustdoc/formats/cache.rs | 41 +- src/librustdoc/formats/item_type.rs | 3 +- src/librustdoc/html/format.rs | 98 +- src/librustdoc/html/highlight.rs | 30 +- src/librustdoc/html/layout.rs | 1 - src/librustdoc/html/length_limit.rs | 4 +- src/librustdoc/html/length_limit/tests.rs | 2 +- src/librustdoc/html/markdown.rs | 209 +- src/librustdoc/html/markdown/tests.rs | 2 +- src/librustdoc/html/render/context.rs | 43 +- src/librustdoc/html/render/mod.rs | 166 +- src/librustdoc/html/render/print_item.rs | 672 +- src/librustdoc/html/render/search_index.rs | 11 +- src/librustdoc/html/render/write_shared.rs | 5 +- src/librustdoc/html/sources.rs | 3 +- src/librustdoc/html/static/.eslintrc.js | 1 - src/librustdoc/html/static/css/rustdoc.css | 148 +- src/librustdoc/html/static/css/settings.css | 30 +- src/librustdoc/html/static/css/themes/ayu.css | 77 +- src/librustdoc/html/static/css/themes/dark.css | 26 +- src/librustdoc/html/static/css/themes/light.css | 26 +- .../html/static/fonts/SourceSerif4-Bold.ttf.woff2 | Bin 81320 -> 81540 bytes .../html/static/fonts/SourceSerif4-It.ttf.woff2 | Bin 59860 -> 59716 bytes .../html/static/fonts/SourceSerif4-LICENSE.md | 2 +- .../static/fonts/SourceSerif4-Regular.ttf.woff2 | Bin 76180 -> 76260 bytes src/librustdoc/html/static/images/down-arrow.svg | 1 - src/librustdoc/html/static/images/toggle-minus.svg | 1 - src/librustdoc/html/static/images/toggle-plus.svg | 1 - src/librustdoc/html/static/images/wheel.svg | 2 +- src/librustdoc/html/static/js/main.js | 125 +- src/librustdoc/html/static/js/search.js | 355 +- src/librustdoc/html/static/js/settings.js | 55 +- src/librustdoc/html/static/js/source-script.js | 3 +- src/librustdoc/html/static/js/storage.js | 113 +- src/librustdoc/html/static_files.rs | 3 - src/librustdoc/html/templates/page.html | 3 +- src/librustdoc/html/templates/print_item.html | 2 +- src/librustdoc/json/conversions.rs | 99 +- src/librustdoc/json/import_finder.rs | 10 +- src/librustdoc/json/mod.rs | 34 +- src/librustdoc/lib.rs | 40 +- src/librustdoc/lint.rs | 6 +- src/librustdoc/markdown.rs | 9 +- src/librustdoc/passes/calculate_doc_coverage.rs | 8 +- src/librustdoc/passes/check_doc_test_visibility.rs | 38 +- src/librustdoc/passes/collect_intra_doc_links.rs | 313 +- .../passes/collect_intra_doc_links/early.rs | 407 -- src/librustdoc/passes/collect_trait_impls.rs | 91 +- .../passes/lint/check_code_block_syntax.rs | 11 +- src/librustdoc/passes/lint/html_tags.rs | 10 +- src/librustdoc/passes/mod.rs | 3 +- src/librustdoc/passes/propagate_doc_cfg.rs | 17 +- src/librustdoc/passes/strip_hidden.rs | 117 +- src/librustdoc/passes/stripper.rs | 32 +- src/librustdoc/scrape_examples.rs | 2 +- src/librustdoc/visit_ast.rs | 275 +- src/librustdoc/visit_lib.rs | 9 +- src/stage0.json | 580 +- src/tools/build_helper/src/git.rs | 72 +- src/tools/bump-stage0/src/main.rs | 2 +- src/tools/clippy/.github/workflows/clippy_bors.yml | 5 + src/tools/clippy/CHANGELOG.md | 207 +- src/tools/clippy/Cargo.toml | 3 +- src/tools/clippy/README.md | 57 +- src/tools/clippy/book/src/README.md | 2 +- src/tools/clippy/book/src/SUMMARY.md | 1 + src/tools/clippy/book/src/configuration.md | 16 +- .../clippy/book/src/development/adding_lints.md | 7 +- .../src/development/infrastructure/backport.md | 1 + .../book/src/development/infrastructure/book.md | 14 +- .../development/infrastructure/changelog_update.md | 16 +- .../book/src/development/infrastructure/sync.md | 3 +- src/tools/clippy/book/src/lint_configuration.md | 553 ++ src/tools/clippy/clippy_dev/Cargo.toml | 2 +- src/tools/clippy/clippy_dev/src/main.rs | 127 +- src/tools/clippy/clippy_dev/src/new_lint.rs | 9 +- src/tools/clippy/clippy_dev/src/update_lints.rs | 6 +- src/tools/clippy/clippy_lints/Cargo.toml | 4 +- .../clippy_lints/src/bool_assert_comparison.rs | 90 +- src/tools/clippy/clippy_lints/src/booleans.rs | 5 +- src/tools/clippy/clippy_lints/src/box_default.rs | 3 +- .../clippy_lints/src/casts/as_ptr_cast_mut.rs | 2 +- .../src/casts/cast_possible_truncation.rs | 32 +- .../clippy_lints/src/casts/cast_ptr_alignment.rs | 2 +- src/tools/clippy/clippy_lints/src/casts/mod.rs | 20 +- .../clippy_lints/src/cognitive_complexity.rs | 6 +- src/tools/clippy/clippy_lints/src/copy_iterator.rs | 2 +- .../clippy/clippy_lints/src/declared_lints.rs | 9 + src/tools/clippy/clippy_lints/src/default.rs | 2 +- .../clippy_lints/src/default_numeric_fallback.rs | 6 +- src/tools/clippy/clippy_lints/src/dereference.rs | 105 +- .../clippy/clippy_lints/src/derivable_impls.rs | 2 +- src/tools/clippy/clippy_lints/src/derive.rs | 11 +- src/tools/clippy/clippy_lints/src/doc.rs | 45 +- src/tools/clippy/clippy_lints/src/empty_enum.rs | 2 +- src/tools/clippy/clippy_lints/src/entry.rs | 12 +- src/tools/clippy/clippy_lints/src/enum_clike.rs | 2 +- src/tools/clippy/clippy_lints/src/enum_variants.rs | 4 +- src/tools/clippy/clippy_lints/src/escape.rs | 12 +- src/tools/clippy/clippy_lints/src/eta_reduction.rs | 8 +- .../clippy/clippy_lints/src/excessive_bools.rs | 6 +- .../clippy/clippy_lints/src/exhaustive_items.rs | 3 +- .../src/extra_unused_type_parameters.rs | 229 + src/tools/clippy/clippy_lints/src/format_args.rs | 11 +- .../clippy_lints/src/from_raw_with_void_ptr.rs | 2 +- .../src/functions/impl_trait_in_params.rs | 50 + .../clippy_lints/src/functions/misnamed_getters.rs | 11 +- src/tools/clippy/clippy_lints/src/functions/mod.rs | 37 +- .../clippy/clippy_lints/src/functions/must_use.rs | 22 +- .../src/functions/not_unsafe_ptr_arg_deref.rs | 6 +- .../clippy/clippy_lints/src/functions/result.rs | 2 +- .../clippy/clippy_lints/src/future_not_send.rs | 9 +- .../clippy/clippy_lints/src/implicit_return.rs | 3 +- .../clippy_lints/src/implicit_saturating_sub.rs | 4 +- .../src/inconsistent_struct_constructor.rs | 4 +- .../clippy/clippy_lints/src/indexing_slicing.rs | 2 +- src/tools/clippy/clippy_lints/src/inherent_impl.rs | 3 +- .../clippy/clippy_lints/src/inherent_to_string.rs | 4 +- .../clippy/clippy_lints/src/instant_subtraction.rs | 2 +- .../src/iter_not_returning_iterator.rs | 4 +- .../clippy/clippy_lints/src/large_const_arrays.rs | 2 +- .../clippy/clippy_lints/src/large_enum_variant.rs | 2 +- .../clippy/clippy_lints/src/large_stack_arrays.rs | 2 +- src/tools/clippy/clippy_lints/src/len_zero.rs | 23 +- .../clippy/clippy_lints/src/let_underscore.rs | 54 +- src/tools/clippy/clippy_lints/src/lib.rs | 20 +- src/tools/clippy/clippy_lints/src/lifetimes.rs | 268 +- .../clippy_lints/src/literal_representation.rs | 12 +- .../clippy_lints/src/loops/explicit_iter_loop.rs | 2 +- src/tools/clippy/clippy_lints/src/loops/mod.rs | 3 +- .../clippy_lints/src/loops/needless_range_loop.rs | 6 +- .../clippy/clippy_lints/src/loops/never_loop.rs | 61 +- src/tools/clippy/clippy_lints/src/manual_assert.rs | 97 +- .../clippy/clippy_lints/src/manual_async_fn.rs | 5 +- .../clippy_lints/src/manual_is_ascii_check.rs | 2 +- .../clippy/clippy_lints/src/manual_let_else.rs | 153 +- .../clippy_lints/src/manual_non_exhaustive.rs | 5 +- src/tools/clippy/clippy_lints/src/map_unit_fn.rs | 2 +- .../clippy_lints/src/matches/match_wild_enum.rs | 13 +- .../src/matches/rest_pat_in_fully_bound_struct.rs | 2 +- .../src/matches/significant_drop_in_scrutinee.rs | 2 +- .../clippy_lints/src/methods/bytes_count_to_len.rs | 2 +- .../clippy/clippy_lints/src/methods/bytes_nth.rs | 42 +- .../case_sensitive_file_extension_comparisons.rs | 2 +- .../src/methods/collapsible_str_replace.rs | 2 +- .../clippy_lints/src/methods/expect_fun_call.rs | 8 +- .../clippy/clippy_lints/src/methods/expect_used.rs | 4 +- .../clippy/clippy_lints/src/methods/get_first.rs | 2 +- .../clippy_lints/src/methods/implicit_clone.rs | 4 +- .../clippy_lints/src/methods/manual_ok_or.rs | 2 +- .../clippy/clippy_lints/src/methods/map_clone.rs | 2 +- .../clippy_lints/src/methods/map_err_ignore.rs | 2 +- src/tools/clippy/clippy_lints/src/methods/mod.rs | 44 +- .../clippy_lints/src/methods/mut_mutex_lock.rs | 2 +- .../clippy_lints/src/methods/needless_collect.rs | 6 +- .../clippy_lints/src/methods/open_options.rs | 2 +- .../src/methods/path_buf_push_overwrite.rs | 2 +- .../clippy_lints/src/methods/search_is_some.rs | 3 +- .../src/methods/single_char_pattern.rs | 2 +- .../src/methods/stable_sort_primitive.rs | 2 +- .../src/methods/string_extend_chars.rs | 3 +- .../src/methods/suspicious_command_arg_space.rs | 39 + .../clippy_lints/src/methods/suspicious_map.rs | 6 +- .../clippy_lints/src/methods/suspicious_splitn.rs | 2 +- .../src/methods/suspicious_to_owned.rs | 22 +- .../src/methods/unnecessary_sort_by.rs | 2 +- .../src/methods/unnecessary_to_owned.rs | 13 +- .../clippy/clippy_lints/src/methods/unwrap_used.rs | 4 +- src/tools/clippy/clippy_lints/src/methods/utils.rs | 4 +- .../clippy_lints/src/methods/vec_resize_to_zero.rs | 2 +- src/tools/clippy/clippy_lints/src/misc.rs | 7 +- .../clippy_lints/src/missing_const_for_fn.rs | 9 +- src/tools/clippy/clippy_lints/src/missing_doc.rs | 32 +- .../clippy_lints/src/missing_trait_methods.rs | 2 +- src/tools/clippy/clippy_lints/src/module_style.rs | 2 +- .../src/multiple_unsafe_ops_per_block.rs | 186 + src/tools/clippy/clippy_lints/src/mut_key.rs | 17 +- src/tools/clippy/clippy_lints/src/mut_reference.rs | 2 +- .../clippy_lints/src/needless_pass_by_value.rs | 13 +- .../clippy/clippy_lints/src/new_without_default.rs | 14 +- .../clippy_lints/src/no_mangle_with_rust_abi.rs | 65 + .../clippy/clippy_lints/src/non_copy_const.rs | 2 +- .../clippy_lints/src/only_used_in_recursion.rs | 4 +- .../src/operators/arithmetic_side_effects.rs | 36 +- .../clippy/clippy_lints/src/operators/cmp_owned.rs | 6 +- .../src/operators/numeric_arithmetic.rs | 2 +- .../clippy/clippy_lints/src/option_if_let_else.rs | 10 +- .../clippy/clippy_lints/src/panic_in_result_fn.rs | 9 +- .../clippy_lints/src/pass_by_ref_or_value.rs | 9 +- .../clippy_lints/src/pattern_type_mismatch.rs | 7 +- src/tools/clippy/clippy_lints/src/ptr.rs | 13 +- .../clippy/clippy_lints/src/question_mark_used.rs | 52 + .../clippy/clippy_lints/src/redundant_clone.rs | 9 +- .../clippy/clippy_lints/src/redundant_slicing.rs | 4 +- src/tools/clippy/clippy_lints/src/regex.rs | 89 +- .../clippy_lints/src/return_self_not_must_use.rs | 18 +- src/tools/clippy/clippy_lints/src/returns.rs | 142 +- .../clippy/clippy_lints/src/same_name_method.rs | 2 +- .../clippy_lints/src/self_named_constructors.rs | 4 +- .../clippy/clippy_lints/src/semicolon_block.rs | 4 +- .../src/significant_drop_tightening.rs | 423 ++ src/tools/clippy/clippy_lints/src/strings.rs | 4 +- .../clippy_lints/src/suspicious_xor_used_as_pow.rs | 4 +- src/tools/clippy/clippy_lints/src/swap.rs | 107 +- .../clippy_lints/src/trailing_empty_array.rs | 5 +- src/tools/clippy/clippy_lints/src/transmute/mod.rs | 35 +- .../src/transmute/transmute_int_to_non_zero.rs | 61 + .../src/transmute/transmute_ptr_to_ref.rs | 2 +- .../src/transmute/transmute_ref_to_ref.rs | 3 +- .../src/transmute/transmute_undefined_repr.rs | 2 +- .../transmutes_expressible_as_ptr_casts.rs | 58 +- .../src/transmute/useless_transmute.rs | 2 +- .../clippy/clippy_lints/src/transmute/utils.rs | 26 +- src/tools/clippy/clippy_lints/src/types/mod.rs | 35 +- .../clippy_lints/src/types/redundant_allocation.rs | 2 +- src/tools/clippy/clippy_lints/src/types/vec_box.rs | 2 +- .../clippy_lints/src/undocumented_unsafe_blocks.rs | 12 + .../clippy_lints/src/unit_return_expecting_ord.rs | 2 +- .../clippy_lints/src/unit_types/let_unit_value.rs | 2 +- .../src/unnecessary_owned_empty_strings.rs | 3 +- .../clippy/clippy_lints/src/unnecessary_wraps.rs | 26 +- .../clippy_lints/src/unnested_or_patterns.rs | 50 +- src/tools/clippy/clippy_lints/src/unused_async.rs | 7 +- .../clippy/clippy_lints/src/unused_io_amount.rs | 2 +- src/tools/clippy/clippy_lints/src/unwrap.rs | 3 +- .../clippy/clippy_lints/src/unwrap_in_result.rs | 4 +- src/tools/clippy/clippy_lints/src/use_self.rs | 8 +- .../clippy/clippy_lints/src/useless_conversion.rs | 2 +- src/tools/clippy/clippy_lints/src/utils/author.rs | 2 +- src/tools/clippy/clippy_lints/src/utils/conf.rs | 26 +- .../clippy/clippy_lints/src/utils/dump_hir.rs | 13 + .../internal_lints/interning_defined_symbol.rs | 2 +- .../utils/internal_lints/lint_without_lint_pass.rs | 15 +- .../src/utils/internal_lints/metadata_collector.rs | 79 +- .../src/utils/internal_lints/msrv_attr_impl.rs | 1 + .../utils/internal_lints/unnecessary_def_path.rs | 8 +- .../clippy_lints/src/zero_sized_map_values.rs | 2 +- src/tools/clippy/clippy_utils/Cargo.toml | 2 +- src/tools/clippy/clippy_utils/src/ast_utils.rs | 3 +- src/tools/clippy/clippy_utils/src/consts.rs | 10 +- src/tools/clippy/clippy_utils/src/eager_or_lazy.rs | 8 +- src/tools/clippy/clippy_utils/src/higher.rs | 13 +- src/tools/clippy/clippy_utils/src/hir_utils.rs | 4 +- src/tools/clippy/clippy_utils/src/lib.rs | 30 +- src/tools/clippy/clippy_utils/src/macros.rs | 76 +- .../clippy_utils/src/mir/possible_borrower.rs | 6 +- .../clippy/clippy_utils/src/numeric_literal.rs | 2 +- src/tools/clippy/clippy_utils/src/paths.rs | 1 + .../clippy_utils/src/qualify_min_const_fn.rs | 7 +- src/tools/clippy/clippy_utils/src/sugg.rs | 22 +- src/tools/clippy/clippy_utils/src/ty.rs | 56 +- src/tools/clippy/clippy_utils/src/visitors.rs | 10 +- src/tools/clippy/declare_clippy_lint/Cargo.toml | 2 +- src/tools/clippy/lintcheck/Cargo.toml | 4 +- src/tools/clippy/lintcheck/src/config.rs | 2 +- src/tools/clippy/lintcheck/src/main.rs | 12 +- src/tools/clippy/rust-toolchain | 2 +- src/tools/clippy/src/driver.rs | 3 +- src/tools/clippy/src/main.rs | 2 +- .../clippy/tests/ui-internal/custom_ice_message.rs | 3 +- .../tests/ui-internal/custom_ice_message.stderr | 4 +- .../tests/ui-toml/expect_used/expect_used.rs | 12 + .../ui-toml/pub_crate_missing_docs/clippy.toml | 1 + .../pub_crate_missing_doc.rs | 59 + .../pub_crate_missing_doc.stderr | 52 + .../toml_unknown_key/conf_unknown_key.stderr | 1 + .../tests/ui-toml/unwrap_used/unwrap_used.rs | 6 + .../tests/ui-toml/unwrap_used/unwrap_used.stderr | 10 +- .../clippy/tests/ui/arithmetic_side_effects.rs | 27 + .../clippy/tests/ui/arithmetic_side_effects.stderr | 198 +- src/tools/clippy/tests/ui/auxiliary/macro_rules.rs | 19 + .../clippy/tests/ui/bool_assert_comparison.fixed | 171 + .../clippy/tests/ui/bool_assert_comparison.rs | 53 +- .../clippy/tests/ui/bool_assert_comparison.stderr | 353 +- src/tools/clippy/tests/ui/box_default.fixed | 18 + src/tools/clippy/tests/ui/box_default.rs | 18 + src/tools/clippy/tests/ui/box_default.stderr | 14 +- src/tools/clippy/tests/ui/bytes_nth.fixed | 6 +- src/tools/clippy/tests/ui/bytes_nth.rs | 2 +- src/tools/clippy/tests/ui/bytes_nth.stderr | 10 +- src/tools/clippy/tests/ui/cast.rs | 1 + src/tools/clippy/tests/ui/cast.stderr | 163 +- src/tools/clippy/tests/ui/cast_size.stderr | 53 + src/tools/clippy/tests/ui/crashes/ice-2774.stderr | 5 + .../clippy/tests/ui/crashes/ice-rust-107877.rs | 17 + .../crashes/needless_lifetimes_impl_trait.stderr | 5 + .../crashes/needless_pass_by_value-w-late-bound.rs | 9 + .../needless_pass_by_value-w-late-bound.stderr | 15 + src/tools/clippy/tests/ui/doc/doc-fixable.fixed | 2 +- src/tools/clippy/tests/ui/doc/doc-fixable.rs | 4 +- src/tools/clippy/tests/ui/doc/doc-fixable.stderr | 24 +- src/tools/clippy/tests/ui/entry.fixed | 14 + src/tools/clippy/tests/ui/entry.rs | 14 + .../clippy/tests/ui/explicit_auto_deref.fixed | 14 + src/tools/clippy/tests/ui/explicit_auto_deref.rs | 14 + .../tests/ui/extra_unused_type_parameters.rs | 110 + .../tests/ui/extra_unused_type_parameters.stderr | 75 + src/tools/clippy/tests/ui/format.fixed | 6 + src/tools/clippy/tests/ui/format.rs | 6 + src/tools/clippy/tests/ui/format.stderr | 30 +- src/tools/clippy/tests/ui/impl_trait_in_params.rs | 17 + .../clippy/tests/ui/impl_trait_in_params.stderr | 25 + src/tools/clippy/tests/ui/large_digit_groups.fixed | 4 +- .../clippy/tests/ui/large_digit_groups.stderr | 20 +- src/tools/clippy/tests/ui/len_without_is_empty.rs | 46 + .../clippy/tests/ui/let_underscore_untyped.rs | 54 + .../clippy/tests/ui/let_underscore_untyped.stderr | 51 + src/tools/clippy/tests/ui/literals.stderr | 10 +- .../tests/ui/manual_assert.edition2018.fixed | 35 +- .../tests/ui/manual_assert.edition2018.stderr | 67 +- src/tools/clippy/tests/ui/manual_let_else.rs | 11 + src/tools/clippy/tests/ui/manual_let_else_match.rs | 29 +- .../clippy/tests/ui/manual_let_else_match.stderr | 15 +- .../clippy/tests/ui/map_flatten_fixable.fixed | 1 + src/tools/clippy/tests/ui/map_flatten_fixable.rs | 1 + .../clippy/tests/ui/map_flatten_fixable.stderr | 18 +- .../ui/match_wildcard_for_single_variants.fixed | 2 +- .../ui/match_wildcard_for_single_variants.stderr | 8 +- src/tools/clippy/tests/ui/methods.rs | 1 + src/tools/clippy/tests/ui/methods.stderr | 4 +- src/tools/clippy/tests/ui/missing_doc_impl.stderr | 4 +- .../clippy/tests/ui/module_name_repetitions.stderr | 20 +- .../tests/ui/multiple_unsafe_ops_per_block.rs | 119 + .../tests/ui/multiple_unsafe_ops_per_block.stderr | 129 + .../clippy/tests/ui/must_use_candidates.fixed | 2 +- src/tools/clippy/tests/ui/must_use_candidates.rs | 2 +- src/tools/clippy/tests/ui/needless_lifetimes.fixed | 548 ++ src/tools/clippy/tests/ui/needless_lifetimes.rs | 52 +- .../clippy/tests/ui/needless_lifetimes.stderr | 391 +- .../clippy/tests/ui/needless_range_loop.stderr | 8 +- src/tools/clippy/tests/ui/needless_return.fixed | 20 + src/tools/clippy/tests/ui/needless_return.rs | 20 + src/tools/clippy/tests/ui/needless_return.stderr | 126 +- src/tools/clippy/tests/ui/never_loop.rs | 45 + src/tools/clippy/tests/ui/never_loop.stderr | 15 +- src/tools/clippy/tests/ui/new_without_default.rs | 7 +- .../clippy/tests/ui/new_without_default.stderr | 14 +- .../clippy/tests/ui/no_mangle_with_rust_abi.fixed | 48 + .../clippy/tests/ui/no_mangle_with_rust_abi.rs | 48 + .../clippy/tests/ui/no_mangle_with_rust_abi.stderr | 45 + src/tools/clippy/tests/ui/question_mark_used.rs | 15 + .../clippy/tests/ui/question_mark_used.stderr | 11 + .../clippy/tests/ui/redundant_field_names.fixed | 2 +- src/tools/clippy/tests/ui/redundant_field_names.rs | 2 +- src/tools/clippy/tests/ui/regex.rs | 4 + src/tools/clippy/tests/ui/regex.stderr | 66 +- .../tests/ui/seek_to_start_instead_of_rewind.fixed | 4 +- .../tests/ui/seek_to_start_instead_of_rewind.rs | 4 +- .../tests/ui/significant_drop_tightening.fixed | 84 + .../clippy/tests/ui/significant_drop_tightening.rs | 80 + .../tests/ui/significant_drop_tightening.stderr | 94 + .../tests/ui/suspicious_command_arg_space.rs | 10 + .../tests/ui/suspicious_command_arg_space.stderr | 25 + .../clippy/tests/ui/suspicious_to_owned.stderr | 43 +- src/tools/clippy/tests/ui/swap.fixed | 24 +- src/tools/clippy/tests/ui/swap.rs | 29 +- src/tools/clippy/tests/ui/swap.stderr | 65 +- src/tools/clippy/tests/ui/track-diagnostics.stderr | 2 +- .../clippy/tests/ui/transmute_int_to_non_zero.rs | 41 + .../tests/ui/transmute_int_to_non_zero.stderr | 64 + .../ui/transmutes_expressible_as_ptr_casts.fixed | 2 + .../ui/transmutes_expressible_as_ptr_casts.rs | 2 + .../ui/transmutes_expressible_as_ptr_casts.stderr | 10 +- .../clippy/tests/ui/type_repetition_in_bounds.rs | 1 + .../tests/ui/type_repetition_in_bounds.stderr | 8 +- .../clippy/tests/ui/uninlined_format_args.fixed | 4 + src/tools/clippy/tests/ui/uninlined_format_args.rs | 4 + .../clippy/tests/ui/unnecessary_safety_comment.rs | 17 + src/tools/clippy/tests/ui/unreadable_literal.fixed | 2 +- .../clippy/tests/ui/unreadable_literal.stderr | 10 +- src/tools/clippy/tests/ui/unused_io_amount.rs | 8 + src/tools/clippy/tests/ui/unused_io_amount.stderr | 44 +- .../clippy/tests/ui/wildcard_enum_match_arm.fixed | 2 +- .../clippy/tests/ui/wildcard_enum_match_arm.stderr | 4 +- src/tools/compiletest/Cargo.toml | 5 +- src/tools/compiletest/src/common.rs | 6 + src/tools/compiletest/src/errors.rs | 8 +- src/tools/compiletest/src/header.rs | 87 +- src/tools/compiletest/src/main.rs | 57 +- src/tools/compiletest/src/runtest.rs | 87 +- src/tools/compiletest/src/util.rs | 37 +- src/tools/error_index_generator/Cargo.toml | 1 + src/tools/error_index_generator/main.rs | 58 +- src/tools/expand-yaml-anchors/src/main.rs | 2 +- src/tools/jsondoclint/src/validator.rs | 28 +- src/tools/publish_toolstate.py | 61 - src/tools/rust-analyzer/Cargo.lock | 430 +- src/tools/rust-analyzer/Cargo.toml | 44 + src/tools/rust-analyzer/crates/base-db/Cargo.toml | 23 +- .../rust-analyzer/crates/base-db/src/fixture.rs | 86 +- .../rust-analyzer/crates/base-db/src/input.rs | 36 +- src/tools/rust-analyzer/crates/base-db/src/lib.rs | 1 + src/tools/rust-analyzer/crates/cfg/Cargo.toml | 21 +- src/tools/rust-analyzer/crates/cfg/src/cfg_expr.rs | 4 +- src/tools/rust-analyzer/crates/flycheck/Cargo.toml | 17 +- src/tools/rust-analyzer/crates/hir-def/Cargo.toml | 37 +- src/tools/rust-analyzer/crates/hir-def/src/adt.rs | 9 +- src/tools/rust-analyzer/crates/hir-def/src/attr.rs | 360 +- src/tools/rust-analyzer/crates/hir-def/src/body.rs | 148 +- .../rust-analyzer/crates/hir-def/src/body/lower.rs | 12 +- .../crates/hir-def/src/body/pretty.rs | 4 +- .../rust-analyzer/crates/hir-def/src/body/tests.rs | 13 + .../crates/hir-def/src/child_by_source.rs | 2 +- src/tools/rust-analyzer/crates/hir-def/src/data.rs | 4 +- src/tools/rust-analyzer/crates/hir-def/src/db.rs | 8 +- src/tools/rust-analyzer/crates/hir-def/src/expr.rs | 2 +- .../rust-analyzer/crates/hir-def/src/find_path.rs | 8 +- .../rust-analyzer/crates/hir-def/src/generics.rs | 2 +- .../rust-analyzer/crates/hir-def/src/intern.rs | 227 - .../rust-analyzer/crates/hir-def/src/item_scope.rs | 6 +- .../rust-analyzer/crates/hir-def/src/item_tree.rs | 20 +- .../crates/hir-def/src/item_tree/lower.rs | 33 +- .../crates/hir-def/src/item_tree/pretty.rs | 1 - src/tools/rust-analyzer/crates/hir-def/src/keys.rs | 3 +- .../rust-analyzer/crates/hir-def/src/lang_item.rs | 298 +- .../rust-analyzer/crates/hir-def/src/layout.rs | 1 + src/tools/rust-analyzer/crates/hir-def/src/lib.rs | 49 +- .../crates/hir-def/src/macro_expansion_tests.rs | 12 +- .../hir-def/src/macro_expansion_tests/mbe.rs | 37 +- .../src/macro_expansion_tests/mbe/regression.rs | 21 +- .../src/macro_expansion_tests/proc_macros.rs | 7 +- .../crates/hir-def/src/nameres/attr_resolution.rs | 3 +- .../crates/hir-def/src/nameres/collector.rs | 52 +- .../crates/hir-def/src/nameres/diagnostics.rs | 11 +- .../crates/hir-def/src/nameres/mod_resolution.rs | 2 +- .../crates/hir-def/src/nameres/proc_macro.rs | 2 +- .../crates/hir-def/src/nameres/tests.rs | 8 +- .../crates/hir-def/src/nameres/tests/macros.rs | 6 +- src/tools/rust-analyzer/crates/hir-def/src/path.rs | 64 +- .../rust-analyzer/crates/hir-def/src/path/lower.rs | 87 +- .../rust-analyzer/crates/hir-def/src/pretty.rs | 4 +- .../rust-analyzer/crates/hir-def/src/resolver.rs | 2 +- .../rust-analyzer/crates/hir-def/src/type_ref.rs | 10 +- .../rust-analyzer/crates/hir-expand/Cargo.toml | 28 +- .../rust-analyzer/crates/hir-expand/src/attrs.rs | 349 + .../crates/hir-expand/src/builtin_attr_macro.rs | 6 +- .../crates/hir-expand/src/builtin_derive_macro.rs | 10 +- .../crates/hir-expand/src/builtin_fn_macro.rs | 66 +- .../rust-analyzer/crates/hir-expand/src/db.rs | 25 +- .../rust-analyzer/crates/hir-expand/src/eager.rs | 6 +- .../rust-analyzer/crates/hir-expand/src/fixup.rs | 18 +- .../rust-analyzer/crates/hir-expand/src/hygiene.rs | 4 +- .../rust-analyzer/crates/hir-expand/src/lib.rs | 42 +- .../rust-analyzer/crates/hir-expand/src/name.rs | 18 +- .../crates/hir-expand/src/proc_macro.rs | 24 +- .../rust-analyzer/crates/hir-expand/src/quote.rs | 112 +- src/tools/rust-analyzer/crates/hir-ty/Cargo.toml | 33 +- .../rust-analyzer/crates/hir-ty/src/autoderef.rs | 9 +- .../rust-analyzer/crates/hir-ty/src/builder.rs | 17 +- .../rust-analyzer/crates/hir-ty/src/chalk_db.rs | 83 +- .../rust-analyzer/crates/hir-ty/src/chalk_ext.rs | 36 +- src/tools/rust-analyzer/crates/hir-ty/src/db.rs | 2 +- .../hir-ty/src/diagnostics/decl_check/case_conv.rs | 2 + .../crates/hir-ty/src/diagnostics/expr.rs | 41 +- .../rust-analyzer/crates/hir-ty/src/display.rs | 236 +- src/tools/rust-analyzer/crates/hir-ty/src/infer.rs | 122 +- .../crates/hir-ty/src/infer/closure.rs | 4 +- .../crates/hir-ty/src/infer/coerce.rs | 15 +- .../rust-analyzer/crates/hir-ty/src/infer/expr.rs | 378 +- .../rust-analyzer/crates/hir-ty/src/infer/path.rs | 2 +- .../rust-analyzer/crates/hir-ty/src/infer/unify.rs | 25 +- .../rust-analyzer/crates/hir-ty/src/interner.rs | 7 +- .../rust-analyzer/crates/hir-ty/src/lang_items.rs | 11 +- .../rust-analyzer/crates/hir-ty/src/layout.rs | 53 +- .../rust-analyzer/crates/hir-ty/src/layout/adt.rs | 4 +- .../crates/hir-ty/src/layout/target.rs | 40 +- .../crates/hir-ty/src/layout/tests.rs | 115 +- src/tools/rust-analyzer/crates/hir-ty/src/lib.rs | 81 +- src/tools/rust-analyzer/crates/hir-ty/src/lower.rs | 145 +- .../crates/hir-ty/src/method_resolution.rs | 112 +- .../crates/hir-ty/src/tests/method_resolution.rs | 16 +- .../crates/hir-ty/src/tests/simple.rs | 83 + .../crates/hir-ty/src/tests/traits.rs | 337 +- .../rust-analyzer/crates/hir-ty/src/traits.rs | 18 +- src/tools/rust-analyzer/crates/hir-ty/src/utils.rs | 185 +- src/tools/rust-analyzer/crates/hir-ty/src/walk.rs | 147 - src/tools/rust-analyzer/crates/hir/Cargo.toml | 31 +- src/tools/rust-analyzer/crates/hir/src/display.rs | 7 +- src/tools/rust-analyzer/crates/hir/src/lib.rs | 186 +- .../rust-analyzer/crates/hir/src/semantics.rs | 16 +- .../crates/hir/src/semantics/source_to_def.rs | 3 +- .../crates/hir/src/source_analyzer.rs | 48 +- .../rust-analyzer/crates/ide-assists/Cargo.toml | 29 +- .../crates/ide-assists/src/handlers/add_braces.rs | 155 + .../src/handlers/add_missing_impl_members.rs | 92 +- .../src/handlers/add_missing_match_arms.rs | 201 +- .../src/handlers/convert_comment_block.rs | 4 +- .../src/handlers/convert_match_to_let_else.rs | 87 +- .../convert_named_struct_to_tuple_struct.rs | 5 +- .../convert_tuple_struct_to_named_struct.rs | 5 +- .../src/handlers/desugar_doc_comment.rs | 312 + .../ide-assists/src/handlers/extract_type_alias.rs | 38 +- .../src/handlers/generate_default_from_new.rs | 6 +- .../src/handlers/generate_delegate_methods.rs | 2 +- .../ide-assists/src/handlers/generate_function.rs | 901 ++- .../ide-assists/src/handlers/generate_getter.rs | 107 +- .../ide-assists/src/handlers/inline_macro.rs | 26 +- .../ide-assists/src/handlers/merge_imports.rs | 2 +- .../ide-assists/src/handlers/move_const_to_impl.rs | 44 +- .../crates/ide-assists/src/handlers/raw_string.rs | 23 +- .../ide-assists/src/handlers/reorder_fields.rs | 5 +- .../ide-assists/src/handlers/replace_arith_op.rs | 2 +- .../handlers/replace_derive_with_manual_impl.rs | 2 +- .../src/handlers/replace_if_let_with_match.rs | 183 +- .../ide-assists/src/handlers/unmerge_match_arm.rs | 3 +- .../ide-assists/src/handlers/unwrap_block.rs | 162 +- .../rust-analyzer/crates/ide-assists/src/lib.rs | 4 + .../rust-analyzer/crates/ide-assists/src/tests.rs | 42 +- .../crates/ide-assists/src/tests/generated.rs | 40 + .../rust-analyzer/crates/ide-assists/src/utils.rs | 38 +- .../ide-assists/src/utils/gen_trait_fn_body.rs | 36 +- .../rust-analyzer/crates/ide-completion/Cargo.toml | 30 +- .../src/completions/item_list/trait_impl.rs | 2 +- .../ide-completion/src/completions/keyword.rs | 3 + .../ide-completion/src/completions/postfix.rs | 163 +- .../crates/ide-completion/src/config.rs | 1 + .../crates/ide-completion/src/context.rs | 37 +- .../crates/ide-completion/src/context/analysis.rs | 175 +- .../crates/ide-completion/src/item.rs | 104 +- .../rust-analyzer/crates/ide-completion/src/lib.rs | 18 +- .../crates/ide-completion/src/render.rs | 29 +- .../crates/ide-completion/src/render/literal.rs | 2 +- .../ide-completion/src/render/union_literal.rs | 2 +- .../crates/ide-completion/src/tests.rs | 46 +- .../crates/ide-completion/src/tests/expression.rs | 252 + .../crates/ide-completion/src/tests/flyimport.rs | 6 +- .../crates/ide-completion/src/tests/item_list.rs | 51 + .../crates/ide-completion/src/tests/proc_macros.rs | 114 +- .../crates/ide-completion/src/tests/special.rs | 89 +- src/tools/rust-analyzer/crates/ide-db/Cargo.toml | 38 +- .../crates/ide-db/src/active_parameter.rs | 80 +- src/tools/rust-analyzer/crates/ide-db/src/defs.rs | 2 +- .../rust-analyzer/crates/ide-db/src/line_index.rs | 199 +- .../crates/ide-db/src/path_transform.rs | 24 +- .../rust-analyzer/crates/ide-db/src/rename.rs | 76 +- .../rust-analyzer/crates/ide-db/src/search.rs | 183 +- .../crates/ide-db/src/symbol_index.rs | 8 +- .../crates/ide-diagnostics/Cargo.toml | 28 +- .../src/handlers/json_is_not_rust.rs | 122 +- .../src/handlers/private_assoc_item.rs | 5 +- .../ide-diagnostics/src/handlers/unlinked_file.rs | 230 +- .../src/handlers/unresolved_proc_macro.rs | 5 +- src/tools/rust-analyzer/crates/ide-ssr/Cargo.toml | 25 +- src/tools/rust-analyzer/crates/ide/Cargo.toml | 39 +- .../rust-analyzer/crates/ide/src/file_structure.rs | 29 +- .../crates/ide/src/goto_declaration.rs | 1 + .../crates/ide/src/goto_definition.rs | 64 + .../crates/ide/src/highlight_related.rs | 2 - src/tools/rust-analyzer/crates/ide/src/hover.rs | 181 +- .../rust-analyzer/crates/ide/src/hover/render.rs | 163 +- .../rust-analyzer/crates/ide/src/hover/tests.rs | 248 +- .../rust-analyzer/crates/ide/src/inlay_hints.rs | 191 +- .../crates/ide/src/inlay_hints/adjustment.rs | 135 +- .../crates/ide/src/inlay_hints/bind_pat.rs | 137 +- .../crates/ide/src/inlay_hints/binding_mode.rs | 55 +- .../crates/ide/src/inlay_hints/chaining.rs | 323 +- .../crates/ide/src/inlay_hints/closing_brace.rs | 14 +- .../crates/ide/src/inlay_hints/closure_ret.rs | 7 +- .../crates/ide/src/inlay_hints/discriminant.rs | 108 +- .../crates/ide/src/inlay_hints/fn_lifetime_fn.rs | 11 +- .../crates/ide/src/inlay_hints/implicit_static.rs | 5 +- .../crates/ide/src/inlay_hints/param_name.rs | 11 +- .../rust-analyzer/crates/ide/src/join_lines.rs | 6 +- src/tools/rust-analyzer/crates/ide/src/lib.rs | 7 +- .../crates/ide/src/markdown_remove.rs | 140 +- .../rust-analyzer/crates/ide/src/references.rs | 395 + src/tools/rust-analyzer/crates/ide/src/rename.rs | 202 +- .../crates/ide/src/shuffle_crate_graph.rs | 22 +- .../rust-analyzer/crates/ide/src/signature_help.rs | 299 +- .../rust-analyzer/crates/ide/src/static_index.rs | 7 +- .../crates/ide/src/syntax_highlighting.rs | 9 +- .../crates/ide/src/syntax_highlighting/tests.rs | 2 +- src/tools/rust-analyzer/crates/ide/src/typing.rs | 57 +- src/tools/rust-analyzer/crates/intern/Cargo.toml | 20 + src/tools/rust-analyzer/crates/intern/src/lib.rs | 216 + src/tools/rust-analyzer/crates/limit/Cargo.toml | 8 +- src/tools/rust-analyzer/crates/mbe/Cargo.toml | 21 +- .../rust-analyzer/crates/mbe/src/benchmark.rs | 30 +- src/tools/rust-analyzer/crates/mbe/src/expander.rs | 7 +- .../crates/mbe/src/expander/matcher.rs | 41 +- .../crates/mbe/src/expander/transcriber.rs | 74 +- src/tools/rust-analyzer/crates/mbe/src/lib.rs | 55 +- src/tools/rust-analyzer/crates/mbe/src/parser.rs | 22 +- .../rust-analyzer/crates/mbe/src/syntax_bridge.rs | 166 +- .../crates/mbe/src/syntax_bridge/tests.rs | 4 +- .../crates/mbe/src/to_parser_input.rs | 36 +- src/tools/rust-analyzer/crates/mbe/src/tt_iter.rs | 27 +- src/tools/rust-analyzer/crates/parser/Cargo.toml | 17 +- src/tools/rust-analyzer/crates/parser/src/event.rs | 13 +- .../rust-analyzer/crates/parser/src/grammar.rs | 30 + .../crates/parser/src/grammar/attributes.rs | 2 + .../crates/parser/src/grammar/expressions.rs | 137 +- .../crates/parser/src/grammar/expressions/atom.rs | 38 +- .../crates/parser/src/grammar/generic_args.rs | 32 +- .../crates/parser/src/grammar/generic_params.rs | 29 +- .../crates/parser/src/grammar/items/adt.rs | 25 +- .../crates/parser/src/grammar/params.rs | 14 +- .../crates/parser/src/grammar/paths.rs | 11 +- .../crates/parser/src/grammar/types.rs | 3 +- .../rust-analyzer/crates/parser/src/lexed_str.rs | 5 + src/tools/rust-analyzer/crates/parser/src/lib.rs | 4 + .../rust-analyzer/crates/parser/src/output.rs | 61 +- .../rust-analyzer/crates/parser/src/parser.rs | 29 + .../rust-analyzer/crates/parser/src/shortcuts.rs | 53 + src/tools/rust-analyzer/crates/parser/src/tests.rs | 6 + .../crates/parser/src/tests/prefix_entries.rs | 4 + .../crates/parser/src/tests/top_entries.rs | 2 +- .../err/0009_broken_struct_type_parameter.rast | 3 +- .../test_data/parser/err/0013_invalid_type.rast | 38 +- .../test_data/parser/err/0022_bad_exprs.rast | 18 +- .../parser/err/0024_many_type_parens.rast | 211 +- .../parser/test_data/parser/err/0025_nope.rast | 7 +- .../test_data/parser/err/0042_weird_blocks.rast | 2 +- .../test_data/parser/err/0048_double_fish.rast | 19 +- .../inline/err/0002_misplaced_label_err.rast | 2 +- .../parser/inline/err/0015_arg_list_recovery.rast | 77 + .../parser/inline/err/0015_arg_list_recovery.rs | 5 + .../inline/err/0015_missing_fn_param_type.rast | 2 +- .../parser/inline/ok/0011_field_expr.rast | 33 + .../test_data/parser/inline/ok/0011_field_expr.rs | 2 + .../parser/inline/ok/0107_method_call_expr.rast | 43 + .../parser/inline/ok/0107_method_call_expr.rs | 2 + .../parser/inline/ok/0137_await_expr.rast | 35 + .../test_data/parser/inline/ok/0137_await_expr.rs | 2 + .../parser/inline/ok/0205_const_closure.rast | 42 + .../parser/inline/ok/0205_const_closure.rs | 1 + src/tools/rust-analyzer/crates/paths/Cargo.toml | 8 +- .../rust-analyzer/crates/proc-macro-api/Cargo.toml | 23 +- .../rust-analyzer/crates/proc-macro-api/src/lib.rs | 17 +- .../rust-analyzer/crates/proc-macro-api/src/msg.rs | 23 +- .../crates/proc-macro-api/src/msg/flat.rs | 43 +- .../crates/proc-macro-api/src/process.rs | 54 +- .../crates/proc-macro-api/src/version.rs | 13 +- .../crates/proc-macro-srv-cli/Cargo.toml | 10 +- .../rust-analyzer/crates/proc-macro-srv/Cargo.toml | 20 +- .../crates/proc-macro-srv/src/abis/abi_1_58/mod.rs | 104 - .../src/abis/abi_1_58/proc_macro/bridge/buffer.rs | 143 - .../src/abis/abi_1_58/proc_macro/bridge/client.rs | 485 -- .../src/abis/abi_1_58/proc_macro/bridge/closure.rs | 24 - .../src/abis/abi_1_58/proc_macro/bridge/handle.rs | 70 - .../src/abis/abi_1_58/proc_macro/bridge/mod.rs | 429 -- .../src/abis/abi_1_58/proc_macro/bridge/rpc.rs | 305 - .../abis/abi_1_58/proc_macro/bridge/scoped_cell.rs | 81 - .../src/abis/abi_1_58/proc_macro/bridge/server.rs | 352 - .../src/abis/abi_1_58/proc_macro/diagnostic.rs | 166 - .../src/abis/abi_1_58/proc_macro/mod.rs | 1056 --- .../src/abis/abi_1_58/proc_macro/quote.rs | 140 - .../proc-macro-srv/src/abis/abi_1_58/ra_server.rs | 822 --- .../crates/proc-macro-srv/src/abis/abi_1_63/mod.rs | 1 + .../src/abis/abi_1_63/proc_macro/mod.rs | 24 +- .../proc-macro-srv/src/abis/abi_1_63/ra_server.rs | 119 +- .../proc-macro-srv/src/abis/abi_sysroot/mod.rs | 2 +- .../src/abis/abi_sysroot/ra_server.rs | 65 +- .../src/abis/abi_sysroot/ra_server/token_stream.rs | 28 +- .../crates/proc-macro-srv/src/abis/mod.rs | 11 +- .../rust-analyzer/crates/proc-macro-srv/src/cli.rs | 3 + .../crates/proc-macro-srv/src/dylib.rs | 2 + .../rust-analyzer/crates/proc-macro-srv/src/lib.rs | 2 + .../crates/proc-macro-srv/src/tests/mod.rs | 26 +- .../crates/proc-macro-test/Cargo.toml | 15 +- .../crates/proc-macro-test/imp/Cargo.toml | 1 - src/tools/rust-analyzer/crates/profile/Cargo.toml | 10 +- src/tools/rust-analyzer/crates/profile/src/lib.rs | 2 +- .../rust-analyzer/crates/project-model/Cargo.toml | 21 +- .../crates/project-model/src/cargo_workspace.rs | 1 + .../rust-analyzer/crates/project-model/src/lib.rs | 2 +- .../crates/project-model/src/project_json.rs | 44 + .../crates/project-model/src/sysroot.rs | 34 +- .../crates/project-model/src/target_data_layout.rs | 13 +- .../crates/project-model/src/tests.rs | 128 +- .../crates/project-model/src/workspace.rs | 230 +- .../rust-analyzer/crates/rust-analyzer/Cargo.toml | 58 +- .../crates/rust-analyzer/src/bin/main.rs | 37 +- .../rust-analyzer/crates/rust-analyzer/src/caps.rs | 25 +- .../crates/rust-analyzer/src/cli/analysis_stats.rs | 22 +- .../crates/rust-analyzer/src/cli/diagnostics.rs | 4 +- .../crates/rust-analyzer/src/cli/load_cargo.rs | 33 +- .../crates/rust-analyzer/src/cli/lsif.rs | 8 +- .../crates/rust-analyzer/src/cli/scip.rs | 7 +- .../crates/rust-analyzer/src/cli/ssr.rs | 6 +- .../crates/rust-analyzer/src/config.rs | 70 +- .../rust-analyzer/src/config/patch_old_style.rs | 42 +- .../rust-analyzer/src/diagnostics/to_proto.rs | 6 +- .../crates/rust-analyzer/src/from_proto.rs | 13 +- .../crates/rust-analyzer/src/global_state.rs | 82 +- .../crates/rust-analyzer/src/handlers.rs | 66 +- .../rust-analyzer/src/integrated_benchmarks.rs | 8 +- .../crates/rust-analyzer/src/line_index.rs | 5 +- .../crates/rust-analyzer/src/lsp_ext.rs | 41 +- .../crates/rust-analyzer/src/lsp_utils.rs | 88 +- .../crates/rust-analyzer/src/main_loop.rs | 61 +- .../crates/rust-analyzer/src/reload.rs | 46 +- .../crates/rust-analyzer/src/to_proto.rs | 277 +- .../crates/rust-analyzer/tests/slow-tests/main.rs | 4 +- .../rust-analyzer/tests/slow-tests/support.rs | 2 + .../crates/rust-analyzer/tests/slow-tests/tidy.rs | 27 - .../rust-analyzer/crates/sourcegen/Cargo.toml | 8 +- src/tools/rust-analyzer/crates/stdx/Cargo.toml | 8 +- src/tools/rust-analyzer/crates/stdx/src/lib.rs | 15 +- src/tools/rust-analyzer/crates/stdx/src/macros.rs | 9 + src/tools/rust-analyzer/crates/stdx/src/rand.rs | 21 + src/tools/rust-analyzer/crates/syntax/Cargo.toml | 26 +- .../rust-analyzer/crates/syntax/fuzz/Cargo.toml | 7 +- src/tools/rust-analyzer/crates/syntax/rust.ungram | 2 +- src/tools/rust-analyzer/crates/syntax/src/ast.rs | 30 + .../crates/syntax/src/ast/generated/nodes.rs | 1 + .../rust-analyzer/crates/syntax/src/ast/make.rs | 21 +- src/tools/rust-analyzer/crates/syntax/src/lib.rs | 2 +- .../rust-analyzer/crates/syntax/src/syntax_node.rs | 1 + src/tools/rust-analyzer/crates/syntax/src/utils.rs | 7 +- .../rust-analyzer/crates/test-utils/Cargo.toml | 12 +- .../crates/test-utils/src/minicore.rs | 44 +- .../rust-analyzer/crates/text-edit/Cargo.toml | 8 +- .../rust-analyzer/crates/toolchain/Cargo.toml | 8 +- src/tools/rust-analyzer/crates/tt/Cargo.toml | 10 +- src/tools/rust-analyzer/crates/tt/src/buffer.rs | 105 +- src/tools/rust-analyzer/crates/tt/src/lib.rs | 228 +- .../rust-analyzer/crates/vfs-notify/Cargo.toml | 12 +- src/tools/rust-analyzer/crates/vfs/Cargo.toml | 12 +- src/tools/rust-analyzer/crates/vfs/src/lib.rs | 3 +- src/tools/rust-analyzer/crates/vfs/src/vfs_path.rs | 17 +- src/tools/rust-analyzer/docs/dev/architecture.md | 2 +- src/tools/rust-analyzer/docs/dev/lsp-extensions.md | 2 +- .../rust-analyzer/docs/user/generated_config.adoc | 18 +- src/tools/rust-analyzer/docs/user/manual.adoc | 119 +- src/tools/rust-analyzer/lib/lsp-server/Cargo.toml | 2 +- .../rust-analyzer/lib/lsp-server/src/stdio.rs | 5 +- src/tools/rust-analyzer/xtask/Cargo.toml | 1 + src/tools/rust-analyzer/xtask/src/dist.rs | 9 +- src/tools/rust-analyzer/xtask/src/publish.rs | 2 +- .../rust-analyzer/xtask/src/release/changelog.rs | 4 +- src/tools/rust-installer/src/generator.rs | 16 +- src/tools/rustdoc-js/tester.js | 14 +- src/tools/rustfmt/.github/workflows/check_diff.yml | 33 + .../rustfmt/.github/workflows/integration.yml | 4 - src/tools/rustfmt/CHANGELOG.md | 28 +- src/tools/rustfmt/Cargo.lock | 4 +- src/tools/rustfmt/Cargo.toml | 4 +- src/tools/rustfmt/Configurations.md | 185 +- src/tools/rustfmt/Processes.md | 2 +- src/tools/rustfmt/ci/build_and_test.bat | 1 + src/tools/rustfmt/ci/build_and_test.sh | 1 + src/tools/rustfmt/ci/check_diff.sh | 199 + src/tools/rustfmt/ci/integration.sh | 18 +- src/tools/rustfmt/config_proc_macro/Cargo.lock | 2 +- src/tools/rustfmt/config_proc_macro/Cargo.toml | 2 +- src/tools/rustfmt/config_proc_macro/src/attrs.rs | 27 +- .../rustfmt/config_proc_macro/src/item_enum.rs | 40 +- src/tools/rustfmt/config_proc_macro/src/lib.rs | 13 + src/tools/rustfmt/config_proc_macro/tests/smoke.rs | 1 + src/tools/rustfmt/rust-toolchain | 4 +- src/tools/rustfmt/src/attr.rs | 4 +- src/tools/rustfmt/src/bin/main.rs | 2 +- src/tools/rustfmt/src/cargo-fmt/main.rs | 12 +- src/tools/rustfmt/src/cargo-fmt/test/mod.rs | 4 +- src/tools/rustfmt/src/chains.rs | 124 +- src/tools/rustfmt/src/closures.rs | 3 +- src/tools/rustfmt/src/config/config_type.rs | 122 +- src/tools/rustfmt/src/config/macro_names.rs | 118 + src/tools/rustfmt/src/config/mod.rs | 149 +- src/tools/rustfmt/src/expr.rs | 14 +- src/tools/rustfmt/src/imports.rs | 4 +- src/tools/rustfmt/src/items.rs | 10 +- src/tools/rustfmt/src/lib.rs | 1 + src/tools/rustfmt/src/lists.rs | 16 +- src/tools/rustfmt/src/macros.rs | 26 +- src/tools/rustfmt/src/modules.rs | 13 +- src/tools/rustfmt/src/parse/parser.rs | 3 +- src/tools/rustfmt/src/parse/session.rs | 9 +- src/tools/rustfmt/src/skip.rs | 79 +- .../rustfmt/src/test/configuration_snippet.rs | 7 +- src/tools/rustfmt/src/test/mod.rs | 6 +- src/tools/rustfmt/src/types.rs | 44 +- src/tools/rustfmt/src/utils.rs | 6 +- src/tools/rustfmt/src/visitor.rs | 13 +- src/tools/rustfmt/tests/cargo-fmt/main.rs | 29 +- .../tests/cargo-fmt/source/issue_3164/Cargo.toml | 8 + .../tests/cargo-fmt/source/issue_3164/src/main.rs | 13 + src/tools/rustfmt/tests/config/small_tabs.toml | 2 +- .../issue-5198/lib/c/d/explanation.txt | 2 +- .../mod-resolver/issue-5198/lib/explanation.txt | 2 +- src/tools/rustfmt/tests/rustfmt/main.rs | 21 +- .../rustfmt/tests/source/cfg_if/detect/arch/x86.rs | 2 +- src/tools/rustfmt/tests/source/comments_unicode.rs | 140 + .../source/configs/fn_args_layout/compressed.rs | 16 - .../tests/source/configs/fn_args_layout/tall.rs | 16 - .../source/configs/fn_args_layout/vertical.rs | 16 - .../source/configs/fn_params_layout/compressed.rs | 16 + .../tests/source/configs/fn_params_layout/tall.rs | 16 + .../source/configs/fn_params_layout/vertical.rs | 16 + src/tools/rustfmt/tests/source/enum.rs | 2 +- src/tools/rustfmt/tests/source/fn-custom-7.rs | 2 +- src/tools/rustfmt/tests/source/fn-custom.rs | 2 +- .../tests/source/fn_args_layout-vertical.rs | 2 +- .../source/issue-3987/format_macro_bodies_true.rs | 26 + src/tools/rustfmt/tests/source/issue-4643.rs | 23 + src/tools/rustfmt/tests/source/issue-4689/one.rs | 149 + src/tools/rustfmt/tests/source/issue-4689/two.rs | 149 + src/tools/rustfmt/tests/source/issue_1306.rs | 29 + src/tools/rustfmt/tests/source/issue_3245.rs | 4 + src/tools/rustfmt/tests/source/issue_3561.rs | 6 + .../tests/source/skip_macro_invocations/all.rs | 11 + .../source/skip_macro_invocations/all_and_name.rs | 11 + .../tests/source/skip_macro_invocations/empty.rs | 11 + .../tests/source/skip_macro_invocations/name.rs | 11 + .../source/skip_macro_invocations/name_unknown.rs | 6 + .../tests/source/skip_macro_invocations/names.rs | 16 + .../path_qualified_invocation_mismatch.rs | 6 + .../skip_macro_invocations/path_qualified_match.rs | 6 + .../path_qualified_name_mismatch.rs | 6 + .../skip_macro_invocations/use_alias_examples.rs | 32 + src/tools/rustfmt/tests/source/tuple.rs | 2 +- ...omments_should_not_imply_format_doc_comments.rs | 2 +- .../rustfmt/tests/target/cfg_if/detect/arch/x86.rs | 2 +- src/tools/rustfmt/tests/target/comments_unicode.rs | 140 + .../target/configs/fn_args_layout/compressed.rs | 22 - .../tests/target/configs/fn_args_layout/tall.rs | 32 - .../target/configs/fn_args_layout/vertical.rs | 42 - .../target/configs/fn_params_layout/compressed.rs | 22 + .../tests/target/configs/fn_params_layout/tall.rs | 32 + .../target/configs/fn_params_layout/vertical.rs | 42 + src/tools/rustfmt/tests/target/enum.rs | 2 +- src/tools/rustfmt/tests/target/fn-custom-7.rs | 2 +- src/tools/rustfmt/tests/target/fn-custom.rs | 2 +- .../tests/target/fn_args_layout-vertical.rs | 2 +- .../issue-2534/format_macro_matchers_false.rs | 6 + .../issue-2534/format_macro_matchers_true.rs | 6 + .../target/issue-3987/format_macro_bodies_false.rs | 26 + .../target/issue-3987/format_macro_bodies_true.rs | 21 + src/tools/rustfmt/tests/target/issue-4643.rs | 19 + src/tools/rustfmt/tests/target/issue-4689/one.rs | 150 + src/tools/rustfmt/tests/target/issue-4689/two.rs | 152 + .../rustfmt/tests/target/issue-4791/issue_4928.rs | 2 +- src/tools/rustfmt/tests/target/issue-5358.rs | 4 + src/tools/rustfmt/tests/target/issue_1306.rs | 33 + src/tools/rustfmt/tests/target/issue_3033.rs | 2 + src/tools/rustfmt/tests/target/issue_3245.rs | 4 + src/tools/rustfmt/tests/target/issue_3561.rs | 7 + src/tools/rustfmt/tests/target/issue_4350.rs | 13 + src/tools/rustfmt/tests/target/issue_5668.rs | 8 + .../tests/target/skip_macro_invocations/all.rs | 11 + .../target/skip_macro_invocations/all_and_name.rs | 11 + .../tests/target/skip_macro_invocations/empty.rs | 11 + .../tests/target/skip_macro_invocations/name.rs | 11 + .../target/skip_macro_invocations/name_unknown.rs | 6 + .../tests/target/skip_macro_invocations/names.rs | 16 + .../path_qualified_invocation_mismatch.rs | 6 + .../skip_macro_invocations/path_qualified_match.rs | 6 + .../path_qualified_name_mismatch.rs | 6 + .../skip_macro_invocations/use_alias_examples.rs | 32 + src/tools/rustfmt/tests/target/tuple.rs | 2 +- ...omments_should_not_imply_format_doc_comments.rs | 2 +- src/tools/tidy/src/deps.rs | 9 +- src/tools/tidy/src/error_codes.rs | 26 +- src/tools/tidy/src/ui_tests.rs | 4 +- src/tools/x/Cargo.toml | 2 +- src/tools/x/src/main.rs | 74 +- src/version | 2 +- tests/assembly/align_offset.rs | 1 - tests/codegen/array-equality.rs | 30 +- tests/codegen/array-map.rs | 49 + tests/codegen/autovectorize-f32x4.rs | 13 +- tests/codegen/avr/avr-func-addrspace.rs | 25 + tests/codegen/consts.rs | 5 +- tests/codegen/debug-vtable.rs | 8 + tests/codegen/function-arguments-noopt.rs | 6 + tests/codegen/function-arguments.rs | 35 +- tests/codegen/inherit_overflow.rs | 14 + tests/codegen/instrument-xray/basic.rs | 9 + tests/codegen/instrument-xray/options-combine.rs | 12 + tests/codegen/instrument-xray/options-override.rs | 11 + tests/codegen/issue-75659.rs | 2 +- tests/codegen/merge-functions.rs | 1 - tests/codegen/move-operands.rs | 2 +- tests/codegen/option-as-slice.rs | 28 + tests/codegen/option-nonzero-eq.rs | 10 + tests/codegen/remap_path_prefix/main.rs | 2 +- .../sanitizer-kasan-emits-instrumentation.rs | 47 + ...simd-intrinsic-generic-arithmetic-saturating.rs | 166 +- .../simd-intrinsic-generic-bitmask.rs | 10 +- .../simd-intrinsic-generic-extract-insert.rs | 8 +- .../simd-intrinsic-transmute-array.rs | 3 - tests/codegen/simd_arith_offset.rs | 2 +- tests/codegen/slice-ref-equality.rs | 56 +- tests/codegen/sse42-implies-crc32.rs | 1 - tests/codegen/thread-local.rs | 1 + tests/codegen/uninit-consts.rs | 1 - tests/codegen/vec-in-place.rs | 1 - tests/debuginfo/captured-fields-1.rs | 3 +- tests/debuginfo/captured-fields-2.rs | 8 +- tests/debuginfo/embedded-visualizer.rs | 1 + tests/debuginfo/numeric-types.rs | 1 + tests/debuginfo/vec-slices.rs | 1 - ...76803_regression.encode.SimplifyBranchSame.diff | 29 - tests/mir-opt/76803_regression.rs | 19 - ...sync_await.a-{closure#0}.generator_resume.0.mir | 4 +- ...sync_await.b-{closure#0}.generator_resume.0.mir | 28 +- .../building/custom/arrays.arrays.built.after.mir | 14 + tests/mir-opt/building/custom/arrays.rs | 19 + tests/mir-opt/building/custom/enums.rs | 1 + .../custom/enums.set_discr.built.after.mir | 5 +- .../building/custom/operators.f.built.after.mir | 30 + tests/mir-opt/building/custom/operators.rs | 31 + tests/mir-opt/casts.redundant.InstCombine.diff | 25 + tests/mir-opt/casts.redundant.PreCodegen.after.mir | 14 + tests/mir-opt/casts.roundtrip.PreCodegen.after.mir | 15 + tests/mir-opt/casts.rs | 17 + ...e_of_primitives.{impl#0}-clone.InstCombine.diff | 5 +- ...const_allocation.main.ConstProp.after.32bit.mir | 16 +- ...const_allocation.main.ConstProp.after.64bit.mir | 16 +- .../const_debuginfo.main.ConstDebugInfo.diff | 34 +- ...nst_goto_storage.match_nested_if.ConstGoto.diff | 2 +- .../const_prop/aggregate.foo.ConstProp.diff | 55 + .../const_prop/aggregate.foo.PreCodegen.after.mir | 49 + .../const_prop/aggregate.main.ConstProp.diff | 40 +- .../const_prop/aggregate.main.PreCodegen.after.mir | 35 +- tests/mir-opt/const_prop/aggregate.rs | 9 + .../bad_op_div_by_zero.main.ConstProp.diff | 3 +- .../bad_op_mod_by_zero.main.ConstProp.diff | 18 +- ...unsafe_oob_for_slices.main.ConstProp.32bit.diff | 11 +- ...unsafe_oob_for_slices.main.ConstProp.64bit.diff | 11 +- .../boolean_identities.test.ConstProp.diff | 12 +- .../discriminant.main.ConstProp.32bit.diff | 11 +- .../discriminant.main.ConstProp.64bit.diff | 11 +- .../inherit_overflow.main.ConstProp.diff | 39 + tests/mir-opt/const_prop/inherit_overflow.rs | 9 + .../invalid_constant.main.ConstProp.diff | 6 +- .../const_prop/issue_66971.main.ConstProp.diff | 7 +- .../const_prop/issue_67019.main.ConstProp.diff | 9 +- .../const_prop/mult_by_zero.test.ConstProp.diff | 5 +- .../mutable_variable_aggregate.main.ConstProp.diff | 25 +- ..._variable_aggregate_mut_ref.main.ConstProp.diff | 14 +- ...able_variable_unprop_assign.main.ConstProp.diff | 10 +- ...timizes_into_variable.main.ConstProp.32bit.diff | 9 +- ...timizes_into_variable.main.ConstProp.64bit.diff | 9 +- ...s_into_variable.main.PreCodegen.after.32bit.mir | 4 +- ...s_into_variable.main.PreCodegen.after.64bit.mir | 4 +- ...e.main.ScalarReplacementOfAggregates.32bit.diff | 9 +- ...e.main.ScalarReplacementOfAggregates.64bit.diff | 9 +- ...iable.main.SimplifyLocals-final.after.32bit.mir | 4 +- ...iable.main.SimplifyLocals-final.after.64bit.mir | 4 +- .../const_prop/ref_deref.main.ConstProp.diff | 9 +- .../const_prop/ref_deref.main.PromoteTemps.diff | 30 - tests/mir-opt/const_prop/ref_deref.rs | 3 +- .../ref_deref_project.main.ConstProp.diff | 4 +- .../ref_deref_project.main.PromoteTemps.diff | 30 - tests/mir-opt/const_prop/ref_deref_project.rs | 3 +- .../scalar_literal_propagation.main.ConstProp.diff | 8 +- .../const_prop/slice_len.main.ConstProp.32bit.diff | 6 +- .../const_prop/slice_len.main.ConstProp.64bit.diff | 6 +- tests/mir-opt/const_prop/slice_len.rs | 3 +- .../tuple_literal_propagation.main.ConstProp.diff | 13 +- .../const_prop_miscompile.bar.ConstProp.diff | 37 +- .../const_prop_miscompile.foo.ConstProp.diff | 5 +- tests/mir-opt/const_prop_miscompile.rs | 1 + .../copy-prop/borrowed_local.f.CopyProp.diff | 34 + tests/mir-opt/copy-prop/borrowed_local.rs | 39 + tests/mir-opt/copy-prop/branch.foo.CopyProp.diff | 65 + tests/mir-opt/copy-prop/branch.rs | 27 + .../copy_propagation_arg.arg_src.CopyProp.diff | 21 + .../copy_propagation_arg.bar.CopyProp.diff | 28 + .../copy_propagation_arg.baz.CopyProp.diff | 18 + .../copy_propagation_arg.foo.CopyProp.diff | 28 + tests/mir-opt/copy-prop/copy_propagation_arg.rs | 40 + .../copy-prop/custom_move_arg.f.CopyProp.diff | 31 + tests/mir-opt/copy-prop/custom_move_arg.rs | 32 + tests/mir-opt/copy-prop/cycle.main.CopyProp.diff | 60 + tests/mir-opt/copy-prop/cycle.rs | 15 + .../dead_stores_79191.f.CopyProp.after.mir | 29 + tests/mir-opt/copy-prop/dead_stores_79191.rs | 17 + .../dead_stores_better.f.CopyProp.after.mir | 29 + tests/mir-opt/copy-prop/dead_stores_better.rs | 21 + .../copy-prop/issue_107511.main.CopyProp.diff | 138 + tests/mir-opt/copy-prop/issue_107511.rs | 13 + tests/mir-opt/copy-prop/move_arg.f.CopyProp.diff | 40 + tests/mir-opt/copy-prop/move_arg.rs | 15 + .../copy-prop/move_projection.f.CopyProp.diff | 31 + tests/mir-opt/copy-prop/move_projection.rs | 34 + .../mutate_through_pointer.f.CopyProp.diff | 19 + tests/mir-opt/copy-prop/mutate_through_pointer.rs | 32 + .../mir-opt/copy-prop/non_dominate.f.CopyProp.diff | 29 + tests/mir-opt/copy-prop/non_dominate.rs | 26 + .../checked.main.DataflowConstProp.diff | 2 +- .../enum.main.DataflowConstProp.diff | 61 - .../enum.multiple.DataflowConstProp.diff | 82 + ...enum.mutate_discriminant.DataflowConstProp.diff | 26 + tests/mir-opt/dataflow-const-prop/enum.rs | 61 +- .../enum.simple.DataflowConstProp.diff | 63 + .../inherit_overflow.main.DataflowConstProp.diff | 34 +- .../dataflow-const-prop/inherit_overflow.rs | 7 +- .../repr_transparent.main.DataflowConstProp.diff | 8 +- .../sibling_ptr.main.DataflowConstProp.diff | 6 +- tests/mir-opt/dataflow-const-prop/sibling_ptr.rs | 9 +- .../struct.main.DataflowConstProp.diff | 3 +- .../tuple.main.DataflowConstProp.diff | 8 +- .../deaggregator_test.bar.Deaggregator.diff | 21 - tests/mir-opt/deaggregator_test.rs | 17 - .../deaggregator_test_enum.bar.Deaggregator.diff | 20 - tests/mir-opt/deaggregator_test_enum.rs | 19 - tests/mir-opt/deaggregator_test_enum_2.rs | 21 - ...eaggregator_test_enum_2.test1.Deaggregator.diff | 45 - tests/mir-opt/deaggregator_test_multiple.rs | 17 - ...aggregator_test_multiple.test.Deaggregator.diff | 35 - ...iv_overflow.const_dividend.PreCodegen.after.mir | 2 +- ...div_overflow.const_divisor.PreCodegen.after.mir | 2 +- .../dont_yeet_assert.generic.InstCombine.diff | 23 + tests/mir-opt/dont_yeet_assert.rs | 11 + ...otherwise_branch.opt1.EarlyOtherwiseBranch.diff | 4 +- ...otherwise_branch.opt2.EarlyOtherwiseBranch.diff | 4 +- ...otherwise_branch.opt3.EarlyOtherwiseBranch.diff | 4 +- ..._3_element_tuple.opt1.EarlyOtherwiseBranch.diff | 5 +- ..._branch_68867.try_sum.EarlyOtherwiseBranch.diff | 30 +- ...e_branch_noopt.noopt1.EarlyOtherwiseBranch.diff | 4 +- tests/mir-opt/enum_opt.cand.EnumSizeOpt.32bit.diff | 68 + tests/mir-opt/enum_opt.cand.EnumSizeOpt.64bit.diff | 68 + .../enum_opt.invalid.EnumSizeOpt.32bit.diff | 28 + .../enum_opt.invalid.EnumSizeOpt.64bit.diff | 28 + tests/mir-opt/enum_opt.rs | 86 + .../mir-opt/enum_opt.trunc.EnumSizeOpt.32bit.diff | 37 + .../mir-opt/enum_opt.trunc.EnumSizeOpt.64bit.diff | 37 + tests/mir-opt/enum_opt.unin.EnumSizeOpt.32bit.diff | 68 + tests/mir-opt/enum_opt.unin.EnumSizeOpt.64bit.diff | 68 + ...arms.float_to_exponential_common.ConstProp.diff | 43 +- ...p_cleanup.main-{closure#0}.generator_drop.0.mir | 9 +- ...or_tiny.main-{closure#0}.generator_resume.0.mir | 13 +- tests/mir-opt/inline/cycle.f.Inline.diff | 2 +- .../mir-opt/inline/dyn_trait.get_query.Inline.diff | 4 +- .../inline/dyn_trait.try_execute_query.Inline.diff | 2 +- .../inline/inline_any_operand.bar.Inline.after.mir | 2 +- .../inline/inline_closure.foo.Inline.after.mir | 14 +- ...inline_closure_borrows_arg.foo.Inline.after.mir | 14 +- .../inline_closure_captures.foo.Inline.after.mir | 19 +- .../mir-opt/inline/inline_diverging.h.Inline.diff | 4 +- .../inline/inline_generator.main.Inline.diff | 78 +- .../inline/inline_into_box_place.main.Inline.diff | 4 +- .../inline_trait_method_2.test2.Inline.after.mir | 2 +- ...e_58867_inline_as_ref_as_mut.a.Inline.after.mir | 6 +- ...e_58867_inline_as_ref_as_mut.b.Inline.after.mir | 18 +- ...7_inline_scopes_parenting.main.Inline.after.mir | 14 +- tests/mir-opt/inline/issue_78442.bar.Inline.diff | 2 +- .../mir-opt/inline/issue_78442.bar.RevealAll.diff | 2 +- .../intrinsic_asserts.generic.InstCombine.diff | 42 + .../intrinsic_asserts.panics.InstCombine.diff | 47 + .../intrinsic_asserts.removable.InstCombine.diff | 45 + tests/mir-opt/intrinsic_asserts.rs | 28 + tests/mir-opt/issue_101973.inner.ConstProp.diff | 22 +- .../issue_41110.main.ElaborateDrops.after.mir | 70 - tests/mir-opt/issue_41110.main.ElaborateDrops.diff | 75 + tests/mir-opt/issue_41110.rs | 4 +- .../issue_41110.test.ElaborateDrops.after.mir | 101 - tests/mir-opt/issue_41110.test.ElaborateDrops.diff | 109 + .../issue_41888.main.ElaborateDrops.after.mir | 152 - tests/mir-opt/issue_41888.main.ElaborateDrops.diff | 158 + tests/mir-opt/issue_41888.rs | 2 +- .../issue_73223.main.SimplifyArmIdentity.diff | 156 - tests/mir-opt/issue_73223.rs | 12 - tests/mir-opt/issue_76432.rs | 1 + ...ssue_76432.test.SimplifyComparisonIntegral.diff | 18 +- .../issue_59352.num_to_digit.PreCodegen.after.mir | 14 +- .../issue_75439.foo.MatchBranchSimplification.diff | 7 +- ...er_array_len.array_bound.NormalizeArrayLen.diff | 6 +- ...rray_len.array_bound_mut.NormalizeArrayLen.diff | 6 +- ...ower_array_len.array_len.NormalizeArrayLen.diff | 6 +- ...y_len.array_len_by_value.NormalizeArrayLen.diff | 6 +- ..._array_len.array_len_raw.NormalizeArrayLen.diff | 50 + ...y_len.array_len_reborrow.NormalizeArrayLen.diff | 44 + tests/mir-opt/lower_array_len.rs | 16 + ..._array_len_e2e.array_bound.PreCodegen.after.mir | 45 - ...ay_len_e2e.array_bound_mut.PreCodegen.after.mir | 58 - ...er_array_len_e2e.array_len.PreCodegen.after.mir | 11 - ...len_e2e.array_len_by_value.PreCodegen.after.mir | 11 - tests/mir-opt/lower_array_len_e2e.rs | 39 - ...sics.f_copy_nonoverlapping.LowerIntrinsics.diff | 4 +- tests/mir-opt/lower_intrinsics.rs | 7 + ...r_intrinsics.with_overflow.LowerIntrinsics.diff | 83 + ...uce_branches.bar.MatchBranchSimplification.diff | 10 +- ...uce_branches.foo.MatchBranchSimplification.diff | 2 +- ....match_nested_if.MatchBranchSimplification.diff | 2 +- ...gned.main.SimplifyCfg-elaborate-drops.after.mir | 15 +- ..._storage_markers.main.RemoveStorageMarkers.diff | 4 +- .../remove_zsts.get_union.PreCodegen.after.mir | 5 +- .../mir-opt/remove_zsts.get_union.RemoveZsts.diff | 6 +- ...ray_casts.SimplifyCfg-elaborate-drops.after.mir | 10 +- ...etag.main.SimplifyCfg-elaborate-drops.after.mir | 15 +- ..._const_switch.identity.SeparateConstSwitch.diff | 116 +- ...nst_switch.too_complex.SeparateConstSwitch.diff | 48 +- ...imple_option_map_e2e.ezmap.PreCodegen.after.mir | 21 +- ...locals.d1.SimplifyLocals-before-const-prop.diff | 3 +- ...locals.d2.SimplifyLocals-before-const-prop.diff | 10 +- ...locals_fixedpoint.foo.SimplifyLocals-final.diff | 17 +- ...nsts.main.SimplifyLocals-before-const-prop.diff | 30 +- ...reads.map.SimplifyLocals-before-const-prop.diff | 7 +- tests/mir-opt/simplify_match.main.ConstProp.diff | 8 +- tests/mir-opt/slice_filter.rs | 18 + ...lice_filter.variant_a-{closure#0}.CopyProp.diff | 279 + ...riant_a-{closure#0}.DestinationPropagation.diff | 237 + ...lice_filter.variant_b-{closure#0}.CopyProp.diff | 139 + ...riant_b-{closure#0}.DestinationPropagation.diff | 109 + ...roa.constant.ScalarReplacementOfAggregates.diff | 46 + .../sroa.copies.ScalarReplacementOfAggregates.diff | 91 + ...roa.dropping.ScalarReplacementOfAggregates.diff | 14 +- .../sroa.enums.ScalarReplacementOfAggregates.diff | 4 +- ...roa.escaping.ScalarReplacementOfAggregates.diff | 47 +- .../sroa.flat.ScalarReplacementOfAggregates.diff | 21 +- ...a.ref_copies.ScalarReplacementOfAggregates.diff | 56 + tests/mir-opt/sroa.rs | 48 +- ...sroa.structs.ScalarReplacementOfAggregates.diff | 9 +- .../sroa.unions.ScalarReplacementOfAggregates.diff | 3 +- .../try_identity_e2e.new.PreCodegen.after.mir | 39 +- .../try_identity_e2e.old.PreCodegen.after.mir | 10 +- ...yCfg-after-uninhabited-enum-branching.after.mir | 6 +- ...um_branching.main.UninhabitedEnumBranching.diff | 6 +- ...yCfg-after-uninhabited-enum-branching.after.mir | 7 +- ...m_branching2.main.UninhabitedEnumBranching.diff | 7 +- ...em_types.Test-X-{constructor#0}.built.after.mir | 4 +- ...while_let_loops.change_loop_body.ConstProp.diff | 3 +- .../while_storage.while_loop.PreCodegen.after.mir | 22 +- tests/pretty/dollar-crate.pp | 4 +- tests/pretty/issue-4264.pp | 9 +- .../hotplug_codegen_backend/the_backend.rs | 2 + tests/run-make-fulldeps/issue-19371/foo.rs | 1 + .../run-make-fulldeps/issues-41478-43796/Makefile | 8 - tests/run-make-fulldeps/issues-41478-43796/a.rs | 9 - .../run-make-fulldeps/save-analysis-fail/Makefile | 6 - .../save-analysis-fail/SameDir.rs | 5 - .../save-analysis-fail/SameDir3.rs | 3 - .../save-analysis-fail/SubDir/mod.rs | 27 - tests/run-make-fulldeps/save-analysis-fail/foo.rs | 463 -- .../run-make-fulldeps/save-analysis-fail/krate2.rs | 8 - .../save-analysis-rfc2126/Makefile | 8 - .../save-analysis-rfc2126/extern_absolute_paths.rs | 6 - .../save-analysis-rfc2126/krate2.rs | 5 - .../save-analysis-rfc2126/validate_json.py | 7 - tests/run-make-fulldeps/save-analysis/Makefile | 6 - tests/run-make-fulldeps/save-analysis/SameDir.rs | 5 - tests/run-make-fulldeps/save-analysis/SameDir3.rs | 3 - .../run-make-fulldeps/save-analysis/SubDir/mod.rs | 27 - .../run-make-fulldeps/save-analysis/extra-docs.md | 1 - tests/run-make-fulldeps/save-analysis/foo.rs | 465 -- tests/run-make-fulldeps/save-analysis/krate2.rs | 8 - tests/run-make-fulldeps/split-debuginfo/Makefile | 4 +- .../type-mismatch-same-crate-name/Makefile | 2 +- tests/run-make/incremental-session-fail/Makefile | 2 +- .../run-make/native-link-modifier-bundle/Makefile | 5 + tests/run-make/no-input-file/Makefile | 4 + tests/run-make/no-input-file/no-input-file.stderr | 2 + tests/run-make/overwrite-input/Makefile | 13 + tests/run-make/overwrite-input/file.stderr | 6 + tests/run-make/overwrite-input/folder.stderr | 6 + tests/run-make/overwrite-input/main.rs | 1 + tests/run-make/overwrite-input/main.stderr | 6 + .../run-make/raw-dylib-inline-cross-dylib/Makefile | 10 +- .../rlib-format-packed-bundled-libs-2/Makefile | 5 + .../rlib-format-packed-bundled-libs-3/Makefile | 35 + .../rlib-format-packed-bundled-libs-3/main.rs | 5 + .../native_dep_1.c | 1 + .../native_dep_2.c | 1 + .../native_dep_3.c | 1 + .../native_dep_4.c | 1 + .../rlib-format-packed-bundled-libs-3/rust_dep.rs | 16 + .../rust_dep_cfg.rs | 10 + .../rlib-format-packed-bundled-libs/Makefile | 5 + tests/run-make/translation/Makefile | 18 +- tests/rustdoc-gui/code-tags.goml | 10 +- tests/rustdoc-gui/codeblock-tooltip.goml | 94 +- tests/rustdoc-gui/font-weight.goml | 9 +- tests/rustdoc-gui/help-page.goml | 3 +- .../rustdoc-gui/huge-collection-of-constants.goml | 4 +- tests/rustdoc-gui/item-summary-table.goml | 4 +- tests/rustdoc-gui/label-next-to-symbol.goml | 36 +- tests/rustdoc-gui/list_code_block.goml | 2 +- tests/rustdoc-gui/mobile.goml | 6 +- tests/rustdoc-gui/module-items-font.goml | 26 +- tests/rustdoc-gui/notable-trait.goml | 128 +- tests/rustdoc-gui/scrape-examples-color.goml | 36 + tests/rustdoc-gui/scrape-examples-layout.goml | 8 +- tests/rustdoc-gui/search-error.goml | 39 + tests/rustdoc-gui/search-result-display.goml | 4 +- tests/rustdoc-gui/settings.goml | 42 +- tests/rustdoc-gui/sidebar-mobile-scroll.goml | 6 +- tests/rustdoc-gui/sidebar-mobile.goml | 2 +- tests/rustdoc-gui/sidebar.goml | 10 +- tests/rustdoc-gui/src-font-size.goml | 10 +- tests/rustdoc-gui/src/test_docs/lib.rs | 16 +- tests/rustdoc-gui/theme-change.goml | 8 +- tests/rustdoc-gui/type-declation-overflow.goml | 18 +- tests/rustdoc-gui/unsafe-fn.goml | 6 +- tests/rustdoc-js-std/parser-errors.js | 34 +- tests/rustdoc-js-std/parser-filter.js | 47 +- tests/rustdoc-js-std/parser-ident.js | 40 +- tests/rustdoc-js-std/reference-shrink.js | 8 + tests/rustdoc-js-std/regex.js | 10 + tests/rustdoc-js-std/typed-query.js | 4 - tests/rustdoc-js/doc-alias.js | 2 - tests/rustdoc-js/macro-search.js | 10 + tests/rustdoc-js/macro-search.rs | 10 + tests/rustdoc-js/module-substring.js | 1 - .../reexport/same_name_different_types.rs | 25 + tests/rustdoc-ui/auxiliary/panic-handler.rs | 9 + tests/rustdoc-ui/bounded-hr-lifetime.stderr | 4 +- tests/rustdoc-ui/check-fail.rs | 1 + tests/rustdoc-ui/check-fail.stderr | 18 +- tests/rustdoc-ui/check.rs | 1 + tests/rustdoc-ui/check.stderr | 12 +- tests/rustdoc-ui/feature-gate-doc_cfg_hide.stderr | 4 +- ...ature-gate-rustdoc_missing_doc_code_examples.rs | 4 +- ...e-gate-rustdoc_missing_doc_code_examples.stderr | 14 +- tests/rustdoc-ui/impl-fn-nesting.stderr | 4 +- .../infinite-recursive-type-impl-trait-return.rs | 4 +- ...nfinite-recursive-type-impl-trait-return.stderr | 16 + .../infinite-recursive-type-impl-trait.rs | 5 +- .../infinite-recursive-type-impl-trait.stderr | 16 + tests/rustdoc-ui/intra-doc/errors.rs | 16 + tests/rustdoc-ui/intra-doc/errors.stderr | 14 +- tests/rustdoc-ui/intra-doc/import-inline-merge.rs | 16 + tests/rustdoc-ui/intra-doc/proc-macro-doc.rs | 27 + .../intra-doc/unknown-disambiguator.stderr | 32 +- .../intra-doc/unresolved-import-recovery.stderr | 4 +- tests/rustdoc-ui/issue-105742.rs | 21 - tests/rustdoc-ui/issue-105742.stderr | 362 +- tests/rustdoc-ui/issue-107918.rs | 12 + tests/rustdoc-ui/issue-61732.stderr | 4 +- tests/rustdoc-ui/lint-group.rs | 1 + tests/rustdoc-ui/lint-group.stderr | 20 +- tests/rustdoc-ui/proc_macro_bug.rs | 12 + tests/rustdoc-ui/proc_macro_bug.stderr | 8 + tests/rustdoc-ui/rustdoc-all-only-stable-lints.rs | 6 + tests/rustdoc-ui/track-diagnostics.stderr | 2 +- tests/rustdoc-ui/unable-fulfill-trait.stderr | 2 +- tests/rustdoc-ui/unknown-renamed-lints.stderr | 4 +- tests/rustdoc-ui/z-help.stdout | 361 +- tests/rustdoc/anchors.no_const_anchor.html | 2 +- tests/rustdoc/anchors.no_const_anchor2.html | 2 +- tests/rustdoc/anchors.no_method_anchor.html | 2 +- tests/rustdoc/anchors.no_trait_method_anchor.html | 2 +- tests/rustdoc/anchors.no_tymethod_anchor.html | 2 +- tests/rustdoc/anchors.no_type_anchor.html | 2 +- tests/rustdoc/anchors.no_type_anchor2.html | 2 +- tests/rustdoc/array-links.rs | 8 +- tests/rustdoc/assoc-consts.rs | 2 +- tests/rustdoc/assoc-item-cast.rs | 2 +- tests/rustdoc/assoc-types.rs | 12 +- tests/rustdoc/async-fn-opaque-item.rs | 15 + tests/rustdoc/async-fn.rs | 36 +- tests/rustdoc/attribute-rendering.rs | 2 +- tests/rustdoc/attributes.rs | 6 +- tests/rustdoc/auxiliary/inline-default-methods.rs | 12 + tests/rustdoc/auxiliary/issue-85454.rs | 2 +- tests/rustdoc/cfg_doc_reexport.rs | 4 +- tests/rustdoc/codeblock-title.rs | 2 +- tests/rustdoc/const-fn.rs | 4 +- tests/rustdoc/const-generics/add-impl.rs | 2 +- .../const-generics/const-generic-defaults.rs | 2 +- .../rustdoc/const-generics/const-generic-slice.rs | 2 +- .../rustdoc/const-generics/const-generics-docs.rs | 44 +- tests/rustdoc/const-generics/const-impl.rs | 12 +- .../rustdoc/const-generics/generic_const_exprs.rs | 2 +- tests/rustdoc/const-generics/type-alias.rs | 2 +- tests/rustdoc/const-intrinsic.rs | 6 +- tests/rustdoc/const-value-display.rs | 4 +- .../decl-trailing-whitespace.declaration.html | 24 +- tests/rustdoc/decl-trailing-whitespace.rs | 2 +- tests/rustdoc/deprecated.rs | 6 +- tests/rustdoc/description.rs | 6 + tests/rustdoc/doc-assoc-item.rs | 2 +- tests/rustdoc/doc-cfg.rs | 6 +- tests/rustdoc/doc-notable_trait.rs | 6 +- .../rustdoc/doc-notable_trait.some-struct-new.html | 2 +- tests/rustdoc/doc-notable_trait.wrap-me.html | 2 +- ...t-item-with-associated-const-in-where-clause.rs | 17 + tests/rustdoc/double-quote-escape.rs | 2 +- tests/rustdoc/duplicate-cfg.rs | 4 +- tests/rustdoc/duplicate_impls/issue-33054.rs | 4 +- tests/rustdoc/duplicated_impl.rs | 2 +- tests/rustdoc/empty-impl-block-private-with-doc.rs | 2 +- tests/rustdoc/empty-impl-block-private.rs | 2 +- tests/rustdoc/empty-impl-block.rs | 2 +- tests/rustdoc/fn-pointer-arg-name.rs | 2 +- tests/rustdoc/generic-associated-types/gats.rs | 4 +- tests/rustdoc/glob-shadowing-const.rs | 4 +- tests/rustdoc/glob-shadowing.rs | 18 +- tests/rustdoc/hidden-private.rs | 50 + .../hide-complex-unevaluated-const-arguments.rs | 2 +- tests/rustdoc/impl-in-const-block.rs | 43 + tests/rustdoc/impl-parts.rs | 2 +- tests/rustdoc/inline-default-methods.rs | 16 +- tests/rustdoc/inline_cross/dyn_trait.rs | 12 +- tests/rustdoc/inline_cross/impl_trait.rs | 32 +- tests/rustdoc/inline_cross/issue-24183.rs | 4 +- tests/rustdoc/inline_cross/issue-31948-1.rs | 4 +- tests/rustdoc/inline_cross/issue-31948-2.rs | 6 +- tests/rustdoc/inline_cross/issue-31948.rs | 6 +- tests/rustdoc/inline_cross/macros.rs | 4 +- tests/rustdoc/internal.rs | 6 +- tests/rustdoc/intra-doc/basic.rs | 29 +- tests/rustdoc/issue-107995.rs | 28 + tests/rustdoc/issue-108231.rs | 23 + tests/rustdoc/issue-108281.rs | 25 + tests/rustdoc/issue-20646.rs | 4 +- tests/rustdoc/issue-20727-2.rs | 12 +- tests/rustdoc/issue-20727-3.rs | 12 +- tests/rustdoc/issue-20727-4.rs | 20 +- tests/rustdoc/issue-20727.rs | 12 +- tests/rustdoc/issue-21474.rs | 2 +- tests/rustdoc/issue-22038.rs | 8 +- tests/rustdoc/issue-32374.rs | 6 +- tests/rustdoc/issue-33302.rs | 12 +- tests/rustdoc/issue-34928.rs | 2 +- tests/rustdoc/issue-45584.rs | 8 +- tests/rustdoc/issue-46377.rs | 2 +- tests/rustdoc/issue-50159.rs | 2 +- tests/rustdoc/issue-51236.rs | 2 +- tests/rustdoc/issue-53812.rs | 10 +- tests/rustdoc/issue-54705.rs | 4 +- tests/rustdoc/issue-55321.rs | 8 +- tests/rustdoc/issue-55364.rs | 8 +- tests/rustdoc/issue-56822.rs | 2 +- tests/rustdoc/issue-60726.rs | 4 +- tests/rustdoc/issue-76501.rs | 2 +- tests/rustdoc/issue-78673.rs | 8 +- ...ltiple-mods-w-same-name-doc-inline-last-item.rs | 2 +- ...e-83375-multiple-mods-w-same-name-doc-inline.rs | 2 +- tests/rustdoc/issue-85454.rs | 4 +- tests/rustdoc/issue-95873.rs | 2 +- tests/rustdoc/issue-98697.rs | 4 +- .../issue-99221-multiple-structs-w-same-name.rs | 2 +- .../issue-99734-multiple-foreigns-w-same-name.rs | 2 +- .../issue-99734-multiple-mods-w-same-name.rs | 2 +- .../item-desc-list-at-start.item-table.html | 1 + tests/rustdoc/item-desc-list-at-start.rs | 9 + tests/rustdoc/legacy-const-generic.rs | 4 +- tests/rustdoc/lifetime-name.rs | 2 +- tests/rustdoc/macro-higher-kinded-function.rs | 4 +- tests/rustdoc/markdown-summaries.rs | 27 - tests/rustdoc/mut-params.rs | 6 +- tests/rustdoc/negative-impl.rs | 4 +- tests/rustdoc/normalize-assoc-item.rs | 16 +- tests/rustdoc/playground-arg.rs | 2 +- tests/rustdoc/playground.rs | 6 +- tests/rustdoc/primitive-reference.rs | 2 +- tests/rustdoc/primitive-tuple-variadic.rs | 4 +- tests/rustdoc/pub-method.rs | 6 +- tests/rustdoc/range-arg-pattern.rs | 2 +- tests/rustdoc/redirect.rs | 3 +- tests/rustdoc/reexport-attr-merge.rs | 33 + tests/rustdoc/reexport-check.rs | 8 +- tests/rustdoc/reexport-dep-foreign-fn.rs | 2 +- tests/rustdoc/reexport-hidden-macro.rs | 22 + tests/rustdoc/reexport-macro.rs | 23 + tests/rustdoc/reexports-of-same-name.rs | 26 + tests/rustdoc/reexports-priv.rs | 48 +- tests/rustdoc/reexports.rs | 24 +- tests/rustdoc/rfc-2632-const-trait-impl.rs | 16 +- tests/rustdoc/safe-intrinsic.rs | 6 +- tests/rustdoc/short-docblock-codeblock.rs | 2 +- tests/rustdoc/short-docblock.rs | 10 +- tests/rustdoc/sidebar-links-to-foreign-impl.rs | 4 +- tests/rustdoc/slice-links.rs | 8 +- tests/rustdoc/spotlight-from-dependency.rs | 2 +- tests/rustdoc/struct-arg-pattern.rs | 2 +- tests/rustdoc/synthetic_auto/basic.rs | 4 +- tests/rustdoc/synthetic_auto/complex.rs | 2 +- tests/rustdoc/synthetic_auto/lifetimes.rs | 4 +- tests/rustdoc/synthetic_auto/manual.rs | 8 +- tests/rustdoc/synthetic_auto/negative.rs | 4 +- tests/rustdoc/synthetic_auto/nested.rs | 4 +- tests/rustdoc/synthetic_auto/no-redundancy.rs | 2 +- tests/rustdoc/synthetic_auto/project.rs | 4 +- tests/rustdoc/synthetic_auto/self-referential.rs | 2 +- tests/rustdoc/synthetic_auto/static-region.rs | 2 +- tests/rustdoc/test-parens.rs | 2 +- tests/rustdoc/toggle-item-contents.rs | 6 +- tests/rustdoc/trait_alias.rs | 6 +- tests/rustdoc/tuple-struct-fields-doc.rs | 2 +- tests/rustdoc/tuples.rs | 12 +- tests/rustdoc/typedef.rs | 4 +- tests/rustdoc/unit-return.rs | 8 +- tests/rustdoc/where-clause-order.rs | 2 +- tests/rustdoc/where-sized.rs | 4 +- tests/rustdoc/where.SWhere_Simd_item-decl.html | 4 +- .../rustdoc/where.SWhere_TraitWhere_item-decl.html | 19 +- tests/rustdoc/where.rs | 20 +- .../whitespace-after-where-clause.enum.html | 7 +- .../whitespace-after-where-clause.enum2.html | 6 +- tests/rustdoc/whitespace-after-where-clause.rs | 16 +- .../whitespace-after-where-clause.struct.html | 7 +- .../whitespace-after-where-clause.struct2.html | 6 +- .../whitespace-after-where-clause.trait.html | 6 +- .../whitespace-after-where-clause.trait2.html | 5 +- .../whitespace-after-where-clause.union.html | 5 +- .../whitespace-after-where-clause.union2.html | 4 +- tests/rustdoc/wrapping.rs | 4 +- tests/ui-fulldeps/auxiliary/issue-40001-plugin.rs | 4 +- tests/ui-fulldeps/create-dir-all-bare.rs | 11 - .../ui-fulldeps/dropck-tarena-cycle-checked.stderr | 2 + .../ui-fulldeps/dropck-tarena-unsound-drop.stderr | 2 + tests/ui-fulldeps/fluent-messages/duplicate.ftl | 3 + .../fluent-messages/label-with-hyphens.ftl | 2 +- .../fluent-messages/missing-crate-name.ftl | 2 +- .../fluent-messages/missing-message-ref.ftl | 1 + .../fluent-messages/missing-message.ftl | 2 +- .../fluent-messages/slug-with-hyphens.ftl | 2 +- tests/ui-fulldeps/fluent-messages/test.rs | 68 +- tests/ui-fulldeps/fluent-messages/test.stderr | 95 +- tests/ui-fulldeps/fluent-messages/valid.ftl | 2 +- tests/ui-fulldeps/internal-lints/diagnostics.ftl | 5 + tests/ui-fulldeps/internal-lints/diagnostics.rs | 16 +- .../ui-fulldeps/internal-lints/diagnostics.stderr | 12 +- .../ui-fulldeps/internal-lints/ty_tykind_usage.rs | 1 + .../internal-lints/ty_tykind_usage.stderr | 32 +- tests/ui-fulldeps/issue-15149.rs | 57 - .../issue-81357-unsound-file-methods.rs | 81 - tests/ui-fulldeps/mod_dir_path_canonicalized.rs | 5 +- tests/ui-fulldeps/pprust-expr-roundtrip.rs | 16 +- tests/ui-fulldeps/rename-directory.rs | 30 - .../session-diagnostic/diagnostic-derive.rs | 302 +- .../session-diagnostic/diagnostic-derive.stderr | 344 +- tests/ui-fulldeps/session-diagnostic/example.ftl | 5 + .../session-diagnostic/subdiagnostic-derive.rs | 160 +- .../session-diagnostic/subdiagnostic-derive.stderr | 281 +- tests/ui-fulldeps/std/issue-15149.rs | 57 + .../std/issue-81357-unsound-file-methods.rs | 81 + tests/ui-fulldeps/std/stdio-from.rs | 69 + tests/ui-fulldeps/std/switch-stdout.rs | 51 + tests/ui-fulldeps/stdio-from.rs | 69 - tests/ui-fulldeps/switch-stdout.rs | 51 - tests/ui/abi/stack-probes-lto.rs | 1 + tests/ui/abi/stack-probes.rs | 1 + .../alloc-error-handler-bad-signature-1.stderr | 2 +- .../alloc-error-handler-bad-signature-2.stderr | 8 +- .../alloc-error-handler-bad-signature-3.stderr | 6 +- tests/ui/argument-suggestions/basic.stderr | 9 +- tests/ui/argument-suggestions/exotic-calls.stderr | 36 +- tests/ui/argument-suggestions/extra_arguments.rs | 8 + .../ui/argument-suggestions/extra_arguments.stderr | 214 +- .../formal-and-expected-differ.stderr | 4 +- .../argument-suggestions/invalid_arguments.stderr | 48 +- tests/ui/argument-suggestions/issue-100154.stderr | 2 +- tests/ui/argument-suggestions/issue-100478.stderr | 2 +- tests/ui/argument-suggestions/issue-101097.stderr | 8 +- tests/ui/argument-suggestions/issue-97484.stderr | 13 +- tests/ui/argument-suggestions/mixed_cases.stderr | 17 +- tests/ui/argument-suggestions/too-long.stderr | 2 +- .../argument-suggestions/two-mismatch-notes.stderr | 5 +- tests/ui/array-slice-vec/array-not-vector.rs | 4 +- tests/ui/array-slice-vec/array-not-vector.stderr | 4 +- .../array-slice-vec/slice-to-vec-comparison.stderr | 2 +- tests/ui/asm/issue-72570.rs | 2 - tests/ui/asm/issue-72570.stderr | 2 +- tests/ui/asm/type-check-4.stderr | 6 +- .../associated-const-generic-obligations.stderr | 2 +- tests/ui/associated-consts/issue-105330.stderr | 2 +- tests/ui/associated-inherent-types/ambiguity.rs | 16 + .../ui/associated-inherent-types/ambiguity.stderr | 20 + .../bugs/ice-substitution.rs | 23 + .../bugs/ice-substitution.stderr | 6 + .../bugs/inference-fail.rs | 15 + .../bugs/inference-fail.stderr | 9 + .../bugs/lack-of-regionck.rs | 19 + .../dispatch-on-self-type-0.rs | 41 + .../dispatch-on-self-type-1.rs | 39 + .../dispatch-on-self-type-2.rs | 17 + .../dispatch-on-self-type-2.stderr | 19 + ...found-self-type-differs-shadowing-trait-item.rs | 31 + ...pe-differs-shadowing-trait-item.shadowed.stderr | 15 + ...e-differs-shadowing-trait-item.uncovered.stderr | 9 + .../not-found-self-type-differs.alias.stderr | 16 + .../not-found-self-type-differs.local.stderr | 16 + .../not-found-self-type-differs.rs | 22 + .../not-found-unsatisfied-bounds-0.rs | 21 + .../not-found-unsatisfied-bounds-0.stderr | 27 + .../not-found-unsatisfied-bounds-1.rs | 18 + .../not-found-unsatisfied-bounds-1.stderr | 14 + ...t-found-unsatisfied-bounds-in-multiple-impls.rs | 20 + ...und-unsatisfied-bounds-in-multiple-impls.stderr | 20 + .../associated-inherent-types/struct-generics.rs | 15 - .../substitute-params-bad.rs | 23 + .../substitute-params-bad.stderr | 20 + .../associated-inherent-types/substitute-params.rs | 23 + .../bad-universal-in-dyn-in-where-clause.rs | 14 + .../bad-universal-in-dyn-in-where-clause.stderr | 8 + .../bad-universal-in-impl-sig.rs | 13 + .../bad-universal-in-impl-sig.stderr | 8 + tests/ui/associated-type-bounds/elision.stderr | 6 +- tests/ui/associated-type-bounds/inside-adt.rs | 22 +- tests/ui/associated-type-bounds/inside-adt.stderr | 105 +- .../ui/associated-type-bounds/issue-71443-1.stderr | 2 +- ...sociated-type-projection-from-supertrait.stderr | 12 +- tests/ui/associated-types/associated-types-eq-3.rs | 2 +- .../associated-types/associated-types-eq-3.stderr | 2 +- .../associated-types/associated-types-eq-hr.stderr | 12 +- .../associated-types-outlives.stderr | 3 + .../defaults-in-other-trait-items.rs | 14 + .../defaults-in-other-trait-items.stderr | 17 +- .../associated-types/defaults-suitability.stderr | 6 +- .../hr-associated-type-bound-1.stderr | 2 +- .../hr-associated-type-bound-object.stderr | 2 +- .../hr-associated-type-bound-param-1.stderr | 2 +- .../hr-associated-type-bound-param-2.stderr | 6 +- .../hr-associated-type-bound-param-3.stderr | 2 +- .../hr-associated-type-bound-param-4.stderr | 2 +- .../hr-associated-type-bound-param-5.stderr | 4 +- .../hr-associated-type-projection-1.stderr | 6 +- tests/ui/associated-types/issue-26681.stderr | 4 +- tests/ui/associated-types/issue-38821.rs | 33 + tests/ui/associated-types/issue-38821.stderr | 22 + tests/ui/associated-types/issue-43924.stderr | 2 +- tests/ui/associated-types/issue-87261.rs | 6 +- tests/ui/associated-types/issue-87261.stderr | 6 +- .../point-at-type-on-obligation-failure-2.stderr | 4 +- .../async-await-let-else.drop_tracking.stderr | 106 + .../async-await-let-else.drop_tracking_mir.stderr | 100 + .../async-await-let-else.no_drop_tracking.stderr | 90 + tests/ui/async-await/async-await-let-else.rs | 6 +- ...sync-block-control-flow-static-semantics.stderr | 4 +- .../async-error-span.drop_tracking.stderr | 25 + .../async-error-span.drop_tracking_mir.stderr | 24 + .../async-error-span.no_drop_tracking.stderr | 25 + tests/ui/async-await/async-error-span.rs | 7 +- tests/ui/async-await/async-error-span.stderr | 25 - .../async-fn-nonsend.drop_tracking.stderr | 49 + .../async-fn-nonsend.drop_tracking_mir.stderr | 43 + .../async-fn-nonsend.no_drop_tracking.stderr | 120 + tests/ui/async-await/async-fn-nonsend.rs | 8 +- tests/ui/async-await/async-fn-nonsend.stderr | 12 +- tests/ui/async-await/async-fn-path-elision.stderr | 1 - tests/ui/async-await/default-struct-update.rs | 4 +- .../async-await/dont-suggest-missing-await.stderr | 12 +- tests/ui/async-await/drop-and-assign.rs | 4 +- ...track-field-assign-nonsend.drop_tracking.stderr | 25 + ...k-field-assign-nonsend.drop_tracking_mir.stderr | 23 + ...ck-field-assign-nonsend.no_drop_tracking.stderr | 25 + .../async-await/drop-track-field-assign-nonsend.rs | 4 +- .../drop-track-field-assign-nonsend.stderr | 25 - tests/ui/async-await/drop-track-field-assign.rs | 4 +- .../field-assign-nonsend.drop_tracking.stderr | 25 + .../field-assign-nonsend.drop_tracking_mir.stderr | 23 + .../field-assign-nonsend.no_drop_tracking.stderr | 25 + tests/ui/async-await/field-assign-nonsend.rs | 47 + tests/ui/async-await/field-assign.rs | 46 + .../async-await/future-sizes/async-awaiting-fut.rs | 24 + .../future-sizes/async-awaiting-fut.stdout | 72 + tests/ui/async-await/future-sizes/future-as-arg.rs | 16 + tests/ui/async-await/future-sizes/large-arg.rs | 18 + tests/ui/async-await/future-sizes/large-arg.stdout | 60 + tests/ui/async-await/generator-desc.stderr | 14 +- .../in-trait/async-default-fn-overridden.rs | 66 + .../in-trait/async-default-fn-overridden.stderr | 11 + .../async-example-desugared-boxed-in-trait.stderr | 2 +- .../dont-project-to-specializable-projection.rs | 71 + ...dont-project-to-specializable-projection.stderr | 19 + tests/ui/async-await/in-trait/fn-not-async-err2.rs | 2 +- .../async-await/in-trait/fn-not-async-err2.stderr | 2 +- .../in-trait/return-type-suggestion.stderr | 2 +- tests/ui/async-await/issue-61076.rs | 5 +- tests/ui/async-await/issue-61076.stderr | 17 +- .../issue-64130-1-sync.drop_tracking.stderr | 25 + .../issue-64130-1-sync.drop_tracking_mir.stderr | 22 + .../issue-64130-1-sync.no_drop_tracking.stderr | 25 + tests/ui/async-await/issue-64130-1-sync.rs | 4 + tests/ui/async-await/issue-64130-1-sync.stderr | 6 +- .../issue-64130-2-send.drop_tracking.stderr | 28 + .../issue-64130-2-send.drop_tracking_mir.stderr | 26 + .../issue-64130-2-send.no_drop_tracking.stderr | 28 + tests/ui/async-await/issue-64130-2-send.rs | 5 +- tests/ui/async-await/issue-64130-2-send.stderr | 6 +- .../issue-64130-3-other.drop_tracking.stderr | 27 + .../issue-64130-3-other.drop_tracking_mir.stderr | 25 + .../issue-64130-3-other.no_drop_tracking.stderr | 27 + tests/ui/async-await/issue-64130-3-other.rs | 5 +- tests/ui/async-await/issue-64130-3-other.stderr | 6 +- .../issue-64130-4-async-move.drop-tracking.stderr | 6 +- ...ssue-64130-4-async-move.no_drop_tracking.stderr | 6 +- tests/ui/async-await/issue-64130-4-async-move.rs | 8 +- ...issue-67252-unnamed-future.drop_tracking.stderr | 30 + ...e-67252-unnamed-future.drop_tracking_mir.stderr | 22 + ...ue-67252-unnamed-future.no_drop_tracking.stderr | 30 + tests/ui/async-await/issue-67252-unnamed-future.rs | 6 +- .../async-await/issue-67252-unnamed-future.stderr | 28 - .../async-await/issue-68112.drop_tracking.stderr | 3 + .../issue-68112.drop_tracking_mir.stderr | 80 + .../issue-68112.no_drop_tracking.stderr | 3 + tests/ui/async-await/issue-68112.rs | 8 +- .../async-await/issue-70818.drop_tracking.stderr | 18 + .../issue-70818.drop_tracking_mir.stderr | 18 + .../issue-70818.no_drop_tracking.stderr | 18 + tests/ui/async-await/issue-70818.rs | 3 + tests/ui/async-await/issue-70818.stderr | 4 +- ...ue-70935-complex-spans.drop_tracking_mir.stderr | 34 + tests/ui/async-await/issue-70935-complex-spans.rs | 8 +- ...741-type-err-drop-tracking.drop_tracking.stderr | 11 + ...type-err-drop-tracking.drop_tracking_mir.stderr | 11 + ...-type-err-drop-tracking.no_drop_tracking.stderr | 11 + .../issue-73741-type-err-drop-tracking.rs | 5 +- .../issue-73741-type-err-drop-tracking.stderr | 2 +- .../issue-74072-lifetime-name-annotations.stderr | 16 +- .../issue-75785-confusing-named-region.stderr | 4 +- .../async-await/issue-86507.drop_tracking.stderr | 23 + .../issue-86507.drop_tracking_mir.stderr | 23 + .../issue-86507.no_drop_tracking.stderr | 23 + tests/ui/async-await/issue-86507.rs | 3 + tests/ui/async-await/issue-86507.stderr | 23 - tests/ui/async-await/issue-93648.rs | 4 +- tests/ui/async-await/issue-98634.rs | 6 +- tests/ui/async-await/issue-98634.stderr | 33 +- .../ui/async-await/issues/auxiliary/issue_67893.rs | 3 + tests/ui/async-await/issues/issue-102206.stderr | 9 +- tests/ui/async-await/issues/issue-107280.rs | 15 + tests/ui/async-await/issues/issue-107280.stderr | 82 + tests/ui/async-await/issues/issue-62097.rs | 2 +- tests/ui/async-await/issues/issue-62097.stderr | 6 +- tests/ui/async-await/issues/issue-65159.rs | 2 +- tests/ui/async-await/issues/issue-65159.stderr | 2 +- ...-65436-raw-ptr-not-send.no_drop_tracking.stderr | 10 +- .../issues/issue-65436-raw-ptr-not-send.rs | 7 +- .../issues/issue-67611-static-mut-refs.rs | 4 + tests/ui/async-await/issues/issue-67893.stderr | 2 +- tests/ui/async-await/issues/issue-72312.stderr | 6 +- .../member-constraints-min-choice-issue-63033.rs | 10 + .../multiple-lifetimes/ret-impl-trait-one.stderr | 5 +- .../async-await/multiple-lifetimes/ret-ref.stderr | 12 +- ...sive-async-impl-trait-type.drop_tracking.stderr | 21 + ...-async-impl-trait-type.drop_tracking_mir.stderr | 21 + ...e-async-impl-trait-type.no_drop_tracking.stderr | 21 + .../mutually-recursive-async-impl-trait-type.rs | 4 + ...mutually-recursive-async-impl-trait-type.stderr | 4 +- tests/ui/async-await/no-const-async.stderr | 4 +- tests/ui/async-await/non-trivial-drop.rs | 4 +- .../async-await/proper-span-for-type-error.stderr | 2 +- ...sive-async-impl-trait-type.drop_tracking.stderr | 12 + ...-async-impl-trait-type.drop_tracking_mir.stderr | 12 + ...e-async-impl-trait-type.no_drop_tracking.stderr | 12 + .../async-await/recursive-async-impl-trait-type.rs | 3 + .../recursive-async-impl-trait-type.stderr | 2 +- tests/ui/async-await/send-bound-async-closure.rs | 37 + .../suggest-missing-await-closure.stderr | 12 +- tests/ui/async-await/suggest-missing-await.stderr | 59 +- .../unresolved_type_param.drop_tracking.stderr | 39 + .../unresolved_type_param.drop_tracking_mir.stderr | 14 + .../unresolved_type_param.no_drop_tracking.stderr | 63 + tests/ui/async-await/unresolved_type_param.rs | 38 +- tests/ui/async-await/unresolved_type_param.stderr | 12 +- .../ui/attributes/invalid_macro_export_argument.rs | 26 + .../invalid_macro_export_argument.stderr | 16 + tests/ui/attributes/key-value-expansion.stderr | 7 +- tests/ui/attributes/log-backtrace.rs | 4 +- tests/ui/attributes/rustc-box.rs | 18 + tests/ui/attributes/rustc-box.stderr | 34 + tests/ui/augmented-assignments.rs | 2 +- tests/ui/augmented-assignments.stderr | 2 + tests/ui/auto-traits/auto-trait-validation.stderr | 6 +- tests/ui/auto-traits/issue-23080-2.stderr | 2 +- tests/ui/auto-traits/issue-23080.stderr | 2 +- tests/ui/auto-traits/issue-84075.stderr | 2 +- .../auto-traits/str-contains-slice-conceptually.rs | 13 + .../str-contains-slice-conceptually.stderr | 16 + .../typeck-auto-trait-no-supertraits-2.stderr | 4 +- .../typeck-auto-trait-no-supertraits.stderr | 2 +- tests/ui/autoref-autoderef/issue-38940.stderr | 2 +- tests/ui/binding/issue-53114-safety-checks.rs | 4 - tests/ui/binding/issue-53114-safety-checks.stderr | 92 +- tests/ui/binop/binary-op-on-double-ref.fixed | 2 +- tests/ui/binop/binary-op-on-double-ref.rs | 2 +- tests/ui/binop/binary-op-on-double-ref.stderr | 2 +- tests/ui/binop/binop-move-semantics.stderr | 5 + tests/ui/binop/issue-28837.rs | 2 +- tests/ui/binop/issue-28837.stderr | 2 +- tests/ui/blind/blind-item-block-middle.stderr | 2 +- .../consider-removing-last-semi.stderr | 4 +- tests/ui/block-result/issue-13428.stderr | 4 +- tests/ui/block-result/issue-13624.rs | 4 +- tests/ui/block-result/issue-13624.stderr | 4 +- tests/ui/block-result/issue-22645.stderr | 2 +- tests/ui/block-result/issue-5500.rs | 2 +- tests/ui/block-result/issue-5500.stderr | 2 +- ...-or-patterns-slice-patterns-box-patterns.stderr | 8 +- tests/ui/borrowck/borrow-tuple-fields.stderr | 4 + .../borrowck/borrowck-anon-fields-variant.stderr | 4 +- tests/ui/borrowck/borrowck-assign-comp.stderr | 12 +- ...orrowck-assign-to-andmut-in-borrowed-loc.stderr | 6 +- .../borrowck/borrowck-bad-nested-calls-move.stderr | 5 + ...wck-borrow-mut-base-ptr-in-aliasable-loc.stderr | 8 +- .../borrowck/borrowck-closures-mut-and-imm.stderr | 16 +- tests/ui/borrowck/borrowck-describe-lvalue.stderr | 42 +- .../ui/borrowck/borrowck-field-sensitivity.stderr | 4 + ...ck-imm-ref-to-mut-rec-field-issue-3162-c.stderr | 4 +- tests/ui/borrowck/borrowck-issue-14498.stderr | 32 +- tests/ui/borrowck/borrowck-lend-flow-match.stderr | 4 +- .../borrowck/borrowck-loan-blocks-move-cc.stderr | 4 + tests/ui/borrowck/borrowck-loan-blocks-move.stderr | 2 + ...borrowck-loan-of-static-data-issue-27616.stderr | 4 +- .../borrowck-loan-rcvr-overloaded-op.stderr | 2 +- ...owck-local-borrow-with-panic-outlives-fn.stderr | 2 + .../borrowck-match-already-borrowed.stderr | 8 +- tests/ui/borrowck/borrowck-move-by-capture.stderr | 2 +- ...rowck-move-from-subpath-of-borrowed-path.stderr | 2 + .../ui/borrowck/borrowck-move-mut-base-ptr.stderr | 2 + .../ui/borrowck/borrowck-move-subcomponent.stderr | 2 + .../ui/borrowck/borrowck-multiple-captures.stderr | 6 + ...ck-overloaded-index-and-overloaded-deref.stderr | 4 +- .../borrowck-overloaded-index-autoderef.stderr | 16 +- .../borrowck-overloaded-index-move-index.stderr | 4 + .../borrowck/borrowck-pat-reassign-binding.stderr | 4 +- tests/ui/borrowck/borrowck-unary-move.stderr | 2 + .../borrowck/borrowck-union-borrow-nested.stderr | 2 +- tests/ui/borrowck/borrowck-union-borrow.stderr | 20 +- tests/ui/borrowck/borrowck-use-mut-borrow.stderr | 18 +- .../borrowck/borrowck-vec-pattern-move-tail.stderr | 4 +- tests/ui/borrowck/borrowck-vec-pattern-nesting.rs | 8 +- .../borrowck/borrowck-vec-pattern-nesting.stderr | 8 +- tests/ui/borrowck/issue-103624.rs | 2 +- tests/ui/borrowck/issue-103624.stderr | 6 +- tests/ui/borrowck/issue-25793.stderr | 2 +- tests/ui/borrowck/issue-52713-bug.stderr | 4 +- .../issue-58776-borrowck-scans-children.stderr | 4 +- tests/ui/borrowck/issue-81365-1.stderr | 4 +- tests/ui/borrowck/issue-81365-10.stderr | 4 +- tests/ui/borrowck/issue-81365-11.stderr | 4 +- tests/ui/borrowck/issue-81365-2.stderr | 4 +- tests/ui/borrowck/issue-81365-3.stderr | 4 +- tests/ui/borrowck/issue-81365-4.stderr | 4 +- tests/ui/borrowck/issue-81365-5.stderr | 4 +- tests/ui/borrowck/issue-81365-6.stderr | 4 +- tests/ui/borrowck/issue-81365-7.stderr | 4 +- tests/ui/borrowck/issue-81365-8.stderr | 4 +- tests/ui/borrowck/issue-81365-9.stderr | 4 +- .../issue-82126-mismatched-subst-and-hir.rs | 4 +- .../issue-82126-mismatched-subst-and-hir.stderr | 4 +- tests/ui/borrowck/issue-83924.fixed | 20 + tests/ui/borrowck/issue-83924.rs | 20 + tests/ui/borrowck/issue-83924.stderr | 22 + tests/ui/borrowck/issue-85765.rs | 6 +- tests/ui/borrowck/issue-85765.stderr | 24 +- tests/ui/borrowck/issue-91206.rs | 2 +- tests/ui/borrowck/issue-91206.stderr | 8 +- tests/ui/borrowck/issue-92015.stderr | 7 +- ...ssue-95079-missing-move-in-nested-closure.fixed | 26 + .../issue-95079-missing-move-in-nested-closure.rs | 12 + ...sue-95079-missing-move-in-nested-closure.stderr | 31 +- ...low-access-during-reservation.nll_target.stderr | 4 +- .../borrowck/two-phase-surprise-no-conflict.stderr | 2 +- tests/ui/bounds-lifetime.stderr | 11 +- tests/ui/box/issue-82446.stderr | 2 +- tests/ui/box/leak-alloc.stderr | 2 + tests/ui/btreemap/btreemap_dropck.stderr | 2 + tests/ui/c-variadic/variadic-ffi-1.stderr | 2 + tests/ui/c-variadic/variadic-ffi-4.stderr | 4 +- tests/ui/check-cfg/invalid-cfg-value.stderr | 4 +- .../expect-infer-var-appearing-twice.stderr | 2 +- .../diagnostics/arrays.stderr | 14 +- .../2229_closure_analysis/diagnostics/box.stderr | 8 +- .../diagnostics/repr_packed.rs | 1 - .../diagnostics/repr_packed.stderr | 20 +- .../2229_closure_analysis/diagnostics/union.rs | 4 +- .../2229_closure_analysis/diagnostics/union.stderr | 4 +- .../closures/2229_closure_analysis/issue_88118.rs | 5 +- .../migrations/auto_traits.fixed | 4 +- .../migrations/auto_traits.rs | 4 +- .../migrations/auto_traits.stderr | 4 +- .../migrations/multi_diagnostics.fixed | 2 +- .../migrations/multi_diagnostics.rs | 2 +- .../migrations/multi_diagnostics.stderr | 2 +- tests/ui/closures/binder/const-bound.rs | 7 + tests/ui/closures/binder/const-bound.stderr | 17 + tests/ui/closures/binder/disallow-const.stderr | 6 +- tests/ui/closures/binder/disallow-ty.stderr | 6 +- tests/ui/closures/binder/type-bound-2.rs | 7 + tests/ui/closures/binder/type-bound-2.stderr | 17 + tests/ui/closures/binder/type-bound.rs | 7 + tests/ui/closures/binder/type-bound.stderr | 17 + tests/ui/closures/issue-78720.stderr | 2 +- tests/ui/coercion/coerce-block-tail-26978.stderr | 2 +- tests/ui/coercion/coerce-block-tail-57749.stderr | 2 +- tests/ui/coercion/coerce-block-tail-83783.stderr | 2 +- tests/ui/coercion/coerce-block-tail-83850.stderr | 2 +- tests/ui/coercion/coerce-block-tail.stderr | 2 +- .../coercion/coerce-expect-unsized-ascribed.stderr | 28 +- .../coerce-overloaded-autoderef-fail.stderr | 4 +- tests/ui/coercion/coerce-to-bang.stderr | 2 +- .../coercion-missing-tail-expected-type.stderr | 2 +- tests/ui/coercion/coercion-slice.rs | 2 +- tests/ui/coercion/coercion-slice.stderr | 2 +- ...herence-impl-trait-for-marker-trait-negative.rs | 23 +- ...nce-impl-trait-for-marker-trait-negative.stderr | 42 +- ...herence-impl-trait-for-marker-trait-positive.rs | 23 +- ...nce-impl-trait-for-marker-trait-positive.stderr | 42 +- tests/ui/coherence/issue-85026.stderr | 8 +- tests/ui/coinduction/canonicalization-rerun.rs | 54 + tests/ui/command/command-setgroups.rs | 1 + tests/ui/compare-method/bad-self-type.stderr | 6 +- .../cfg-generic-params.stderr | 46 +- .../ui/confuse-field-and-method/issue-33784.stderr | 4 +- tests/ui/const-generics/bad-const-generic-exprs.rs | 34 +- .../const-generics/bad-const-generic-exprs.stderr | 106 +- .../const-argument-non-static-lifetime.min.stderr | 2 +- .../const-argument-non-static-lifetime.rs | 1 - .../const-param-elided-lifetime.min.stderr | 10 +- .../const-generics/const-param-elided-lifetime.rs | 10 +- ...nst-param-type-depends-on-type-param-ungated.rs | 3 - ...param-type-depends-on-type-param-ungated.stderr | 2 +- tests/ui/const-generics/defaults/mismatch.stderr | 10 +- tests/ui/const-generics/defaults/wfness.stderr | 2 +- .../early/invalid-const-arguments.stderr | 9 +- .../ui/const-generics/ensure_is_evaluatable.stderr | 2 +- .../const-generics/fn_with_two_const_inputs.stderr | 2 +- .../const_kind_expr/relate_binop_arg_tys.rs | 18 + .../const_kind_expr/relate_binop_arg_tys.stderr | 20 + .../const_kind_expr/relate_cast_arg_ty.rs | 12 + .../const_kind_expr/relate_cast_arg_ty.stderr | 20 + .../const_kind_expr/relate_ty_with_infer_1.rs | 30 + .../const_kind_expr/relate_ty_with_infer_2.rs | 151 + .../generic_const_exprs/issue-102768.rs | 4 +- .../generic_const_exprs/issue-102768.stderr | 4 +- .../generic_const_exprs/issue-105608.stderr | 2 +- .../issue-72819-generic-in-const-eval.full.stderr | 4 +- .../generic_const_exprs/issue-76595.stderr | 2 +- ...79518-default_trait_method_normalization.stderr | 2 +- .../generic_const_exprs/obligation-cause.stderr | 2 +- .../single-satisfied-ConstEvaluatable-in-probe.rs | 39 + .../incorrect-number-of-const-args.stderr | 4 +- tests/ui/const-generics/infer/method-chain.stderr | 2 +- .../const-generics/infer/uninferred-consts.stderr | 2 +- .../invalid-const-arg-for-type-param.rs | 4 +- .../invalid-const-arg-for-type-param.stderr | 4 +- .../ui/const-generics/invalid-constant-in-args.rs | 2 +- .../const-generics/invalid-constant-in-args.stderr | 2 +- tests/ui/const-generics/issues/issue-105821.rs | 23 + .../const-generics/issues/issue-56445-1.min.stderr | 2 +- tests/ui/const-generics/issues/issue-56445-1.rs | 2 +- .../ui/const-generics/issues/issue-67185-2.stderr | 8 +- .../issues/issue-67945-1.full.stderr | 2 +- tests/ui/const-generics/issues/issue-73260.rs | 1 - tests/ui/const-generics/issues/issue-73260.stderr | 12 +- tests/ui/const-generics/issues/issue-79674.stderr | 2 +- tests/ui/const-generics/issues/issue-86530.stderr | 2 +- tests/ui/const-generics/issues/issue-87493.rs | 2 +- tests/ui/const-generics/issues/issue-87493.stderr | 2 +- .../min_const_generics/macro-fail.stderr | 23 +- tests/ui/const-generics/nested-type.min.stderr | 11 +- tests/ui/const-generics/nested-type.rs | 2 +- .../occurs-check/unused-substs-1.stderr | 2 +- .../parser-error-recovery/issue-89013-no-kw.rs | 2 +- .../parser-error-recovery/issue-89013-no-kw.stderr | 2 +- .../parser-error-recovery/issue-89013.rs | 2 +- .../parser-error-recovery/issue-89013.stderr | 2 +- tests/ui/const-generics/type_mismatch.stderr | 2 +- tests/ui/const-generics/type_not_in_scope.stderr | 2 +- .../types-mismatch-const-args.full.stderr | 4 +- .../types-mismatch-const-args.min.stderr | 4 +- .../const-generics/unify_with_nested_expr.stderr | 2 +- tests/ui/const-generics/wrong-normalization.rs | 19 + tests/ui/const-generics/wrong-normalization.stderr | 11 + tests/ui/constructor-lifetime-args.rs | 8 +- tests/ui/constructor-lifetime-args.stderr | 8 +- tests/ui/consts/array-literal-len-mismatch.rs | 4 + tests/ui/consts/array-literal-len-mismatch.stderr | 11 + tests/ui/consts/const-array-oob-arith.stderr | 8 +- tests/ui/consts/const-err-late.stderr | 12 - .../ui/consts/const-eval/const-eval-query-stack.rs | 3 +- .../const-eval/const-eval-query-stack.stderr | 2 +- tests/ui/consts/const-eval/const-eval-span.rs | 2 +- tests/ui/consts/const-eval/const-eval-span.stderr | 2 +- tests/ui/consts/const-eval/infinite_loop.stderr | 9 +- tests/ui/consts/const-eval/issue-52475.rs | 4 +- tests/ui/consts/const-eval/issue-52475.stderr | 9 +- .../consts/const-eval/issue-91827-extern-types.rs | 5 +- tests/ui/consts/const-eval/raw-bytes.32bit.stderr | 4 +- tests/ui/consts/const-eval/raw-bytes.64bit.stderr | 4 +- .../const-eval/stable-metric/ctfe-fn-call.rs | 36 + .../const-eval/stable-metric/ctfe-fn-call.stderr | 20 + .../const-eval/stable-metric/ctfe-labelled-loop.rs | 19 + .../stable-metric/ctfe-labelled-loop.stderr | 30 + .../const-eval/stable-metric/ctfe-recursion.rs | 16 + .../const-eval/stable-metric/ctfe-recursion.stderr | 25 + .../const-eval/stable-metric/ctfe-simple-loop.rs | 15 + .../stable-metric/ctfe-simple-loop.stderr | 24 + .../stable-metric/dominators-edge-case.rs | 19 + tests/ui/consts/const-eval/ub-ref-ptr.stderr | 4 +- .../validate_uninhabited_zsts.32bit.stderr | 10 +- .../validate_uninhabited_zsts.64bit.stderr | 10 +- tests/ui/consts/const-tup-index-span.rs | 2 +- tests/ui/consts/const-tup-index-span.stderr | 2 +- .../const_limit/const_eval_limit_reached.stderr | 9 +- .../consts/ct-var-in-collect_all_mismatches.stderr | 2 +- tests/ui/consts/gate-do-not-const-check.rs | 5 + tests/ui/consts/gate-do-not-const-check.stderr | 11 + tests/ui/consts/issue-33903.rs | 10 + tests/ui/consts/issue-54582.rs | 16 + tests/ui/consts/nested_erroneous_ctfe.stderr | 2 +- tests/ui/consts/promote_const_let.stderr | 1 + tests/ui/cross/cross-borrow-trait.stderr | 2 +- tests/ui/deprecation/deprecation-lint.rs | 96 +- tests/ui/deprecation/deprecation-lint.stderr | 140 +- ...ssue-84637-deprecated-associated-function.fixed | 4 +- .../issue-84637-deprecated-associated-function.rs | 4 +- ...sue-84637-deprecated-associated-function.stderr | 8 +- tests/ui/deprecation/suggestion.stderr | 4 +- tests/ui/deref-patterns/gate.stderr | 2 +- tests/ui/derives/deriving-copyclone.stderr | 24 +- tests/ui/derives/deriving-with-repr-packed-2.rs | 20 + .../ui/derives/deriving-with-repr-packed-2.stderr | 33 + tests/ui/derives/deriving-with-repr-packed.rs | 53 +- tests/ui/derives/deriving-with-repr-packed.stderr | 138 +- tests/ui/deriving/deriving-all-codegen.rs | 85 +- tests/ui/deriving/deriving-all-codegen.stderr | 63 + tests/ui/deriving/deriving-all-codegen.stdout | 570 +- tests/ui/destructure-trait-ref.stderr | 6 +- .../default-match-bindings-forbidden.stderr | 2 +- tests/ui/diagnostic-flags/terminal_urls.rs | 4 + tests/ui/diagnostic-flags/terminal_urls.stderr | 11 + tests/ui/diagnostic-width/long-E0308.stderr | 8 +- .../brackets-to-braces-single-element.stderr | 6 +- .../did_you_mean/compatible-variants-in-pat.stderr | 6 +- tests/ui/did_you_mean/compatible-variants.stderr | 26 +- tests/ui/did_you_mean/issue-42764.stderr | 4 +- .../issue-46718-struct-pattern-dotdotdot.stderr | 7 +- tests/ui/did_you_mean/println-typo.rs | 6 + tests/ui/did_you_mean/println-typo.stderr | 11 + tests/ui/did_you_mean/recursion_limit_deref.stderr | 2 +- tests/ui/disambiguate-identical-names.stderr | 2 +- tests/ui/diverging-fn-tail-35849.stderr | 2 +- tests/ui/drop/issue-2735-2.rs | 27 + tests/ui/drop/issue-2735-3.rs | 27 + tests/ui/drop/issue-2735.rs | 22 + tests/ui/dropck/drop-with-active-borrows-1.stderr | 2 + .../ui/dropck/dropck-eyepatch-extern-crate.stderr | 6 + tests/ui/dropck/dropck-eyepatch-reorder.stderr | 6 + tests/ui/dropck/dropck-eyepatch.stderr | 6 + tests/ui/dropck/dropck-union.stderr | 2 + tests/ui/dropck/dropck_trait_cycle_checked.stderr | 12 +- tests/ui/dst/dst-bad-assign-3.rs | 2 +- tests/ui/dst/dst-bad-assign-3.stderr | 2 +- tests/ui/dst/dst-bad-assign.rs | 2 +- tests/ui/dst/dst-bad-assign.stderr | 2 +- tests/ui/dst/dst-bad-coerce1.stderr | 4 +- tests/ui/dst/dst-bad-coerce3.stderr | 10 +- tests/ui/dst/dst-bad-coerce4.rs | 4 +- tests/ui/dst/dst-bad-coerce4.stderr | 4 +- tests/ui/dyn-star/align.over_aligned.stderr | 6 +- tests/ui/dyn-star/align.rs | 2 +- .../dyn-star/check-size-at-cast-polymorphic-bad.rs | 2 +- .../check-size-at-cast-polymorphic-bad.stderr | 10 +- tests/ui/dyn-star/check-size-at-cast.rs | 2 +- tests/ui/dyn-star/check-size-at-cast.stderr | 6 +- tests/ui/dyn-star/dyn-star-to-dyn.rs | 14 +- tests/ui/dyn-star/llvm-old-style-ptrs.rs | 23 + tests/ui/dyn-star/no-implicit-dyn-star.stderr | 2 +- tests/ui/dyn-star/upcast.stderr | 6 +- tests/ui/empty/empty-struct-braces-expr.stderr | 4 +- tests/ui/empty/issue-37026.stderr | 4 +- tests/ui/error-codes/E0057.stderr | 9 +- tests/ui/error-codes/E0071.rs | 2 +- tests/ui/error-codes/E0071.stderr | 2 +- tests/ui/error-codes/E0107.rs | 20 +- tests/ui/error-codes/E0107.stderr | 20 +- tests/ui/error-codes/E0116.stderr | 2 +- tests/ui/error-codes/E0118.stderr | 4 +- tests/ui/error-codes/E0208.rs | 2 +- tests/ui/error-codes/E0208.stderr | 2 +- tests/ui/error-codes/E0390.stderr | 8 +- tests/ui/error-codes/E0476.rs | 13 + tests/ui/error-codes/E0476.stderr | 31 + tests/ui/error-codes/E0503.stderr | 2 +- tests/ui/error-codes/E0504.stderr | 2 + tests/ui/error-codes/E0505.stderr | 3 + tests/ui/error-codes/E0506.stderr | 4 +- tests/ui/error-codes/E0520.stderr | 2 +- tests/ui/error-codes/E0523.rs | 14 + tests/ui/error-codes/E0523.stderr | 13 + tests/ui/error-codes/E0597.stderr | 2 + tests/ui/error-codes/E0624.rs | 2 +- tests/ui/error-codes/E0624.stderr | 6 +- tests/ui/error-codes/E0789.rs | 12 + tests/ui/error-codes/E0789.stderr | 15 + .../trait-bound-error-spans/blame-trait-error.rs | 102 + .../blame-trait-error.stderr | 402 ++ .../traits/blame-trait-error-spans-on-exprs.rs | 137 + .../traits/blame-trait-error-spans-on-exprs.stderr | 412 ++ tests/ui/explore-issue-38412.stderr | 36 +- .../missing_braces_around_block.fixed | 9 +- .../missing_braces_around_block.rs | 9 +- .../missing_braces_around_block.stderr | 33 +- tests/ui/extenv/extenv-not-defined-default.rs | 4 +- tests/ui/extenv/extenv-not-defined-default.stderr | 7 +- tests/ui/extenv/issue-55897.stderr | 3 +- tests/ui/extern/extern-types-distinct-types.stderr | 2 +- .../feature-gate-associated_type_bounds.rs | 3 - .../feature-gate-associated_type_bounds.stderr | 40 +- .../feature-gate-dispatch-from-dyn-cell.rs | 9 + .../feature-gate-dispatch-from-dyn-cell.stderr | 12 + .../feature-gate-dispatch-from-dyn-missing-impl.rs | 35 + ...ture-gate-dispatch-from-dyn-missing-impl.stderr | 45 + ...ature-gate-impl_trait_in_fn_trait_return.stderr | 4 +- .../feature-gate-multiple_supertrait_upcastable.rs | 12 + ...ture-gate-multiple_supertrait_upcastable.stderr | 57 + .../feature-gate-non_lifetime_binders.rs | 4 + .../feature-gate-non_lifetime_binders.stderr | 12 + ...gate-return_position_impl_trait_in_trait.stderr | 6 +- .../feature-gate-trivial_bounds.stderr | 2 +- tests/ui/ffi_const.rs | 10 + tests/ui/ffi_const.stderr | 14 +- tests/ui/ffi_pure.rs | 10 + tests/ui/ffi_pure.stderr | 14 +- tests/ui/ffi_returns_twice.rs | 10 + tests/ui/ffi_returns_twice.stderr | 14 +- tests/ui/fmt/format-string-wrong-order.rs | 15 + tests/ui/fmt/format-string-wrong-order.stderr | 54 + tests/ui/fmt/ifmt-bad-arg.stderr | 4 +- tests/ui/fmt/ifmt-unimpl.stderr | 2 +- tests/ui/fmt/issue-75307.rs | 3 + tests/ui/fmt/issue-75307.stderr | 8 + tests/ui/fmt/respanned-literal-issue-106191.rs | 2 +- tests/ui/fmt/send-sync.stderr | 4 +- tests/ui/fn/fn-compare-mismatch.stderr | 2 + tests/ui/fn/fn-item-type.rs | 38 +- tests/ui/fn/fn-item-type.stderr | 53 +- tests/ui/fn/fn-pointer-mismatch.rs | 56 + tests/ui/fn/fn-pointer-mismatch.stderr | 91 + tests/ui/fn/fn-trait-formatting.stderr | 6 +- .../implied-bounds-unnorm-associated-type-4.stderr | 2 + .../implied-bounds-unnorm-associated-type.stderr | 2 + tests/ui/fn/issue-3044.stderr | 2 +- .../fn/signature-error-reporting-under-verbose.rs | 3 +- .../signature-error-reporting-under-verbose.stderr | 3 +- tests/ui/for/for-else-err.rs | 8 + tests/ui/for/for-else-err.stderr | 17 + tests/ui/for/for-else-let-else-err.rs | 8 + tests/ui/for/for-else-let-else-err.stderr | 17 + .../fully-qualified-type-name1.rs | 2 +- .../fully-qualified-type-name1.stderr | 2 +- .../fully-qualified-type-name2.rs | 2 +- .../fully-qualified-type-name2.stderr | 8 +- .../fully-qualified-type-name4.rs | 2 +- .../fully-qualified-type-name4.stderr | 2 +- tests/ui/function-pointer/unsized-ret.stderr | 2 +- .../ui/functions-closures/fn-help-with-err.stderr | 2 +- tests/ui/generator/addassign-yield.rs | 3 + .../auto-trait-regions.drop_tracking.stderr | 47 + .../auto-trait-regions.drop_tracking_mir.stderr | 47 + .../auto-trait-regions.no_drop_tracking.stderr | 47 + tests/ui/generator/auto-trait-regions.rs | 3 + tests/ui/generator/auto-trait-regions.stderr | 8 +- tests/ui/generator/borrowing.drop_tracking.stderr | 31 + .../generator/borrowing.drop_tracking_mir.stderr | 39 + .../ui/generator/borrowing.no_drop_tracking.stderr | 31 + tests/ui/generator/borrowing.rs | 4 + tests/ui/generator/borrowing.stderr | 4 +- ...tracking-parent-expression.drop_tracking.stderr | 128 + ...king-parent-expression.drop_tracking_mir.stderr | 122 + ...cking-parent-expression.no_drop_tracking.stderr | 334 + .../generator/drop-tracking-parent-expression.rs | 12 +- .../drop-tracking-parent-expression.stderr | 128 - .../drop-tracking-yielding-in-match-guards.rs | 4 +- tests/ui/generator/dropck.stderr | 3 + .../generator-yielding-or-returning-itself.stderr | 4 +- tests/ui/generator/issue-102645.stderr | 2 +- .../issue-105084.drop_tracking_mir.stderr | 51 + tests/ui/generator/issue-105084.rs | 49 + .../generator/issue-57017.no_drop_tracking.stderr | 248 + tests/ui/generator/issue-57017.rs | 14 +- .../generator/issue-57478.no_drop_tracking.stderr | 31 + tests/ui/generator/issue-57478.rs | 8 +- .../ui/generator/issue-68112.drop_tracking.stderr | 66 + .../generator/issue-68112.drop_tracking_mir.stderr | 61 + .../generator/issue-68112.no_drop_tracking.stderr | 66 + tests/ui/generator/issue-68112.rs | 11 +- tests/ui/generator/issue-68112.stderr | 64 - tests/ui/generator/issue-93161.rs | 4 +- .../generator/not-send-sync.drop_tracking.stderr | 60 + .../not-send-sync.drop_tracking_mir.stderr | 42 + .../not-send-sync.no_drop_tracking.stderr | 60 + tests/ui/generator/not-send-sync.rs | 19 +- tests/ui/generator/not-send-sync.stderr | 56 - .../parent-expression.drop_tracking.stderr | 128 + .../parent-expression.drop_tracking_mir.stderr | 122 + .../parent-expression.no_drop_tracking.stderr | 334 + tests/ui/generator/parent-expression.rs | 77 + .../ui/generator/partial-drop.drop_tracking.stderr | 61 + .../generator/partial-drop.no_drop_tracking.stderr | 61 + tests/ui/generator/partial-drop.rs | 21 +- tests/ui/generator/partial-drop.stderr | 92 - .../generator-print-verbose-1.drop_tracking.stderr | 64 + ...erator-print-verbose-1.drop_tracking_mir.stderr | 60 + ...nerator-print-verbose-1.no_drop_tracking.stderr | 64 + .../generator/print/generator-print-verbose-1.rs | 5 +- .../print/generator-print-verbose-1.stderr | 62 - .../generator-print-verbose-2.drop_tracking.stderr | 60 + ...erator-print-verbose-2.drop_tracking_mir.stderr | 42 + ...nerator-print-verbose-2.no_drop_tracking.stderr | 60 + .../generator/print/generator-print-verbose-2.rs | 19 +- .../print/generator-print-verbose-2.stderr | 56 - .../retain-resume-ref.drop_tracking.stderr | 13 + .../retain-resume-ref.drop_tracking_mir.stderr | 14 + .../retain-resume-ref.no_drop_tracking.stderr | 13 + tests/ui/generator/retain-resume-ref.rs | 4 + tests/ui/generator/retain-resume-ref.stderr | 2 +- .../generator/static-mut-reference-across-yield.rs | 4 +- .../type-mismatch-signature-deduction.stderr | 4 +- .../bugs/issue-88460.stderr | 2 +- .../collections-project-default.stderr | 3 +- .../constraint-assoc-type-suggestion.stderr | 2 +- .../gat-trait-path-parenthesised-args.rs | 6 +- .../gat-trait-path-parenthesised-args.stderr | 6 +- .../generic-associated-types/issue-101020.stderr | 2 +- .../issue-68656-unsized-values.stderr | 4 +- .../generic-associated-types/issue-74684-1.stderr | 1 + .../issue-79422.extended.stderr | 4 +- .../ui/generic-associated-types/issue-88360.fixed | 20 + tests/ui/generic-associated-types/issue-88360.rs | 2 + .../ui/generic-associated-types/issue-88360.stderr | 12 +- .../method-unsatified-assoc-type-predicate.rs | 33 - .../method-unsatified-assoc-type-predicate.stderr | 24 - .../method-unsatisfied-assoc-type-predicate.rs | 33 + .../method-unsatisfied-assoc-type-predicate.stderr | 24 + .../generic-associated-types/missing-bounds.fixed | 6 +- .../generic-associated-types/missing-bounds.stderr | 12 +- .../missing_lifetime_args.rs | 4 +- .../missing_lifetime_args.stderr | 4 +- .../missing_lifetime_const.rs | 2 +- .../missing_lifetime_const.stderr | 2 +- .../parameter_number_and_kind.rs | 6 +- .../parameter_number_and_kind.stderr | 6 +- .../trait-path-type-error-once-implemented.rs | 4 +- .../trait-path-type-error-once-implemented.stderr | 4 +- .../unsatified-item-lifetime-bound.rs | 25 - .../unsatified-item-lifetime-bound.stderr | 50 - .../unsatisfied-item-lifetime-bound.rs | 27 + .../unsatisfied-item-lifetime-bound.stderr | 55 + tests/ui/generics/bad-mid-path-type-params.rs | 10 +- tests/ui/generics/bad-mid-path-type-params.stderr | 10 +- tests/ui/generics/generic-arg-mismatch-recover.rs | 6 +- .../generics/generic-arg-mismatch-recover.stderr | 6 +- .../generic-impl-less-params-with-defaults.rs | 2 +- .../generic-impl-less-params-with-defaults.stderr | 2 +- .../generic-impl-more-params-with-defaults.rs | 2 +- .../generic-impl-more-params-with-defaults.stderr | 2 +- .../generic-type-more-params-with-defaults.rs | 2 +- .../generic-type-more-params-with-defaults.stderr | 2 +- tests/ui/generics/generic-type-params-name-repr.rs | 12 +- .../generics/generic-type-params-name-repr.stderr | 12 +- ...5285-incorrect-explicit-lifetime-name-needed.rs | 1 - ...-incorrect-explicit-lifetime-name-needed.stderr | 18 +- tests/ui/generics/wrong-number-of-args.rs | 106 +- tests/ui/generics/wrong-number-of-args.stderr | 106 +- ...exclusive_range_pattern_syntax_collision.stderr | 2 +- ...xclusive_range_pattern_syntax_collision2.stderr | 2 +- ...xclusive_range_pattern_syntax_collision3.stderr | 6 +- .../half-open-range-pats-inclusive-match-arrow.rs | 9 + ...lf-open-range-pats-inclusive-match-arrow.stderr | 15 + .../ui/half-open-range-patterns/pat-tuple-5.stderr | 2 +- .../hang-on-deeply-nested-dyn.stderr | 4 +- ...rtb-higher-ranker-supertraits-transitive.stderr | 2 +- .../hrtb-higher-ranker-supertraits.stderr | 4 +- .../hrtb-identity-fn-borrows.stderr | 4 +- .../hrtb-wrong-kind.stderr | 11 +- tests/ui/higher-rank-trait-bounds/issue-30786.rs | 2 + .../ui/higher-rank-trait-bounds/issue-30786.stderr | 27 +- tests/ui/higher-rank-trait-bounds/issue-39292.rs | 17 + .../issue-62203-hrtb-ice.stderr | 10 +- .../normalize-under-binder/issue-89118.stderr | 6 +- .../normalize-under-binder/issue-90950.stderr | 2 +- .../norm-before-method-resolution.stderr | 2 +- tests/ui/hygiene/panic-location.run.stderr | 2 +- .../path-elided.stderr | 1 - .../trait-elided.stderr | 1 - tests/ui/impl-trait/auto-trait-leak.stderr | 4 +- tests/ui/impl-trait/bound-normalization-pass.rs | 2 - .../dyn-trait-return-should-be-impl-trait.stderr | 26 +- tests/ui/impl-trait/equal-hidden-lifetimes.rs | 1 - tests/ui/impl-trait/equal-hidden-lifetimes.stderr | 10 - tests/ui/impl-trait/equality2.stderr | 2 + .../explicit-generic-args-for-impl.stderr | 2 +- .../not-enough-args.stderr | 2 +- .../ui/impl-trait/feature-self-return-type.stderr | 3 + tests/ui/impl-trait/hidden-lifetimes.stderr | 8 +- tests/ui/impl-trait/impl-fn-hrtb-bounds-2.stderr | 2 + tests/ui/impl-trait/in-trait/deep-match.stderr | 2 +- .../in-trait/default-body-type-err-2.stderr | 2 +- .../in-trait/default-body-type-err.stderr | 2 +- .../in-trait/default-method-constraint.rs | 17 + .../in-trait/default-method-constraint.stderr | 11 + .../in-trait/method-signature-matches.stderr | 10 - .../in-trait/new-lowering-strategy/simple-trait.rs | 11 + .../impl-trait/in-trait/signature-mismatch.stderr | 4 +- .../impl-trait/in-trait/specialization-broken.rs | 1 + .../in-trait/specialization-broken.stderr | 10 +- tests/ui/impl-trait/issue-102605.stderr | 12 +- .../impl-trait/issue-55872-2.drop_tracking.stderr | 8 + .../issue-55872-2.drop_tracking_mir.stderr | 14 + .../issue-55872-2.no_drop_tracking.stderr | 8 + tests/ui/impl-trait/issue-55872-2.rs | 4 + tests/ui/impl-trait/issue-55872-2.stderr | 2 +- tests/ui/impl-trait/issue-99914.stderr | 9 +- .../issues/infinite-impl-trait-issue-38064.stderr | 4 +- tests/ui/impl-trait/issues/issue-54600.stderr | 2 +- tests/ui/impl-trait/issues/issue-54840.stderr | 2 +- tests/ui/impl-trait/issues/issue-58504.stderr | 2 +- tests/ui/impl-trait/issues/issue-58956.stderr | 4 +- tests/ui/impl-trait/issues/issue-70971.stderr | 2 +- tests/ui/impl-trait/issues/issue-74282.stderr | 4 +- tests/ui/impl-trait/issues/issue-79099.stderr | 2 +- ...ssue-83929-impl-trait-in-generic-default.stderr | 4 +- tests/ui/impl-trait/issues/issue-84919.stderr | 2 +- tests/ui/impl-trait/issues/issue-86642.stderr | 2 +- tests/ui/impl-trait/issues/issue-86800.stderr | 4 +- tests/ui/impl-trait/issues/issue-87295.stderr | 2 +- .../multiple-lifetimes/error-handling-2.stderr | 3 + .../ordinary-bounds-unrelated.stderr | 4 +- .../ordinary-bounds-unsuited.stderr | 4 +- .../must_outlive_least_region_or_bound.stderr | 14 +- tests/ui/impl-trait/nested-return-type2.rs | 3 + tests/ui/impl-trait/nested-return-type2.stderr | 2 +- tests/ui/impl-trait/nested-return-type4.stderr | 4 +- tests/ui/impl-trait/nested_impl_trait.stderr | 2 +- .../impl-trait/no-method-suggested-traits.stderr | 16 +- tests/ui/impl-trait/normalize-tait-in-const.rs | 1 + tests/ui/impl-trait/normalize-tait-in-const.stderr | 2 +- ...safe-trait-in-return-position-impl-trait.stderr | 4 +- ...e-impl-trait-type-indirect.drop_tracking.stderr | 152 + ...pl-trait-type-indirect.drop_tracking_mir.stderr | 144 + ...mpl-trait-type-indirect.no_drop_tracking.stderr | 152 + .../recursive-impl-trait-type-indirect.rs | 4 + .../recursive-impl-trait-type-indirect.stderr | 152 - ...-alias-impl-trait-declaration-too-subtle.stderr | 4 +- tests/ui/impl-trait/region-escape-via-bound.stderr | 4 +- .../static-return-lifetime-infered.stderr | 8 +- .../ui/impl-trait/universal-mismatched-type.stderr | 2 +- tests/ui/impl-trait/where-allowed.stderr | 82 +- .../assoc-ty-wf-used-to-get-assoc-ty.stderr | 2 + tests/ui/implied-bounds/issue-100690.stderr | 2 +- tests/ui/imports/import-prefix-macro-1.stderr | 2 +- tests/ui/include-macros/mismatched-types.stderr | 4 +- .../needs-has-incoherent-impls.stderr | 78 +- .../no-attr-empty-impl.stderr | 12 +- tests/ui/inference/array-len-mismatch.rs | 12 + tests/ui/inference/array-len-mismatch.stderr | 21 + tests/ui/inference/deref-suggestion.stderr | 6 +- tests/ui/inference/inference_unstable.rs | 8 +- tests/ui/inference/inference_unstable.stderr | 8 +- .../inference/inference_unstable_featured.stderr | 4 +- tests/ui/inference/issue-107090.rs | 25 + tests/ui/inference/issue-107090.stderr | 84 + tests/ui/inference/issue-71732.stderr | 2 +- ...issue-107745-avoid-expr-from-macro-expansion.rs | 19 + ...e-107745-avoid-expr-from-macro-expansion.stderr | 11 + tests/ui/inference/question-mark-type-infer.stderr | 2 +- tests/ui/infinite/auxiliary/alias.rs | 2 + tests/ui/infinite/infinite-alias.rs | 9 + tests/ui/infinite/infinite-alias.stderr | 14 + .../ui/inline-const/const-expr-lifetime-err.stderr | 1 + tests/ui/instrument-xray/flags-always-never-1.rs | 7 + .../ui/instrument-xray/flags-always-never-1.stderr | 2 + tests/ui/instrument-xray/flags-always-never-2.rs | 9 + tests/ui/instrument-xray/flags-basic.rs | 9 + tests/ui/instrument-xray/flags-dupe-always.rs | 7 + tests/ui/instrument-xray/flags-dupe-always.stderr | 2 + .../ui/instrument-xray/flags-dupe-ignore-loops.rs | 7 + .../instrument-xray/flags-dupe-ignore-loops.stderr | 2 + tests/ui/instrument-xray/target-not-supported.rs | 9 + .../ui/instrument-xray/target-not-supported.stderr | 4 + tests/ui/intrinsics/const-eval-select-bad.rs | 2 +- tests/ui/intrinsics/const-eval-select-bad.stderr | 2 +- tests/ui/intrinsics/intrinsic-alignment.rs | 4 +- tests/ui/io-checks/inaccessbile-temp-dir.rs | 39 + tests/ui/io-checks/inaccessbile-temp-dir.stderr | 4 + .../io-checks/non-ice-error-on-worker-io-fail.rs | 40 + .../non-ice-error-on-worker-io-fail.stderr | 6 + tests/ui/issues/issue-100605.stderr | 4 +- tests/ui/issues/issue-102964.stderr | 2 +- tests/ui/issues/issue-10412.stderr | 1 - tests/ui/issues/issue-106755.rs | 19 + tests/ui/issues/issue-106755.stderr | 22 + tests/ui/issues/issue-10764.stderr | 1 + tests/ui/issues/issue-11374.stderr | 4 +- tests/ui/issues/issue-11844.stderr | 2 +- tests/ui/issues/issue-13446.stderr | 2 +- tests/ui/issues/issue-13466.rs | 4 +- tests/ui/issues/issue-13466.stderr | 4 +- tests/ui/issues/issue-14541.rs | 2 +- tests/ui/issues/issue-14541.stderr | 2 +- tests/ui/issues/issue-15783.rs | 2 +- tests/ui/issues/issue-15783.stderr | 2 +- tests/ui/issues/issue-15896.stderr | 2 +- tests/ui/issues/issue-16338.stderr | 2 +- tests/ui/issues/issue-16401.rs | 2 +- tests/ui/issues/issue-16401.stderr | 2 +- tests/ui/issues/issue-16939.stderr | 9 +- tests/ui/issues/issue-16966.stderr | 6 +- tests/ui/issues/issue-17337.stderr | 2 +- tests/ui/issues/issue-18423.rs | 2 +- tests/ui/issues/issue-18423.stderr | 2 +- tests/ui/issues/issue-18446.stderr | 2 +- tests/ui/issues/issue-18819.stderr | 2 +- tests/ui/issues/issue-19521.stderr | 2 +- tests/ui/issues/issue-20225.stderr | 6 +- tests/ui/issues/issue-21202.rs | 2 +- tests/ui/issues/issue-21202.stderr | 6 +- tests/ui/issues/issue-21332.rs | 2 +- tests/ui/issues/issue-21332.stderr | 2 +- tests/ui/issues/issue-22536-copy-mustnt-zero.rs | 28 - tests/ui/issues/issue-23041.stderr | 2 +- tests/ui/issues/issue-24322.stderr | 2 +- tests/ui/issues/issue-24819.rs | 2 +- tests/ui/issues/issue-24819.stderr | 2 +- tests/ui/issues/issue-26094.rs | 7 +- tests/ui/issues/issue-26094.stderr | 6 +- tests/ui/issues/issue-27008.rs | 2 +- tests/ui/issues/issue-27008.stderr | 2 +- tests/ui/issues/issue-2735-2.rs | 27 - tests/ui/issues/issue-2735-3.rs | 27 - tests/ui/issues/issue-2735.rs | 22 - tests/ui/issues/issue-27583.rs | 47 - tests/ui/issues/issue-30123.stderr | 2 +- tests/ui/issues/issue-30438-c.rs | 1 - tests/ui/issues/issue-30438-c.stderr | 12 +- tests/ui/issues/issue-32122-1.stderr | 2 +- tests/ui/issues/issue-32122-2.stderr | 2 +- tests/ui/issues/issue-3214.rs | 2 +- tests/ui/issues/issue-3214.stderr | 2 +- tests/ui/issues/issue-33504.stderr | 2 +- tests/ui/issues/issue-33903.rs | 10 - tests/ui/issues/issue-33941.stderr | 6 +- tests/ui/issues/issue-35241.stderr | 2 +- tests/ui/issues/issue-3680.rs | 2 +- tests/ui/issues/issue-3680.stderr | 2 +- tests/ui/issues/issue-3702-2.stderr | 4 +- tests/ui/issues/issue-3763.rs | 7 +- tests/ui/issues/issue-3763.stderr | 22 +- tests/ui/issues/issue-38821.rs | 33 - tests/ui/issues/issue-38821.stderr | 22 - tests/ui/issues/issue-39292.rs | 17 - tests/ui/issues/issue-39970.rs | 2 +- tests/ui/issues/issue-39970.stderr | 4 +- tests/ui/issues/issue-40003.rs | 178 - tests/ui/issues/issue-40288.stderr | 4 +- tests/ui/issues/issue-40749.stderr | 2 +- tests/ui/issues/issue-43420-no-over-suggest.stderr | 2 +- tests/ui/issues/issue-4517.rs | 2 +- tests/ui/issues/issue-4517.stderr | 2 +- tests/ui/issues/issue-45697-1.stderr | 6 +- tests/ui/issues/issue-45697.stderr | 6 +- tests/ui/issues/issue-46471-1.stderr | 7 +- tests/ui/issues/issue-47715.stderr | 8 +- tests/ui/issues/issue-48179.rs | 38 - tests/ui/issues/issue-48364.stderr | 4 +- tests/ui/issues/issue-4935.stderr | 9 +- tests/ui/issues/issue-4968.rs | 2 +- tests/ui/issues/issue-4968.stderr | 2 +- tests/ui/issues/issue-50576.rs | 6 - tests/ui/issues/issue-50576.stderr | 22 - tests/ui/issues/issue-5100.rs | 4 +- tests/ui/issues/issue-5100.stderr | 6 +- tests/ui/issues/issue-51515.rs | 1 + tests/ui/issues/issue-51515.stderr | 9 +- ...sue-51632-try-desugar-incompatible-types.stderr | 2 +- .../issues/issue-52126-assign-op-invariance.stderr | 2 + tests/ui/issues/issue-53251.rs | 4 +- tests/ui/issues/issue-53251.stderr | 4 +- tests/ui/issues/issue-53348.rs | 2 +- tests/ui/issues/issue-53348.stderr | 2 +- tests/ui/issues/issue-5358-1.rs | 2 +- tests/ui/issues/issue-5358-1.stderr | 2 +- tests/ui/issues/issue-53712.rs | 9 - tests/ui/issues/issue-53712.stderr | 11 - tests/ui/issues/issue-54582.rs | 16 - tests/ui/issues/issue-56943.stderr | 2 +- tests/ui/issues/issue-57362-2.stderr | 4 +- tests/ui/issues/issue-57741-1.stderr | 4 +- tests/ui/issues/issue-57741.stderr | 8 +- tests/ui/issues/issue-59488.stderr | 4 +- tests/ui/issues/issue-60218.stderr | 2 +- tests/ui/issues/issue-60622.rs | 2 +- tests/ui/issues/issue-60622.stderr | 4 +- tests/ui/issues/issue-61106.stderr | 2 +- tests/ui/issues/issue-6458-4.stderr | 2 +- ...e-65634-raw-ident-suggestion.edition2015.stderr | 4 +- ...e-65634-raw-ident-suggestion.edition2018.stderr | 4 +- .../issue-67039-unsound-pin-partialeq.stderr | 2 +- tests/ui/issues/issue-69306.stderr | 6 +- tests/ui/issues/issue-69455.stderr | 4 +- tests/ui/issues/issue-69683.stderr | 2 +- tests/ui/issues/issue-70093.rs | 10 - .../issue-70093/issue-70093-link-directives.rs | 10 + tests/ui/issues/issue-70093/issue-70093.rs | 10 + tests/ui/issues/issue-7061.stderr | 2 +- tests/ui/issues/issue-7092.rs | 2 +- tests/ui/issues/issue-7092.stderr | 2 +- tests/ui/issues/issue-71676-1.stderr | 6 +- tests/ui/issues/issue-7364.stderr | 1 + tests/ui/issues/issue-74236/main.stderr | 2 +- tests/ui/issues/issue-75307.rs | 3 - tests/ui/issues/issue-75307.stderr | 8 - tests/ui/issues/issue-75777.rs | 15 - tests/ui/issues/issue-75777.stderr | 11 - tests/ui/issues/issue-76191.stderr | 4 +- tests/ui/issues/issue-7813.rs | 4 - tests/ui/issues/issue-7813.stderr | 14 - tests/ui/issues/issue-7867.rs | 2 +- tests/ui/issues/issue-7867.stderr | 2 +- tests/ui/issues/issue-83924.fixed | 20 - tests/ui/issues/issue-83924.rs | 20 - tests/ui/issues/issue-83924.stderr | 22 - tests/ui/issues/issue-92741.fixed | 13 + tests/ui/issues/issue-92741.rs | 17 + tests/ui/issues/issue-92741.stderr | 49 + tests/ui/json/json-bom-plus-crlf-multifile.stderr | 8 +- tests/ui/json/json-bom-plus-crlf.stderr | 8 +- tests/ui/kindck/kindck-send-object1.stderr | 2 +- tests/ui/kinds-of-primitive-impl.stderr | 16 +- tests/ui/lang-items/bad-add-impl.rs | 18 + tests/ui/lang-items/bad-add-impl.stderr | 11 + .../fn-fn_mut-call-ill-formed.bad_item.stderr | 18 + .../fn-fn_mut-call-ill-formed.bad_sig.stderr | 18 + .../fn-fn_mut-call-ill-formed.fn_bad_item.stderr | 18 + .../fn-fn_mut-call-ill-formed.fn_bad_sig.stderr | 18 + ...n-fn_mut-call-ill-formed.fn_mut_bad_item.stderr | 18 + ...fn-fn_mut-call-ill-formed.fn_mut_bad_sig.stderr | 18 + ...-fn_mut-call-ill-formed.fn_once_bad_item.stderr | 18 + ...n-fn_mut-call-ill-formed.fn_once_bad_sig.stderr | 18 + tests/ui/lang-items/fn-fn_mut-call-ill-formed.rs | 34 +- .../ui/lang-items/fn-fn_mut-call-ill-formed.stderr | 14 - tests/ui/lang-items/issue-86238.stderr | 2 +- tests/ui/lang-items/lang-item-missing-generator.rs | 21 - .../lang-items/lang-item-missing-generator.stderr | 15 - .../late-bound-lifetimes/mismatched_arg_count.rs | 2 +- .../mismatched_arg_count.stderr | 2 +- tests/ui/layout/valid_range_oob.stderr | 2 +- tests/ui/let-else/accidental-if.rs | 6 + tests/ui/let-else/accidental-if.stderr | 19 + tests/ui/let-else/issue-94176.stderr | 2 +- tests/ui/let-else/let-else-brace-before-else.fixed | 4 - tests/ui/let-else/let-else-brace-before-else.rs | 4 - .../ui/let-else/let-else-brace-before-else.stderr | 17 +- tests/ui/let-else/let-else-deref-coercion.stderr | 4 +- tests/ui/let-else/let-else-non-diverging.stderr | 6 +- tests/ui/let-else/let-else-ref-bindings.stderr | 16 +- ...me-bound-on-trait-object-using-type-alias.fixed | 45 + ...etime-bound-on-trait-object-using-type-alias.rs | 45 + ...e-bound-on-trait-object-using-type-alias.stderr | 15 + .../issue-104432-unused-lifetimes-in-expansion.rs | 12 + tests/ui/lifetimes/issue-105227.stderr | 13 +- .../issue-107492-default-value-for-lifetime.rs | 6 + .../issue-107492-default-value-for-lifetime.stderr | 8 + tests/ui/lifetimes/issue-107988.rs | 13 + tests/ui/lifetimes/issue-107988.stderr | 27 + tests/ui/lifetimes/issue-17728.stderr | 2 +- tests/ui/lifetimes/issue-26638.stderr | 8 +- tests/ui/lifetimes/issue-69314.fixed | 22 + tests/ui/lifetimes/issue-69314.rs | 22 + tests/ui/lifetimes/issue-69314.stderr | 26 + ...ue-90600-expected-return-static-indirect.stderr | 2 + ...rn-one-existing-name-return-type-is-anon.stderr | 2 +- ...x1-return-one-existing-name-self-is-anon.stderr | 2 +- ...x3-both-anon-regions-return-type-is-anon.stderr | 2 +- .../ex3-both-anon-regions-self-is-anon.stderr | 2 +- tests/ui/lifetimes/unusual-rib-combinations.rs | 2 +- tests/ui/lifetimes/unusual-rib-combinations.stderr | 2 +- tests/ui/lint/dead-code/in-closure.rs | 16 + tests/ui/lint/dead-code/in-closure.stderr | 20 + tests/ui/lint/dead-code/issue-85255.rs | 12 +- tests/ui/lint/dead-code/issue-85255.stderr | 12 +- tests/ui/lint/dead-code/lint-dead-code-3.rs | 2 +- tests/ui/lint/dead-code/lint-dead-code-3.stderr | 2 +- tests/ui/lint/invalid_value-polymorphic.rs | 8 + tests/ui/lint/invalid_value.stderr | 40 +- tests/ui/lint/issue-104897.rs | 1 - tests/ui/lint/issue-104897.stderr | 35 +- tests/ui/lint/issue-106991.rs | 13 + tests/ui/lint/issue-106991.stderr | 11 + tests/ui/lint/lint-missing-doc.rs | 6 +- tests/ui/lint/lint-missing-doc.stderr | 46 +- tests/ui/lint/lint-stability-deprecated.rs | 144 +- tests/ui/lint/lint-stability-deprecated.stderr | 224 +- tests/ui/lint/lint_map_unit_fn.rs | 20 + tests/ui/lint/lint_map_unit_fn.stderr | 66 + .../must_not_suspend/dedup.drop_tracking.stderr | 21 + .../dedup.drop_tracking_mir.stderr | 21 + .../must_not_suspend/dedup.no_drop_tracking.stderr | 33 + tests/ui/lint/must_not_suspend/dedup.rs | 7 +- tests/ui/lint/must_not_suspend/dedup.stderr | 6 +- .../lint/must_not_suspend/ref.drop_tracking.stderr | 8 +- .../must_not_suspend/ref.drop_tracking_mir.stderr | 27 + .../must_not_suspend/ref.no_drop_tracking.stderr | 8 +- tests/ui/lint/must_not_suspend/ref.rs | 8 +- .../must_not_suspend/trait.drop_tracking.stderr | 37 + .../trait.drop_tracking_mir.stderr | 37 + .../must_not_suspend/trait.no_drop_tracking.stderr | 37 + tests/ui/lint/must_not_suspend/trait.rs | 6 + tests/ui/lint/must_not_suspend/trait.stderr | 10 +- .../ui/lint/must_not_suspend/tuple-mismatch.stderr | 2 +- .../must_not_suspend/unit.drop_tracking.stderr | 26 + .../must_not_suspend/unit.drop_tracking_mir.stderr | 26 + .../must_not_suspend/unit.no_drop_tracking.stderr | 26 + tests/ui/lint/must_not_suspend/unit.rs | 5 +- tests/ui/lint/must_not_suspend/unit.stderr | 8 +- .../must_not_suspend/warn.drop_tracking.stderr | 26 + .../must_not_suspend/warn.drop_tracking_mir.stderr | 26 + .../must_not_suspend/warn.no_drop_tracking.stderr | 26 + tests/ui/lint/must_not_suspend/warn.rs | 4 + tests/ui/lint/must_not_suspend/warn.stderr | 8 +- tests/ui/lint/reasons-forbidden.rs | 2 +- tests/ui/lint/unaligned_references.rs | 42 +- tests/ui/lint/unaligned_references.stderr | 214 +- .../ui/lint/unaligned_references_external_macro.rs | 1 - .../unaligned_references_external_macro.stderr | 47 +- tests/ui/lint/unused/issue-103320-must-use-ops.rs | 27 + .../lint/unused/issue-103320-must-use-ops.stderr | 67 + tests/ui/lint/unused/issue-96606.rs | 8 + tests/ui/lint/unused/issue-96606.stderr | 33 + tests/ui/lint/unused_parens_multibyte_recovery.rs | 1 - .../lint/unused_parens_multibyte_recovery.stderr | 35 +- tests/ui/loops/issue-50576.rs | 6 + tests/ui/loops/issue-50576.stderr | 22 + tests/ui/loops/loop-break-value.stderr | 2 +- tests/ui/loops/loop-else-break-with-value.rs | 10 + tests/ui/loops/loop-else-break-with-value.stderr | 18 + tests/ui/loops/loop-else-err.rs | 8 + tests/ui/loops/loop-else-err.stderr | 17 + tests/ui/loops/loop-else-let-else-err.rs | 8 + tests/ui/loops/loop-else-let-else-err.stderr | 17 + .../macros/format-args-temporaries-in-write.stderr | 4 + tests/ui/macros/issue-102878.rs | 4 - tests/ui/macros/issue-102878.stderr | 51 +- tests/ui/macros/macros-nonfatal-errors.stderr | 9 +- ...consuming-methods-have-optimized-codegen.stdout | 36 +- tests/ui/macros/stringify.rs | 6 +- .../issue-107423-unused-delim-only-one-no-pair.rs | 7 + ...sue-107423-unused-delim-only-one-no-pair.stderr | 12 + tests/ui/match/issue-12552.stderr | 4 +- tests/ui/match/issue-74050-end-span.stderr | 1 + tests/ui/match/issue-91058.stderr | 2 +- tests/ui/match/match-ref-mut-invariance.stderr | 2 +- tests/ui/match/match-ref-mut-let-invariance.stderr | 2 +- tests/ui/match/match-struct.rs | 2 +- tests/ui/match/match-struct.stderr | 2 +- tests/ui/match/match-tag-nullary.stderr | 2 +- tests/ui/match/match-tag-unary.stderr | 2 +- tests/ui/methods/assign-to-method.rs | 3 +- tests/ui/methods/assign-to-method.stderr | 4 +- tests/ui/methods/issues/issue-105732.stderr | 2 +- tests/ui/methods/issues/issue-61525.stderr | 4 +- tests/ui/methods/issues/issue-90315.stderr | 10 +- .../method-ambig-two-traits-cross-crate.stderr | 4 +- .../method-ambig-two-traits-from-bounds.stderr | 4 +- .../method-ambig-two-traits-from-impls.stderr | 4 +- ...hod-ambig-two-traits-with-default-method.stderr | 4 +- tests/ui/methods/method-call-err-msg.stderr | 34 +- tests/ui/methods/method-call-lifetime-args-fail.rs | 8 +- .../methods/method-call-lifetime-args-fail.stderr | 16 +- ...o-same-trait-object-with-separate-params.stderr | 6 +- tests/ui/methods/method-not-found-but-doc-alias.rs | 11 + .../methods/method-not-found-but-doc-alias.stderr | 12 + tests/ui/methods/method-self-arg-1.rs | 4 +- tests/ui/methods/method-self-arg-1.stderr | 8 +- tests/ui/mir/field-projection-invariant.rs | 24 + tests/ui/mir/field-projection-mutating-context.rs | 19 + .../mir/field-projection-mutating-context.stderr | 12 + tests/ui/mir/field-projection-mutating-context2.rs | 17 + .../mir/field-projection-mutating-context2.stderr | 10 + tests/ui/mir/field-ty-ascription-enums.rs | 15 + tests/ui/mir/field-ty-ascription.rs | 37 + .../mir/issue-107678-projection-with-lifetime.rs | 20 + tests/ui/mir/issue-107691.rs | 42 + tests/ui/mir/issue-109743.rs | 51 + tests/ui/mir/mir_codegen_ssa.rs | 19 + tests/ui/mir/validate/storage-live.rs | 30 + tests/ui/mir/validate/storage-live.stderr | 13 + tests/ui/mismatched_types/abridged.stderr | 16 +- ...oxed-trait-objects-instead-of-impl-trait.stderr | 4 +- tests/ui/mismatched_types/issue-106182.stderr | 2 +- .../mismatched_types/issue-38371-unfixable.stderr | 2 +- tests/ui/mismatched_types/issue-38371.stderr | 4 +- tests/ui/mismatched_types/issue-47706.stderr | 2 +- .../issue-74918-missing-lifetime.stderr | 4 +- .../non_zero_assigned_something.stderr | 4 +- tests/ui/mismatched_types/normalize-fn-sig.stderr | 3 +- .../mismatched_types/overloaded-calls-bad.stderr | 7 +- .../ui/mismatched_types/ref-pat-suggestions.stderr | 18 +- tests/ui/mismatched_types/show_module.stderr | 8 +- tests/ui/mismatched_types/similar_paths.stderr | 8 +- .../similar_paths_primitive.stderr | 6 +- ...oxed-trait-objects-instead-of-impl-trait.stderr | 4 +- .../suggest-removing-tuple-struct-field.stderr | 4 +- .../wrap-suggestion-privacy.stderr | 6 +- tests/ui/modules/issue-107649.rs | 106 + tests/ui/modules/issue-107649.stderr | 18 + tests/ui/moves/issue-22536-copy-mustnt-zero.rs | 28 + tests/ui/moves/move-fn-self-receiver.stderr | 2 + .../pin-mut-reborrow-infer-var-issue-107419.fixed | 11 + .../pin-mut-reborrow-infer-var-issue-107419.rs | 11 + .../pin-mut-reborrow-infer-var-issue-107419.stderr | 20 + tests/ui/mut/mut-cross-borrowing.stderr | 2 +- .../ui/mut/mut-pattern-internal-mutability.stderr | 4 +- tests/ui/mutexguard-sync.rs | 13 - tests/ui/mutexguard-sync.stderr | 19 - .../mix-bundle-and-whole-archive-link-attr.rs | 13 +- .../mix-bundle-and-whole-archive-link-attr.stderr | 6 +- .../mix-bundle-and-whole-archive.rs | 9 +- .../mix-bundle-and-whole-archive.stderr | 6 +- .../never_type/diverging-tuple-parts-39485.stderr | 4 +- tests/ui/never_type/issue-10176.rs | 2 +- tests/ui/never_type/issue-10176.stderr | 2 +- tests/ui/never_type/issue-52443.stderr | 2 +- tests/ui/never_type/issue-96335.stderr | 2 +- tests/ui/nll/borrowed-local-error.stderr | 1 + tests/ui/nll/borrowed-match-issue-45045.stderr | 2 +- tests/ui/nll/capture-ref-in-struct.stderr | 3 + tests/ui/nll/closure-access-spans.stderr | 4 +- tests/ui/nll/closure-borrow-spans.stderr | 14 +- .../closure-requirements/escape-argument.stderr | 3 + ...shorter-to-static-comparing-against-free.stderr | 2 + .../type-test-subject-non-trivial-region.rs | 19 + .../type-test-subject-opaque-1.rs | 18 + .../type-test-subject-opaque-2.rs | 17 + .../type-test-subject-unnamed-region.rs | 24 + tests/ui/nll/closure-use-spans.stderr | 12 +- ...-not-ignore-lifetime-bounds-in-copy-proj.stderr | 2 + .../do-not-ignore-lifetime-bounds-in-copy.stderr | 2 + tests/ui/nll/dont-print-desugared.stderr | 1 + tests/ui/nll/drop-no-may-dangle.stderr | 8 +- tests/ui/nll/guarantor-issue-46974.stderr | 4 +- .../nll/issue-27282-move-ref-mut-into-guard.stderr | 4 +- tests/ui/nll/issue-27282-mutation-in-guard.stderr | 4 +- tests/ui/nll/issue-27583.rs | 47 + tests/ui/nll/issue-27868.stderr | 4 +- tests/ui/nll/issue-46036.stderr | 2 + tests/ui/nll/issue-48179.rs | 38 + tests/ui/nll/issue-48803.stderr | 4 +- tests/ui/nll/issue-52057.rs | 4 +- tests/ui/nll/issue-52534-2.stderr | 2 + tests/ui/nll/issue-52663-trait-object.stderr | 2 + .../issue-54382-use-span-of-tail-of-block.stderr | 3 + tests/ui/nll/issue-54556-niconii.stderr | 3 + tests/ui/nll/issue-54556-stephaneyfx.stderr | 2 + .../issue-54556-temps-in-tail-diagnostic.stderr | 3 + .../ui/nll/issue-54556-used-vs-unused-tails.stderr | 103 +- tests/ui/nll/issue-54556-wrap-it-up.stderr | 4 +- tests/ui/nll/issue-55511.stderr | 2 + .../nll/issue-57642-higher-ranked-subtype.stderr | 6 +- tests/ui/nll/issue-57989.stderr | 4 +- tests/ui/nll/issue-68550.stderr | 4 +- tests/ui/nll/issue-69114-static-mut-ty.stderr | 6 + tests/ui/nll/issue-69114-static-ty.stderr | 2 + tests/ui/nll/issue-73159-rpit-static.stderr | 1 + tests/ui/nll/issue-75777.rs | 15 + tests/ui/nll/issue-75777.stderr | 11 + tests/ui/nll/loan_ends_mid_block_pair.stderr | 4 +- tests/ui/nll/local-outlives-static-via-hrtb.stderr | 5 + tests/ui/nll/match-cfg-fake-edges2.stderr | 2 +- tests/ui/nll/match-guards-always-borrow.stderr | 4 +- tests/ui/nll/match-guards-partially-borrow.stderr | 8 +- tests/ui/nll/match-on-borrowed.stderr | 6 +- ...-initialized-drop-implicit-fragment-drop.stderr | 4 +- .../maybe-initialized-drop-with-fragment.stderr | 4 +- ...alized-drop-with-uninitialized-fragments.stderr | 4 +- tests/ui/nll/maybe-initialized-drop.stderr | 4 +- .../min-choice-reject-ambiguous.rs | 43 + .../min-choice-reject-ambiguous.stderr | 42 + tests/ui/nll/member-constraints/min-choice.rs | 34 + .../member-constraints/nested-impl-trait-fail.rs | 33 + .../nested-impl-trait-fail.stderr | 83 + .../member-constraints/nested-impl-trait-pass.rs | 29 + tests/ui/nll/outlives-suggestion-simple.stderr | 4 +- tests/ui/nll/polonius/polonius-smoke-test.stderr | 8 +- tests/ui/nll/promoted-bounds.stderr | 1 + .../reference-carried-through-struct-field.stderr | 2 +- tests/ui/nll/relate_tys/var-appears-twice.stderr | 3 + .../ui/nll/ty-outlives/impl-trait-captures.stderr | 4 +- .../projection-one-region-closure.stderr | 2 +- ...rojection-one-region-trait-bound-closure.stderr | 2 +- ...rojection-two-region-trait-bound-closure.stderr | 28 +- .../ui/nll/user-annotations/adt-brace-enums.stderr | 3 + .../nll/user-annotations/adt-brace-structs.stderr | 3 + .../nll/user-annotations/adt-nullary-enums.stderr | 6 +- .../ui/nll/user-annotations/adt-tuple-enums.stderr | 3 + .../user-annotations/adt-tuple-struct-calls.stderr | 7 +- .../nll/user-annotations/adt-tuple-struct.stderr | 3 + .../user-annotations/cast_static_lifetime.stderr | 2 + .../constant-in-expr-inherent-2.stderr | 11 + tests/ui/nll/user-annotations/fns.stderr | 3 + tests/ui/nll/user-annotations/method-call.stderr | 4 + tests/ui/nll/user-annotations/method-ufcs-1.stderr | 5 + tests/ui/nll/user-annotations/method-ufcs-2.stderr | 8 +- tests/ui/nll/user-annotations/method-ufcs-3.stderr | 4 + .../user-annotations/method-ufcs-inherent-1.stderr | 1 + .../user-annotations/method-ufcs-inherent-2.stderr | 2 + .../user-annotations/method-ufcs-inherent-3.stderr | 1 + .../user-annotations/method-ufcs-inherent-4.stderr | 2 + tests/ui/nll/user-annotations/normalization.stderr | 4 + .../pattern_substs_on_brace_enum_variant.stderr | 4 + .../pattern_substs_on_brace_struct.stderr | 4 + .../pattern_substs_on_tuple_enum_variant.stderr | 4 + .../pattern_substs_on_tuple_struct.stderr | 4 + tests/ui/nll/user-annotations/patterns.stderr | 24 + .../user-annotations/promoted-annotation.stderr | 1 + .../type_ascription_static_lifetime.stderr | 2 + tests/ui/noexporttypeexe.rs | 2 +- tests/ui/noexporttypeexe.stderr | 2 +- tests/ui/non-ice-error-on-worker-io-fail.rs | 40 - tests/ui/non-ice-error-on-worker-io-fail.stderr | 6 - tests/ui/numbers-arithmetic/issue-105626.rs | 17 + .../next-power-of-two-overflow-debug.rs | 2 +- tests/ui/object-pointer-types.stderr | 2 +- .../object-safety-supertrait-mentions-GAT.stderr | 5 + tests/ui/optimization-remark.rs | 1 - tests/ui/or-patterns/already-bound-name.stderr | 2 +- .../nested-undelimited-precedence.stderr | 8 +- tests/ui/packed/issue-27060-rpass.rs | 23 - tests/ui/packed/issue-27060-rpass.stderr | 68 - tests/ui/packed/issue-27060.rs | 4 - tests/ui/packed/issue-27060.stderr | 76 +- .../packed/packed-struct-borrow-element-64bit.rs | 5 +- .../packed-struct-borrow-element-64bit.stderr | 31 +- tests/ui/packed/packed-struct-borrow-element.rs | 8 +- .../ui/packed/packed-struct-borrow-element.stderr | 54 +- tests/ui/panics/default-backtrace-ice.stderr | 5 +- tests/ui/parser/anon-enums-are-ambiguous.rs | 26 + tests/ui/parser/bastion-of-the-turbofish.rs | 2 +- tests/ui/parser/deli-ident-issue-1.rs | 22 + tests/ui/parser/deli-ident-issue-1.stderr | 17 + tests/ui/parser/deli-ident-issue-2.rs | 7 + tests/ui/parser/deli-ident-issue-2.stderr | 19 + .../do-not-suggest-semicolon-before-array.rs | 2 +- .../do-not-suggest-semicolon-before-array.stderr | 4 +- tests/ui/parser/fn-header-semantic-fail.stderr | 12 +- tests/ui/parser/issue-102806.stderr | 7 +- tests/ui/parser/issue-103451.rs | 1 - tests/ui/parser/issue-103451.stderr | 24 +- tests/ui/parser/issue-107705.rs | 3 + tests/ui/parser/issue-107705.stderr | 10 + tests/ui/parser/issue-108495-dec.rs | 39 + tests/ui/parser/issue-108495-dec.stderr | 69 + tests/ui/parser/issue-68987-unmatch-issue-1.rs | 12 + tests/ui/parser/issue-68987-unmatch-issue-1.stderr | 16 + tests/ui/parser/issue-68987-unmatch-issue-2.rs | 14 + tests/ui/parser/issue-68987-unmatch-issue-2.stderr | 19 + tests/ui/parser/issue-68987-unmatch-issue-3.rs | 8 + tests/ui/parser/issue-68987-unmatch-issue-3.stderr | 19 + tests/ui/parser/issue-68987-unmatch-issue.rs | 12 + tests/ui/parser/issue-68987-unmatch-issue.stderr | 16 + tests/ui/parser/issue-81804.rs | 3 - tests/ui/parser/issue-81804.stderr | 36 +- tests/ui/parser/issue-81827.rs | 1 - tests/ui/parser/issue-81827.stderr | 32 +- tests/ui/parser/issues/issue-104367.rs | 6 + tests/ui/parser/issues/issue-104367.stderr | 26 + tests/ui/parser/issues/issue-105209.rs | 3 + tests/ui/parser/issues/issue-105209.stderr | 22 + tests/ui/parser/issues/issue-10636-2.rs | 4 +- tests/ui/parser/issues/issue-10636-2.stderr | 19 +- tests/ui/parser/issues/issue-44406.stderr | 4 +- .../issue-58094-missing-right-square-bracket.rs | 3 +- ...issue-58094-missing-right-square-bracket.stderr | 10 +- tests/ui/parser/issues/issue-58856-1.rs | 5 +- tests/ui/parser/issues/issue-58856-1.stderr | 29 +- tests/ui/parser/issues/issue-58856-2.rs | 5 +- tests/ui/parser/issues/issue-58856-2.stderr | 33 +- tests/ui/parser/issues/issue-60075.rs | 5 +- tests/ui/parser/issues/issue-60075.stderr | 20 +- tests/ui/parser/issues/issue-62524.rs | 2 +- tests/ui/parser/issues/issue-62524.stderr | 25 +- tests/ui/parser/issues/issue-62546.rs | 4 +- tests/ui/parser/issues/issue-62546.stderr | 15 +- tests/ui/parser/issues/issue-62554.rs | 1 - tests/ui/parser/issues/issue-62554.stderr | 64 +- tests/ui/parser/issues/issue-62881.rs | 5 +- tests/ui/parser/issues/issue-62881.stderr | 24 +- tests/ui/parser/issues/issue-62894.rs | 1 - tests/ui/parser/issues/issue-62894.stderr | 40 +- tests/ui/parser/issues/issue-62895.rs | 14 +- tests/ui/parser/issues/issue-62895.stderr | 51 +- tests/ui/parser/issues/issue-62973.rs | 2 +- tests/ui/parser/issues/issue-62973.stderr | 80 +- tests/ui/parser/issues/issue-63116.rs | 2 +- tests/ui/parser/issues/issue-63116.stderr | 25 +- tests/ui/parser/issues/issue-63135.rs | 4 +- tests/ui/parser/issues/issue-63135.stderr | 34 +- .../issues/issue-66357-unexpected-unreachable.rs | 4 +- .../issue-66357-unexpected-unreachable.stderr | 17 +- ...ue-67377-invalid-syntax-in-enum-discriminant.rs | 14 +- ...7377-invalid-syntax-in-enum-discriminant.stderr | 113 +- tests/ui/parser/issues/issue-68629.rs | Bin 336 -> 129 bytes tests/ui/parser/issues/issue-68629.stderr | Bin 1637 -> 944 bytes tests/ui/parser/issues/issue-69259.rs | 3 + tests/ui/parser/issues/issue-69259.stderr | 8 + .../issues/issue-70583-block-is-empty-1.stderr | 4 +- .../issues/issue-70583-block-is-empty-2.stderr | 6 +- tests/ui/parser/issues/issue-84104.rs | 1 - tests/ui/parser/issues/issue-84104.stderr | 10 +- tests/ui/parser/issues/issue-84148-2.rs | 1 - tests/ui/parser/issues/issue-84148-2.stderr | 21 +- .../ui/parser/issues/issue-87086-colon-path-sep.rs | 1 - .../issues/issue-87086-colon-path-sep.stderr | 81 +- tests/ui/parser/issues/issue-87812-path.stderr | 2 +- tests/ui/parser/issues/issue-88770.rs | 3 - tests/ui/parser/issues/issue-88770.stderr | 50 +- .../macro-mismatched-delim-paren-brace.stderr | 22 +- tests/ui/parser/match-arm-without-braces.stderr | 10 +- tests/ui/parser/mbe_missing_right_paren.rs | 2 +- tests/ui/parser/mbe_missing_right_paren.stderr | 23 +- .../missing-close-brace-in-impl-trait.rs | 6 +- .../missing-close-brace-in-impl-trait.stderr | 25 +- .../missing-close-brace-in-struct.rs | 2 +- .../missing-close-brace-in-struct.stderr | 11 +- .../missing-close-brace-in-trait.rs | 3 +- .../missing-close-brace-in-trait.stderr | 20 +- .../missing-closing-angle-bracket-eq-constraint.rs | 2 +- ...sing-closing-angle-bracket-eq-constraint.stderr | 12 +- tests/ui/parser/missing-expression-in-for-loop.rs | 5 + .../parser/missing-expression-in-for-loop.stderr | 13 + tests/ui/parser/missing_right_paren.rs | 3 +- tests/ui/parser/missing_right_paren.stderr | 25 +- tests/ui/parser/parser-recovery-1.rs | 3 - tests/ui/parser/parser-recovery-1.stderr | 25 +- tests/ui/parser/parser-recovery-2.rs | 5 +- tests/ui/parser/parser-recovery-2.stderr | 21 +- tests/ui/parser/raw/too-many-hash.rs | 6 + tests/ui/parser/raw/too-many-hash.stderr | 8 + .../ui/parser/recover-fn-ptr-with-generics.stderr | 12 +- tests/ui/parser/recover-quantified-closure.rs | 2 +- tests/ui/parser/recover-quantified-closure.stderr | 4 +- tests/ui/parser/recover-range-pats.stderr | 6 +- .../parser/suggest_misplaced_generics/enum.fixed | 9 + tests/ui/parser/suggest_misplaced_generics/enum.rs | 9 + .../parser/suggest_misplaced_generics/enum.stderr | 14 + .../existing_generics.rs | 9 + .../existing_generics.stderr | 10 + .../fn-complex-generics.fixed | 9 + .../fn-complex-generics.rs | 9 + .../fn-complex-generics.stderr | 14 + .../fn-invalid-generics.rs | 8 + .../fn-invalid-generics.stderr | 8 + .../suggest_misplaced_generics/fn-simple.fixed | 9 + .../parser/suggest_misplaced_generics/fn-simple.rs | 9 + .../suggest_misplaced_generics/fn-simple.stderr | 14 + .../parser/suggest_misplaced_generics/struct.fixed | 9 + .../ui/parser/suggest_misplaced_generics/struct.rs | 9 + .../suggest_misplaced_generics/struct.stderr | 14 + .../parser/suggest_misplaced_generics/trait.fixed | 11 + .../ui/parser/suggest_misplaced_generics/trait.rs | 11 + .../parser/suggest_misplaced_generics/trait.stderr | 14 + .../parser/suggest_misplaced_generics/type.fixed | 9 + tests/ui/parser/suggest_misplaced_generics/type.rs | 9 + .../parser/suggest_misplaced_generics/type.stderr | 14 + tests/ui/parser/trait-object-delimiters.rs | 2 + tests/ui/parser/trait-object-delimiters.stderr | 28 +- tests/ui/parser/type-ascription-in-pattern.rs | 16 + tests/ui/parser/type-ascription-in-pattern.stderr | 54 + tests/ui/parser/unclosed-delimiter-in-dep.rs | 1 - tests/ui/parser/unclosed-delimiter-in-dep.stderr | 14 +- tests/ui/parser/use-unclosed-brace.rs | 2 - tests/ui/parser/use-unclosed-brace.stderr | 20 +- ...ther-can-live-while-the-other-survives-1.stderr | 8 +- .../borrowck-pat-at-and-box.stderr | 32 +- .../borrowck-pat-by-move-and-ref.stderr | 120 +- .../borrowck-pat-ref-mut-and-ref.stderr | 144 +- .../borrowck-pat-ref-mut-twice.stderr | 96 +- ...ult-binding-modes-both-sides-independent.stderr | 16 +- tests/ui/pattern/for-loop-bad-item.stderr | 2 +- ...-67037-pat-tup-scrut-ty-diff-less-fields.stderr | 2 +- .../borrowck-move-ref-pattern.stderr | 2 + .../pattern/pat-struct-field-expr-has-type.stderr | 2 +- tests/ui/pattern/pat-type-err-formal-param.stderr | 2 +- tests/ui/pattern/pat-type-err-let-stmt.stderr | 8 +- tests/ui/pattern/pattern-error-continue.rs | 2 +- tests/ui/pattern/pattern-error-continue.stderr | 2 +- .../ui/pattern/pattern-ident-path-generics.stderr | 2 +- tests/ui/pattern/pattern-tyvar.stderr | 2 +- ...to-type-err-cause-on-impl-trait-return-2.stderr | 2 +- tests/ui/print_type_sizes/async.stdout | 14 +- tests/ui/print_type_sizes/generator.stdout | 10 +- .../generator_discr_placement.stdout | 6 +- tests/ui/privacy/privacy1.rs | 2 +- tests/ui/privacy/privacy1.stderr | 6 +- tests/ui/privacy/private-impl-method.rs | 2 +- tests/ui/privacy/private-impl-method.stderr | 6 +- .../ui/privacy/private-in-public-ill-formed.stderr | 8 +- tests/ui/privacy/private-method-cross-crate.rs | 2 +- tests/ui/privacy/private-method-cross-crate.stderr | 6 +- tests/ui/privacy/private-method-inherited.rs | 2 +- tests/ui/privacy/private-method-inherited.stderr | 6 +- tests/ui/privacy/private-method.rs | 2 +- tests/ui/privacy/private-method.stderr | 6 +- tests/ui/privacy/restricted/test.stderr | 18 +- tests/ui/proc-macro/allowed-signatures.rs | 26 + tests/ui/proc-macro/break-token-spans.stderr | 2 +- tests/ui/proc-macro/crt-static.rs | 3 + tests/ui/proc-macro/issue-37788.stderr | 2 +- tests/ui/proc-macro/proc-macro-abi.rs | 31 + tests/ui/proc-macro/proc-macro-abi.stderr | 20 + tests/ui/proc-macro/resolved-located-at.stderr | 2 +- .../proc-macro/signature-proc-macro-attribute.rs | 32 + .../signature-proc-macro-attribute.stderr | 42 + tests/ui/proc-macro/signature-proc-macro-derive.rs | 31 + .../proc-macro/signature-proc-macro-derive.stderr | 40 + tests/ui/proc-macro/signature-proc-macro.rs | 31 + tests/ui/proc-macro/signature-proc-macro.stderr | 40 + tests/ui/proc-macro/signature.rs | 6 +- tests/ui/proc-macro/signature.stderr | 46 +- tests/ui/process/process-sigpipe.rs | 1 + tests/ui/pub/pub-ident-fn-3.rs | 8 - tests/ui/pub/pub-ident-fn-3.stderr | 8 - tests/ui/pub/pub-ident-fn-or-struct-2.rs | 4 - tests/ui/pub/pub-ident-fn-or-struct-2.stderr | 8 - tests/ui/pub/pub-ident-struct-2.rs | 8 + tests/ui/pub/pub-ident-struct-2.stderr | 13 + tests/ui/pub/pub-ident-struct-3.rs | 4 + tests/ui/pub/pub-ident-struct-3.stderr | 13 + tests/ui/pub/pub-ident-struct-4.fixed | 6 + tests/ui/pub/pub-ident-struct-4.rs | 6 + tests/ui/pub/pub-ident-struct-4.stderr | 13 + .../no-query-in-printing-during-query-descr.rs | 6 + .../no-query-in-printing-during-query-descr.stderr | 9 + tests/ui/range/issue-54505-no-literals.stderr | 24 +- tests/ui/range/issue-54505-no-std.stderr | 12 +- tests/ui/range/issue-54505.stderr | 12 +- .../issue-73553-misinterp-range-literal.stderr | 4 +- tests/ui/recursion/issue-83150.stderr | 4 +- tests/ui/recursion_limit/issue-105700.rs | 9 + tests/ui/recursion_limit/issue-105700.stderr | 10 + tests/ui/recursion_limit/issue-40003.rs | 178 + ...-not-suggest-adding-bound-to-opaque-type.stderr | 2 + tests/ui/regions/higher-ranked-implied.rs | 14 + tests/ui/regions/higher-ranked-implied.stderr | 21 + tests/ui/regions/issue-102374.stderr | 2 +- ...gion-lifetime-bounds-on-fns-where-clause.stderr | 1 + ...iple-lifetime-bounds-on-fns-where-clause.stderr | 1 + tests/ui/regions/regions-addr-of-arg.stderr | 2 + .../regions-early-bound-error-method.stderr | 2 +- .../regions-fn-subtyping-return-static-fail.stderr | 1 + .../regions-free-region-ordering-caller1.stderr | 2 + .../regions-free-region-ordering-incorrect.stderr | 2 +- ...-region-outlives-static-outlives-free-region.rs | 2 + ...ion-outlives-static-outlives-free-region.stderr | 7 +- .../regions/regions-infer-proc-static-upvar.stderr | 2 + .../regions/regions-lifetime-bounds-on-fns.stderr | 1 + tests/ui/regions/regions-mock-codegen.rs | 8 +- tests/ui/regions/regions-nested-fns.stderr | 2 + .../regions-pattern-typing-issue-19552.stderr | 2 + .../regions-pattern-typing-issue-19997.stderr | 4 +- tests/ui/regions/regions-static-bound-rpass.rs | 2 + tests/ui/regions/regions-static-bound-rpass.stderr | 11 +- tests/ui/regions/regions-static-bound.rs | 8 +- tests/ui/regions/regions-static-bound.stderr | 30 +- tests/ui/regions/resolve-re-error-ice.rs | 22 + tests/ui/regions/resolve-re-error-ice.stderr | 15 + tests/ui/reify-intrinsic.stderr | 5 +- tests/ui/repeat-expr/repeat_count.rs | 2 +- tests/ui/repeat-expr/repeat_count.stderr | 2 +- tests/ui/repr/16-bit-repr-c-enum.rs | 52 + tests/ui/resolve/issue-108529.rs | 8 + tests/ui/resolve/issue-108529.stderr | 9 + tests/ui/resolve/name-clash-nullary.stderr | 2 +- tests/ui/resolve/privacy-enum-ctor.stderr | 6 +- tests/ui/resolve/resolve-inconsistent-names.stderr | 2 +- tests/ui/resolve/resolve-primitive-fallback.stderr | 9 +- tests/ui/resolve/token-error-correct-2.rs | 1 - tests/ui/resolve/token-error-correct-2.stderr | 10 +- tests/ui/resolve/token-error-correct-3.rs | 5 +- tests/ui/resolve/token-error-correct-3.stderr | 26 +- tests/ui/resolve/token-error-correct-4.fixed | 10 - tests/ui/resolve/token-error-correct-4.rs | 5 +- tests/ui/resolve/token-error-correct-4.stderr | 18 +- tests/ui/resolve/token-error-correct.rs | 1 - tests/ui/resolve/token-error-correct.stderr | 10 +- tests/ui/return/return-type.stderr | 2 +- .../ui/return/tail-expr-as-potential-return.stderr | 4 +- .../ui/rfc-2005-default-binding-mode/const.stderr | 2 +- tests/ui/rfc-2005-default-binding-mode/lit.stderr | 4 +- .../borrowck-non-exhaustive.stderr | 2 +- .../uninhabited/coercions.stderr | 8 +- .../uninhabited/coercions_same_crate.stderr | 8 +- tests/ui/rfc-2091-track-caller/call-chain.rs | 2 +- .../rfc-2091-track-caller/error-with-main.stderr | 2 +- tests/ui/rfc-2294-if-let-guard/typeck.stderr | 4 +- .../ui/rfc-2457/mod_file_nonascii_forbidden.stderr | 2 +- .../disallowed-positions.stderr | 46 +- ...t-else-does-not-interact-with-let-chains.stderr | 13 +- .../const-closure-parse-not-item.rs | 10 + .../const_derives/derive-const-with-params.rs | 13 + .../do-not-const-check-override.rs | 19 + .../do-not-const-check.rs | 18 + .../function-pointer-does-not-require-const.rs | 8 + .../rfc-2396-target_feature-11/fn-ptr.mir.stderr | 6 + .../rfc-2396-target_feature-11/fn-ptr.thir.stderr | 6 + .../feature-gate.stderr | 2 +- .../issue-92010-trait-bound-not-satisfied.stderr | 2 +- .../lifetime-update.stderr | 3 + .../type-generic-update.stderr | 4 +- tests/ui/runtime/out-of-stack.rs | 1 + tests/ui/runtime/signal-alternate-stack-cleanup.rs | 1 + .../edition-lint-infer-outlives-multispan.rs | 20 + .../edition-lint-infer-outlives-multispan.stderr | 58 +- .../ui/rust-2018/edition-lint-infer-outlives.fixed | 9 + tests/ui/rust-2018/edition-lint-infer-outlives.rs | 9 + .../rust-2018/edition-lint-infer-outlives.stderr | 14 +- tests/ui/rust-2018/remove-extern-crate.fixed | 10 + tests/ui/rust-2018/remove-extern-crate.rs | 10 + tests/ui/rust-2018/remove-extern-crate.stderr | 22 +- tests/ui/sanitize/cfg-kasan.rs | 28 + tests/ui/sanitize/memory-eager.rs | 1 - .../emit-notifications.polonius.stderr | 2 - tests/ui/save-analysis/emit-notifications.rs | 7 - tests/ui/save-analysis/emit-notifications.stderr | 2 - tests/ui/save-analysis/issue-26459.rs | 8 - tests/ui/save-analysis/issue-26459.stderr | 9 - tests/ui/save-analysis/issue-37323.rs | 20 - tests/ui/save-analysis/issue-59134-0.rs | 12 - tests/ui/save-analysis/issue-59134-0.stderr | 9 - tests/ui/save-analysis/issue-59134-1.rs | 12 - tests/ui/save-analysis/issue-59134-1.stderr | 9 - tests/ui/save-analysis/issue-63663.rs | 28 - tests/ui/save-analysis/issue-64659.rs | 10 - tests/ui/save-analysis/issue-65411.rs | 15 - tests/ui/save-analysis/issue-65590.rs | 21 - tests/ui/save-analysis/issue-68621.rs | 17 - tests/ui/save-analysis/issue-68621.stderr | 10 - tests/ui/save-analysis/issue-72267.rs | 7 - tests/ui/save-analysis/issue-72267.stderr | 15 - tests/ui/save-analysis/issue-73020.rs | 5 - tests/ui/save-analysis/issue-73020.stderr | 9 - tests/ui/save-analysis/issue-73022.rs | 13 - tests/ui/save-analysis/issue-89066.rs | 28 - tests/ui/save-analysis/issue-89066.stderr | 39 - ...self_types_pin_lifetime_impl_trait-async.stderr | 5 +- ...trary_self_types_pin_lifetime_impl_trait.stderr | 5 +- ...y_self_types_pin_lifetime_mismatch-async.stderr | 6 +- ...bitrary_self_types_pin_lifetime_mismatch.stderr | 6 +- .../arbitrary_self_types_pointers_and_wrappers.rs | 22 + tests/ui/self/elision/lt-ref-self-async.stderr | 12 +- tests/ui/self/elision/lt-ref-self.stderr | 12 +- tests/ui/self/elision/ref-mut-self-async.stderr | 12 +- tests/ui/self/elision/ref-mut-self.stderr | 12 +- tests/ui/self/elision/ref-mut-struct-async.stderr | 10 +- tests/ui/self/elision/ref-mut-struct.stderr | 10 +- tests/ui/self/elision/ref-self-async.stderr | 14 +- tests/ui/self/elision/ref-self.stderr | 14 +- tests/ui/self/elision/ref-struct-async.stderr | 10 +- tests/ui/self/elision/ref-struct.stderr | 10 +- tests/ui/self/issue-61882-2.stderr | 2 + tests/ui/self/issue-61882.stderr | 2 +- tests/ui/seq-args.rs | 4 +- tests/ui/seq-args.stderr | 4 +- tests/ui/simd/intrinsic/generic-cast-pass.rs | 146 +- tests/ui/simd/intrinsic/generic-gather-pass.rs | 24 +- tests/ui/simd/issue-89193.rs | 11 +- tests/ui/single-use-lifetime/issue-107998.rs | 9 + tests/ui/single-use-lifetime/issue-107998.stderr | 30 + tests/ui/slightly-nice-generic-literal-messages.rs | 2 +- .../slightly-nice-generic-literal-messages.stderr | 2 +- .../borrowck-call-is-borrow-issue-12224.stderr | 3 + tests/ui/span/borrowck-let-suggestion-suffixes.rs | 1 + .../span/borrowck-let-suggestion-suffixes.stderr | 11 +- tests/ui/span/coerce-suggestions.stderr | 6 +- tests/ui/span/destructor-restrictions.stderr | 2 + ...ust-2021-incompatible-closure-captures-93117.rs | 12 +- ...2021-incompatible-closure-captures-93117.stderr | 93 +- tests/ui/span/dropck-object-cycle.stderr | 2 + tests/ui/span/dropck_arr_cycle_checked.stderr | 9 + tests/ui/span/dropck_direct_cycle_with_drop.stderr | 5 + tests/ui/span/dropck_misc_variants.stderr | 6 + tests/ui/span/dropck_vec_cycle_checked.stderr | 9 + tests/ui/span/issue-107353.rs | 9 + ...ue-23338-locals-die-before-temps-of-body.stderr | 4 + ...-24805-dropck-child-has-items-via-parent.stderr | 3 + .../span/issue-24805-dropck-trait-has-items.stderr | 9 + tests/ui/span/issue-24895-copy-clone-dropck.stderr | 3 + tests/ui/span/issue-25199.stderr | 2 + tests/ui/span/issue-26656.stderr | 3 + tests/ui/span/issue-29106.stderr | 6 + tests/ui/span/issue-33884.stderr | 2 +- tests/ui/span/issue-34264.stderr | 18 +- tests/ui/span/issue-36537.stderr | 2 + tests/ui/span/issue-37767.stderr | 12 +- tests/ui/span/issue-39018.stderr | 2 +- tests/ui/span/issue-40157.stderr | 9 +- .../issue-42234-unknown-receiver-type.full.stderr | 2 +- ...-42234-unknown-receiver-type.generic_arg.stderr | 2 +- .../span/issue28498-reject-lifetime-param.stderr | 3 + .../ui/span/issue28498-reject-passed-to-fn.stderr | 3 + tests/ui/span/issue28498-reject-trait-bound.stderr | 3 + tests/ui/span/missing-unit-argument.stderr | 4 +- tests/ui/span/mut-ptr-cant-outlive-ref.stderr | 2 + tests/ui/span/range-2.stderr | 8 +- .../span/regionck-unboxed-closure-lifetimes.stderr | 2 + .../regions-close-over-type-parameter-2.stderr | 2 + .../span/regions-escape-loop-via-variable.stderr | 4 +- tests/ui/span/regions-escape-loop-via-vec.stderr | 13 +- .../regions-infer-borrow-scope-within-loop.stderr | 3 + .../span/send-is-not-static-ensures-scoping.stderr | 1 + tests/ui/span/send-is-not-static-std-sync-2.stderr | 6 +- tests/ui/span/send-is-not-static-std-sync.stderr | 15 + tests/ui/span/type-annotations-needed-expr.stderr | 2 +- .../span/vec-must-not-hide-type-from-dropck.stderr | 6 + .../ui/span/vec_refs_data_with_early_death.stderr | 6 + tests/ui/span/wf-method-late-bound-regions.stderr | 1 + .../defaultimpl/specialization-no-default.stderr | 10 +- tests/ui/specialization/issue-50452-fail.stderr | 2 +- .../specialization/non-defaulted-item-fail.stderr | 12 +- .../specialization-default-types.stderr | 4 +- .../specialization-no-default.stderr | 10 +- .../unresolved_stability_lint.rs | 8 + .../unresolved_stability_lint.stderr | 9 + tests/ui/static/bad-const-type.rs | 2 +- tests/ui/static/bad-const-type.stderr | 2 +- tests/ui/static/issue-5216.stderr | 4 +- tests/ui/static/static-lifetime-bound.rs | 2 +- tests/ui/static/static-lifetime-bound.stderr | 12 +- tests/ui/static/static-reference-to-fn-1.stderr | 8 +- tests/ui/statics/uninhabited-static.stderr | 10 +- tests/ui/stats/hir-stats.rs | 6 +- tests/ui/stats/hir-stats.stderr | 208 +- tests/ui/stdlib-unit-tests/not-sync.stderr | 2 + tests/ui/str/str-lit-type-mismatch.stderr | 6 +- tests/ui/structs-enums/rec-align-u64.rs | 4 +- .../struct-enum-ignoring-field-with-underscore.rs | 3 +- ...ruct-enum-ignoring-field-with-underscore.stderr | 23 +- tests/ui/structs/struct-base-wrong-type.stderr | 8 +- tests/ui/structs/struct-path-associated-type.rs | 4 +- .../ui/structs/struct-path-associated-type.stderr | 4 +- .../structs/struct-path-self-type-mismatch.stderr | 2 +- tests/ui/structs/struct-record-suggestion.stderr | 2 +- .../structs/structure-constructor-type-mismatch.rs | 4 +- .../structure-constructor-type-mismatch.stderr | 10 +- tests/ui/suggest-null-ptr.fixed | 31 + tests/ui/suggest-null-ptr.rs | 31 + tests/ui/suggest-null-ptr.stderr | 83 + .../args-instead-of-tuple-errors.stderr | 22 +- tests/ui/suggestions/args-instead-of-tuple.stderr | 4 +- tests/ui/suggestions/as-ref.stderr | 22 +- tests/ui/suggestions/assoc-const-without-self.rs | 11 + .../ui/suggestions/assoc-const-without-self.stderr | 14 + .../suggestions/assoc-ct-for-assoc-method.stderr | 2 +- tests/ui/suggestions/borrow-for-loop-head.stderr | 2 + tests/ui/suggestions/boxed-variant-field.stderr | 2 +- tests/ui/suggestions/call-boxed.stderr | 2 +- .../chain-method-call-mutation-in-place.stderr | 2 +- ...one-on-unconstrained-borrowed-type-param.stderr | 2 +- tests/ui/suggestions/const-in-struct-pat.stderr | 2 +- tests/ui/suggestions/constrain-suggest-ice.rs | 10 +- tests/ui/suggestions/constrain-suggest-ice.stderr | 61 +- tests/ui/suggestions/copied-and-cloned.stderr | 8 +- ...t-suggest-deref-inside-macro-issue-58298.stderr | 2 +- .../hidden-child.stderr | 2 +- .../hidden-parent.stderr | 2 +- .../expected-boxed-future-isnt-pinned.stderr | 8 +- tests/ui/suggestions/field-access.stderr | 8 +- .../fn-or-tuple-struct-without-args.stderr | 14 +- tests/ui/suggestions/format-borrow.stderr | 8 +- tests/ui/suggestions/if-then-neeing-semi.rs | 26 +- tests/ui/suggestions/if-then-neeing-semi.stderr | 46 +- ...m-ref-trait-object-literal-bound-regions.stderr | 2 +- ...-on-dyn-trait-with-implicit-static-bound.stderr | 8 +- tests/ui/suggestions/into-convert.stderr | 6 +- tests/ui/suggestions/issue-101065.stderr | 2 +- tests/ui/suggestions/issue-101421.rs | 2 +- tests/ui/suggestions/issue-101421.stderr | 4 +- tests/ui/suggestions/issue-101465.stderr | 2 +- tests/ui/suggestions/issue-101984.stderr | 2 +- tests/ui/suggestions/issue-102892.stderr | 6 +- tests/ui/suggestions/issue-104287.rs | 2 +- tests/ui/suggestions/issue-104287.stderr | 4 +- tests/ui/suggestions/issue-104961.fixed | 16 + tests/ui/suggestions/issue-104961.rs | 16 + tests/ui/suggestions/issue-104961.stderr | 37 + tests/ui/suggestions/issue-105494.stderr | 8 +- .../issue-106443-sugg-clone-for-arg.stderr | 4 +- tests/ui/suggestions/issue-52820.stderr | 4 +- tests/ui/suggestions/issue-53692.stderr | 4 +- tests/ui/suggestions/issue-59819.stderr | 4 +- tests/ui/suggestions/issue-81839.stderr | 10 +- tests/ui/suggestions/issue-83943.stderr | 2 +- tests/ui/suggestions/issue-84973.stderr | 2 +- tests/ui/suggestions/issue-85347.rs | 2 +- tests/ui/suggestions/issue-85347.stderr | 2 +- .../issue-86100-tuple-paren-comma.stderr | 6 +- tests/ui/suggestions/issue-89064.stderr | 8 +- .../issue-90213-expected-boxfuture-self-ice.stderr | 2 +- .../late-bound-in-borrow-closure-sugg.rs | 28 + .../late-bound-in-borrow-closure-sugg.stderr | 26 + .../missing-lifetimes-in-signature.stderr | 4 +- tests/ui/suggestions/match-ergonomics.stderr | 6 +- .../ui/suggestions/match-prev-arm-needing-semi.rs | 26 +- .../suggestions/match-prev-arm-needing-semi.stderr | 46 +- ...ferent-arm-types-as-stmt-instead-of-expr.stderr | 4 +- .../method-access-to-range-literal-typo.stderr | 4 +- tests/ui/suggestions/missing-lifetime-specifier.rs | 20 +- .../suggestions/missing-lifetime-specifier.stderr | 20 +- .../missing-type-param-used-in-param.stderr | 2 +- .../move-generic-to-trait-in-method-with-params.rs | 2 +- ...e-generic-to-trait-in-method-with-params.stderr | 4 +- tests/ui/suggestions/mut-ref-reassignment.stderr | 8 +- tests/ui/suggestions/opaque-type-error.stderr | 8 +- tests/ui/suggestions/option-content-move2.stderr | 2 +- tests/ui/suggestions/option-to-bool.stderr | 2 +- .../recover-from-semicolon-trailing-item.stderr | 4 +- .../suggestions/recover-invalid-float-invalid.rs | 24 + .../recover-invalid-float-invalid.stderr | 26 + tests/ui/suggestions/ref-pattern-binding.stderr | 8 +- .../suggestions/restrict-existing-type-bounds.rs | 30 + .../restrict-existing-type-bounds.stderr | 57 + tests/ui/suggestions/return-bindings.stderr | 12 +- .../ui/suggestions/shadowed-lplace-method-2.stderr | 2 +- tests/ui/suggestions/shadowed-lplace-method.stderr | 2 +- tests/ui/suggestions/sugg-else-for-closure.stderr | 2 +- tests/ui/suggestions/suggest-box.stderr | 2 +- .../ui/suggestions/suggest-call-on-pat-mismatch.rs | 16 + .../suggest-call-on-pat-mismatch.stderr | 33 + .../suggest-fn-ptr-for-fn-item-in-fn-ret.fixed | 12 + .../suggest-fn-ptr-for-fn-item-in-fn-ret.rs | 12 + .../suggest-fn-ptr-for-fn-item-in-fn-ret.stderr | 12 + ...ggest-full-enum-variant-for-local-module.stderr | 2 +- tests/ui/suggestions/suggest-remove-deref.fixed | 28 + tests/ui/suggestions/suggest-remove-deref.rs | 28 + tests/ui/suggestions/suggest-remove-deref.stderr | 43 + .../suggestions/suggest-trait-in-ufcs-in-hrtb.rs | 8 + .../suggest-trait-in-ufcs-in-hrtb.stderr | 9 + tests/ui/suggestions/suggest-using-chars.stderr | 4 +- tests/ui/suggestions/trait-hidden-method.rs | 11 + tests/ui/suggestions/trait-hidden-method.stderr | 24 + ...with-missing-associated-type-restriction.stderr | 2 +- .../type-ascription-instead-of-path-in-type.stderr | 2 +- tests/ui/suggestions/type-mismatch-byte-literal.rs | 12 + .../suggestions/type-mismatch-byte-literal.stderr | 45 +- ...necessary_dot_for_floating_point_literal.stderr | 8 +- .../use-type-argument-instead-of-assoc-type.rs | 2 +- .../use-type-argument-instead-of-assoc-type.stderr | 2 +- tests/ui/suppressed-error.rs | 2 +- tests/ui/suppressed-error.stderr | 2 +- tests/ui/switched-expectations.stderr | 2 +- tests/ui/symbol-names/basic.legacy.stderr | 4 +- tests/ui/symbol-names/issue-60925.legacy.stderr | 4 +- tests/ui/sync/mutexguard-sync.rs | 13 + tests/ui/sync/mutexguard-sync.stderr | 20 + tests/ui/sync/suggest-cell.rs | 31 + tests/ui/sync/suggest-cell.stderr | 59 + tests/ui/sync/suggest-once-cell.rs | 12 + tests/ui/sync/suggest-once-cell.stderr | 17 + tests/ui/sync/suggest-ref-cell.rs | 12 + tests/ui/sync/suggest-ref-cell.stderr | 17 + tests/ui/tag-that-dare-not-speak-its-name.rs | 2 +- tests/ui/tag-that-dare-not-speak-its-name.stderr | 2 +- tests/ui/terr-in-field.rs | 2 +- tests/ui/terr-in-field.stderr | 2 +- tests/ui/terr-sorts.stderr | 2 +- tests/ui/thir-print/thir-flat.rs | 4 + tests/ui/thir-print/thir-flat.stdout | 59 + tests/ui/thir-print/thir-tree-match.rs | 23 + tests/ui/thir-print/thir-tree-match.stdout | 342 + tests/ui/thir-print/thir-tree.rs | 4 + tests/ui/thir-print/thir-tree.stdout | 43 + tests/ui/thir-tree.rs | 4 - tests/ui/thir-tree.stdout | 56 - tests/ui/thread-local/tls.rs | 1 + tests/ui/tool-attributes/auxiliary/p1.rs | 3 + tests/ui/tool-attributes/auxiliary/p2.rs | 3 + tests/ui/tool-attributes/duplicate-diagnostic.rs | 13 + .../ui/tool-attributes/duplicate-diagnostic.stderr | 14 + tests/ui/track-diagnostics/track4.stderr | 2 +- tests/ui/traits/alias/ambiguous.stderr | 4 +- .../issue-107747-do-not-assemble-supertraits.rs | 21 + .../alias/issue-108072-unmet-trait-alias-bound.rs | 11 + .../issue-108072-unmet-trait-alias-bound.stderr | 19 + ...8132-unmet-trait-alias-bound-on-generic-impl.rs | 15 + ...-unmet-trait-alias-bound-on-generic-impl.stderr | 25 + tests/ui/traits/alias/issue-60755.rs | 12 + tests/ui/traits/alias/self-in-generics.rs | 4 - tests/ui/traits/alias/self-in-generics.stderr | 2 +- .../check-trait-object-bounds-3.stderr | 2 + tests/ui/traits/coercion-generic-regions.stderr | 2 + .../supertrait-auto-trait.stderr | 2 +- tests/ui/traits/issue-103563.rs | 75 + tests/ui/traits/issue-52893.stderr | 4 +- tests/ui/traits/issue-68295.stderr | 2 +- tests/ui/traits/issue-77982.stderr | 6 +- tests/ui/traits/item-privacy.rs | 4 +- tests/ui/traits/item-privacy.stderr | 12 +- tests/ui/traits/method-private.stderr | 6 +- .../traits/multidispatch-convert-ambig-dest.stderr | 2 +- .../negated-auto-traits-error.stderr | 4 +- tests/ui/traits/negative-impls/no-items.stderr | 2 +- .../alias_eq_cant_be_furthur_normalized.rs | 29 + ...alias_eq_dont_use_normalizes_to_if_substs_eq.rs | 45 + ...s_eq_dont_use_normalizes_to_if_substs_eq.stderr | 9 + tests/ui/traits/new-solver/alias_eq_simple.rs | 22 + .../alias_eq_substs_eq_not_intercrate.rs | 20 + .../alias_eq_substs_eq_not_intercrate.stderr | 9 + tests/ui/traits/new-solver/async.fail.stderr | 17 + tests/ui/traits/new-solver/async.rs | 19 + .../new-solver/builtin-fn-must-return-sized.rs | 17 + .../new-solver/builtin-fn-must-return-sized.stderr | 18 + .../ui/traits/new-solver/elaborate-item-bounds.rs | 12 + tests/ui/traits/new-solver/fn-trait-closure.rs | 9 +- tests/ui/traits/new-solver/generator.fail.stderr | 64 + tests/ui/traits/new-solver/generator.rs | 32 + .../traits/new-solver/higher-ranked-dyn-bounds.rs | 17 + tests/ui/traits/new-solver/more-object-bound.rs | 27 + .../ui/traits/new-solver/more-object-bound.stderr | 19 + ...rmalizes_to_ignores_unnormalizable_candidate.rs | 40 + ...ores_unnormalizable_candidate.self_infer.stderr | 14 + tests/ui/traits/new-solver/object-unsafety.rs | 20 + tests/ui/traits/new-solver/object-unsafety.stderr | 19 + .../param-candidate-doesnt-shadow-project.rs | 25 + tests/ui/traits/new-solver/pointee.rs | 23 + tests/ui/traits/new-solver/pointer-like.rs | 14 + tests/ui/traits/new-solver/pointer-like.stderr | 24 + tests/ui/traits/new-solver/pointer-sized.rs | 12 - tests/ui/traits/new-solver/pointer-sized.stderr | 24 - .../traits/new-solver/provisional-result-done.rs | 33 + tests/ui/traits/new-solver/temporary-ambiguity.rs | 22 + tests/ui/traits/new-solver/try-example.rs | 28 + ...wo-projection-param-candidates-are-ambiguous.rs | 30 + ...rojection-param-candidates-are-ambiguous.stderr | 16 + .../ui/traits/new-solver/unsafe-auto-trait-impl.rs | 8 + tests/ui/traits/new-solver/unsize-good.rs | 25 + tests/ui/traits/new-solver/upcast-right-substs.rs | 14 + tests/ui/traits/new-solver/upcast-wrong-substs.rs | 13 + .../traits/new-solver/upcast-wrong-substs.stderr | 14 + .../traits/non_lifetime_binders/bad-sized-cond.rs | 23 + .../non_lifetime_binders/bad-sized-cond.stderr | 62 + tests/ui/traits/non_lifetime_binders/basic.rs | 19 + tests/ui/traits/non_lifetime_binders/basic.stderr | 11 + tests/ui/traits/non_lifetime_binders/fail.rs | 23 + tests/ui/traits/non_lifetime_binders/fail.stderr | 43 + .../non_lifetime_binders/late-bound-in-anon-ct.rs | 11 + .../late-bound-in-anon-ct.stderr | 27 + .../object-lifetime-default-for-late.rs | 7 + .../object-lifetime-default-for-late.stderr | 11 + tests/ui/traits/non_lifetime_binders/on-dyn.rs | 13 + tests/ui/traits/non_lifetime_binders/on-dyn.stderr | 17 + tests/ui/traits/non_lifetime_binders/on-ptr.rs | 13 + tests/ui/traits/non_lifetime_binders/on-ptr.stderr | 17 + .../type-match-with-late-bound.rs | 14 + .../type-match-with-late-bound.stderr | 11 + .../object/enforce-supertrait-projection.stderr | 2 +- tests/ui/traits/object/vs-lifetime.rs | 4 +- tests/ui/traits/object/vs-lifetime.stderr | 4 +- .../traits/suggest-deferences/issue-39029.stderr | 4 +- tests/ui/traits/test-2.rs | 4 +- tests/ui/traits/test-2.stderr | 8 +- tests/ui/traits/trait-or-new-type-instead.stderr | 7 +- .../multiple_supertrait_upcastable.rs | 10 + .../multiple_supertrait_upcastable.stderr | 14 + tests/ui/traits/unsend-future.rs | 21 + tests/ui/traits/unsend-future.stderr | 24 + tests/ui/traits/vtable/issue-97381.stderr | 3 + .../should_require_well_defined_layout.stderr | 12 +- ...imitive_reprs_should_have_correct_length.stderr | 40 +- .../repr/should_require_well_defined_layout.stderr | 12 +- .../enums/should_pad_variants.stderr | 2 +- .../enums/should_respect_endianness.stderr | 2 +- tests/ui/transmutability/issue-101739-1.stderr | 2 +- tests/ui/transmutability/issue-101739-2.rs | 2 +- tests/ui/transmutability/issue-101739-2.stderr | 2 +- tests/ui/transmutability/primitives/bool.stderr | 2 +- tests/ui/transmutability/primitives/numbers.stderr | 114 +- tests/ui/transmutability/primitives/unit.stderr | 2 +- tests/ui/transmutability/references.stderr | 2 +- .../repr/should_require_well_defined_layout.stderr | 24 +- .../repr/should_require_well_defined_layout.stderr | 4 +- .../unions/should_pad_variants.stderr | 2 +- .../unions/should_reject_contraction.stderr | 2 +- .../unions/should_reject_disjoint.stderr | 4 +- .../unions/should_reject_intersecting.stderr | 4 +- .../should_reject_if_dst_has_private_field.stderr | 2 +- ...should_reject_if_dst_has_private_variant.stderr | 2 +- ...ould_reject_if_dst_has_unreachable_field.stderr | 2 +- .../should_reject_if_dst_has_unreachable_ty.stderr | 2 +- tests/ui/transmute/transmute-padding-ice.stderr | 2 +- tests/ui/treat-err-as-bug/delay_span_bug.stderr | 2 +- tests/ui/treat-err-as-bug/err.stderr | 2 +- tests/ui/try-block/try-block-bad-lifetime.stderr | 9 +- .../try-block/try-block-maybe-bad-lifetime.stderr | 8 +- tests/ui/tuple/add-tuple-within-arguments.stderr | 2 +- tests/ui/tuple/wrong_argument_ice-3.stderr | 11 +- tests/ui/tuple/wrong_argument_ice-4.stderr | 9 +- tests/ui/tuple/wrong_argument_ice.stderr | 2 +- .../enum-variant-generic-args.rs | 12 +- .../enum-variant-generic-args.stderr | 12 +- ...iant-priority-higher-than-other-inherent.stderr | 2 +- .../ui/type-alias-impl-trait/bounds-are-checked.rs | 3 +- .../bounds-are-checked.stderr | 15 +- .../generic_nondefining_use.rs | 2 +- .../generic_nondefining_use.stderr | 2 +- .../generic_type_does_not_live_long_enough.rs | 2 +- .../generic_type_does_not_live_long_enough.stderr | 2 +- .../implied_lifetime_wf_check3.rs | 3 - .../implied_lifetime_wf_check3.stderr | 34 +- .../imply_bounds_from_bounds_param.stderr | 4 +- tests/ui/type-alias-impl-trait/issue-63279.rs | 2 - tests/ui/type-alias-impl-trait/issue-63279.stderr | 12 +- .../issue-65679-inst-opaque-ty-from-val-twice.rs | 1 - tests/ui/type-alias-impl-trait/issue-98604.rs | 2 +- tests/ui/type-alias-impl-trait/issue-98604.stderr | 11 +- tests/ui/type-alias-impl-trait/issue-98608.rs | 2 +- tests/ui/type-alias-impl-trait/issue-98608.stderr | 4 +- .../ui/type-alias-impl-trait/match-unification.rs | 14 + .../missing_lifetime_bound.stderr | 2 + .../type-alias-impl-trait-fn-type.stderr | 2 +- .../type-alias-impl-trait/unnameable_type.stderr | 2 +- tests/ui/type-inference/issue-30225.stderr | 2 +- tests/ui/type-inference/sort_by_key.stderr | 2 +- tests/ui/type/issue-91268.rs | 4 - tests/ui/type/issue-91268.stderr | 55 +- .../type-ascription-instead-of-initializer.stderr | 9 +- tests/ui/type/type-ascription-precedence.stderr | 12 +- tests/ui/type/type-ascription-soundness.stderr | 8 +- tests/ui/type/type-check/assignment-in-if.stderr | 9 + .../type-check/cannot_infer_local_or_vec.stderr | 6 +- .../cannot_infer_local_or_vec_in_tuples.stderr | 6 +- .../type-check/coerce-result-return-value-2.rs | 24 + .../type-check/coerce-result-return-value-2.stderr | 47 + .../type-check/coerce-result-return-value.fixed | 24 + .../type/type-check/coerce-result-return-value.rs | 24 + .../type-check/coerce-result-return-value.stderr | 65 + .../ui/type/type-check/point-at-inference-2.stderr | 11 +- .../ui/type/type-check/point-at-inference-3.fixed | 3 +- tests/ui/type/type-check/point-at-inference-3.rs | 3 +- .../ui/type/type-check/point-at-inference-3.stderr | 7 +- tests/ui/type/type-check/point-at-inference-4.rs | 21 + .../ui/type/type-check/point-at-inference-4.stderr | 31 + tests/ui/type/type-check/point-at-inference.fixed | 13 + tests/ui/type/type-check/point-at-inference.rs | 1 + tests/ui/type/type-check/point-at-inference.stderr | 13 +- tests/ui/type/type-mismatch-same-crate-name.rs | 2 +- tests/ui/type/type-mismatch-same-crate-name.stderr | 8 +- tests/ui/type/type-mismatch.stderr | 94 +- ...rong-call-return-type-due-to-generic-arg.stderr | 2 +- tests/ui/typeck/assign-non-lval-derefmut.stderr | 2 +- tests/ui/typeck/bad-type-in-vec-contains.rs | 7 + tests/ui/typeck/bad-type-in-vec-contains.stderr | 19 + tests/ui/typeck/bad-type-in-vec-push.rs | 20 + tests/ui/typeck/bad-type-in-vec-push.stderr | 29 + tests/ui/typeck/conversion-methods.stderr | 8 +- tests/ui/typeck/deref-multi.stderr | 2 +- tests/ui/typeck/explain_clone_autoref.rs | 2 +- tests/ui/typeck/explain_clone_autoref.stderr | 2 +- tests/ui/typeck/issue-100246.stderr | 2 +- tests/ui/typeck/issue-104513-ice.stderr | 2 +- tests/ui/typeck/issue-107087.rs | 18 + tests/ui/typeck/issue-107087.stderr | 9 + tests/ui/typeck/issue-107775.rs | 40 + tests/ui/typeck/issue-107775.stderr | 16 + tests/ui/typeck/issue-13853.stderr | 4 +- tests/ui/typeck/issue-31173.stderr | 15 +- tests/ui/typeck/issue-46112.stderr | 2 +- tests/ui/typeck/issue-50687-ice-on-borrow.stderr | 2 +- tests/ui/typeck/issue-53712.rs | 9 + tests/ui/typeck/issue-53712.stderr | 11 + .../issue-57673-ice-on-deref-of-boxed-trait.stderr | 2 +- tests/ui/typeck/issue-67971.stderr | 2 +- tests/ui/typeck/issue-75883.rs | 4 +- tests/ui/typeck/issue-75883.stderr | 4 +- tests/ui/typeck/issue-7813.rs | 4 + tests/ui/typeck/issue-7813.stderr | 14 + tests/ui/typeck/issue-84160.stderr | 2 +- tests/ui/typeck/issue-84768.stderr | 4 +- tests/ui/typeck/issue-89856.fixed | 18 + tests/ui/typeck/issue-89856.rs | 14 +- tests/ui/typeck/issue-89856.stderr | 54 +- .../issue-90027-async-fn-return-suggestion.rs | 21 + .../issue-90027-async-fn-return-suggestion.stderr | 39 + tests/ui/typeck/issue-91334.rs | 3 - tests/ui/typeck/issue-91334.stderr | 47 +- tests/ui/typeck/issue-91450-inner-ty-error.stderr | 2 +- tests/ui/typeck/issue-92481.rs | 9 +- tests/ui/typeck/issue-92481.stderr | 61 +- tests/ui/typeck/issue-96530.stderr | 2 +- .../lazy-norm/cast-checks-handling-projections.rs | 6 + .../cast-checks-handling-projections.stderr | 9 + .../lazy-norm/equating-projection-cyclically.rs | 24 + .../equating-projection-cyclically.stderr | 14 + tests/ui/typeck/remove-extra-argument.stderr | 9 +- tests/ui/typeck/return_type_containing_closure.rs | 2 +- .../typeck/return_type_containing_closure.stderr | 2 +- tests/ui/typeck/struct-enum-wrong-args.stderr | 36 +- .../typeck/typeck-builtin-bound-type-parameters.rs | 12 +- .../typeck-builtin-bound-type-parameters.stderr | 12 +- tests/ui/typeck/typeck_type_placeholder_item.rs | 4 +- .../ui/typeck/typeck_type_placeholder_item.stderr | 34 +- .../typeck/typeck_type_placeholder_lifetime_1.rs | 2 +- .../typeck_type_placeholder_lifetime_1.stderr | 2 +- .../typeck/typeck_type_placeholder_lifetime_2.rs | 2 +- .../typeck_type_placeholder_lifetime_2.stderr | 2 +- .../ui/typeck/typeck_type_placeholder_mismatch.rs | 4 +- .../typeck/typeck_type_placeholder_mismatch.stderr | 4 +- tests/ui/ufcs/ufcs-qpath-missing-params.rs | 2 +- tests/ui/ufcs/ufcs-qpath-missing-params.stderr | 4 +- tests/ui/ufcs/ufcs-qpath-self-mismatch.stderr | 4 +- .../unboxed-closure-sugar-region.rs | 2 +- .../unboxed-closure-sugar-region.stderr | 2 +- .../unboxed-closure-sugar-used-on-struct-1.rs | 2 +- .../unboxed-closure-sugar-used-on-struct-1.stderr | 2 +- .../unboxed-closure-sugar-used-on-struct.rs | 2 +- .../unboxed-closure-sugar-used-on-struct.stderr | 2 +- ...-sugar-wrong-number-number-type-parameters-3.rs | 2 +- ...ar-wrong-number-number-type-parameters-3.stderr | 2 +- ...re-sugar-wrong-number-number-type-parameters.rs | 10 +- ...ugar-wrong-number-number-type-parameters.stderr | 10 +- .../unboxed-closure-sugar-wrong-trait.rs | 2 +- .../unboxed-closure-sugar-wrong-trait.stderr | 2 +- .../unboxed-closures-borrow-conflict.stderr | 2 +- .../unboxed-closures-failed-recursive-fn-1.stderr | 8 +- ...sures-infer-fn-once-move-from-projection.stderr | 2 +- ...unboxed-closures-static-call-wrong-trait.stderr | 2 +- tests/ui/uninhabited/issue-107505.rs | 18 + tests/ui/union/projection-as-union-type-error-2.rs | 20 + .../union/projection-as-union-type-error-2.stderr | 17 + tests/ui/union/projection-as-union-type-error.rs | 15 + .../ui/union/projection-as-union-type-error.stderr | 9 + tests/ui/union/projection-as-union-type.rs | 19 + tests/ui/unop-move-semantics.stderr | 5 + tests/ui/unpretty/ast-const-trait-bound.rs | 4 + tests/ui/unpretty/ast-const-trait-bound.stdout | 4 + tests/ui/unsized-locals/suggest-borrow.stderr | 4 +- tests/ui/unsized/box-instead-of-dyn-fn.stderr | 2 +- tests/ui/unsized/issue-71659.stderr | 2 +- .../param-mentioned-by-different-field.stderr | 2 +- tests/ui/unsized/unsized3-rpass.rs | 4 +- tests/ui/variance/variance-associated-types.rs | 2 +- tests/ui/variance/variance-associated-types.stderr | 2 +- tests/ui/variance/variance-issue-20533.stderr | 6 + tests/ui/variance/variance-regions-direct.rs | 12 +- tests/ui/variance/variance-regions-direct.stderr | 12 +- tests/ui/variance/variance-regions-indirect.rs | 8 +- tests/ui/variance/variance-regions-indirect.stderr | 8 +- tests/ui/variance/variance-trait-object-bound.rs | 2 +- .../ui/variance/variance-trait-object-bound.stderr | 2 +- tests/ui/variance/variance-types.rs | 2 +- tests/ui/variance/variance-types.stderr | 2 +- tests/ui/wait-forked-but-failed-child.rs | 1 + tests/ui/wf/wf-in-foreign-fn-decls-issue-80468.rs | 2 +- .../wf/wf-in-foreign-fn-decls-issue-80468.stderr | 25 +- tests/ui/wf/wf-unsafe-trait-obj-match.stderr | 2 +- .../higher-ranked-fn-type.quiet.stderr | 2 +- .../higher-ranked-fn-type.verbose.stderr | 2 +- .../where-clauses/self-in-where-clause-allowed.rs | 23 + .../self-in-where-clause-allowed.stderr | 15 + tests/ui/while/while-else-err.rs | 8 + tests/ui/while/while-else-err.stderr | 17 + tests/ui/while/while-else-let-else-err.rs | 8 + tests/ui/while/while-else-let-else-err.stderr | 17 + tests/ui/wrong-mul-method-signature.stderr | 6 +- tests/ui/xc-private-method2.rs | 4 +- tests/ui/xc-private-method2.stderr | 12 +- vendor/addr2line-0.17.0/.cargo-checksum.json | 1 + vendor/addr2line-0.17.0/CHANGELOG.md | 260 + vendor/addr2line-0.17.0/Cargo.lock | 430 ++ vendor/addr2line-0.17.0/Cargo.toml | 120 + vendor/addr2line-0.17.0/LICENSE-APACHE | 201 + vendor/addr2line-0.17.0/LICENSE-MIT | 25 + vendor/addr2line-0.17.0/README.md | 48 + vendor/addr2line-0.17.0/bench.plot.r | 23 + vendor/addr2line-0.17.0/benchmark.sh | 112 + vendor/addr2line-0.17.0/coverage.sh | 5 + vendor/addr2line-0.17.0/examples/addr2line.rs | 299 + vendor/addr2line-0.17.0/rustfmt.toml | 1 + vendor/addr2line-0.17.0/src/function.rs | 520 ++ vendor/addr2line-0.17.0/src/lazy.rs | 29 + vendor/addr2line-0.17.0/src/lib.rs | 1192 +++ vendor/addr2line-0.17.0/tests/correctness.rs | 91 + .../addr2line-0.17.0/tests/output_equivalence.rs | 145 + vendor/addr2line-0.17.0/tests/parse.rs | 118 + vendor/addr2line/.cargo-checksum.json | 2 +- vendor/addr2line/CHANGELOG.md | 27 + vendor/addr2line/Cargo.lock | 180 +- vendor/addr2line/Cargo.toml | 72 +- vendor/addr2line/examples/addr2line.rs | 212 +- vendor/addr2line/src/function.rs | 30 +- vendor/addr2line/src/lazy.rs | 24 +- vendor/addr2line/src/lib.rs | 246 +- vendor/addr2line/tests/correctness.rs | 11 +- vendor/addr2line/tests/output_equivalence.rs | 1 + vendor/addr2line/tests/parse.rs | 4 +- vendor/ansi_term/.cargo-checksum.json | 1 - vendor/ansi_term/Cargo.lock | 168 - vendor/ansi_term/Cargo.toml | 43 - vendor/ansi_term/LICENCE | 21 - vendor/ansi_term/README.md | 183 - vendor/ansi_term/examples/256_colours.rs | 73 - vendor/ansi_term/examples/basic_colours.rs | 18 - vendor/ansi_term/examples/rgb_colours.rs | 23 - vendor/ansi_term/src/ansi.rs | 374 - vendor/ansi_term/src/debug.rs | 134 - vendor/ansi_term/src/difference.rs | 179 - vendor/ansi_term/src/display.rs | 296 - vendor/ansi_term/src/lib.rs | 271 - vendor/ansi_term/src/style.rs | 521 -- vendor/ansi_term/src/util.rs | 81 - vendor/ansi_term/src/windows.rs | 61 - vendor/ansi_term/src/write.rs | 40 - vendor/anyhow/.cargo-checksum.json | 2 +- vendor/anyhow/Cargo.toml | 7 +- vendor/anyhow/README.md | 4 +- vendor/anyhow/src/context.rs | 19 +- vendor/anyhow/src/lib.rs | 2 +- vendor/anyhow/tests/test_ensure.rs | 1 - vendor/anyhow/tests/ui/empty-ensure.stderr | 5 + vendor/anyhow/tests/ui/no-impl.stderr | 2 +- vendor/anyhow/tests/ui/temporary-value.stderr | 2 +- vendor/backtrace/.cargo-checksum.json | 2 +- vendor/backtrace/Cargo.lock | 58 +- vendor/backtrace/Cargo.toml | 18 +- vendor/backtrace/src/backtrace/miri.rs | 6 +- vendor/backtrace/src/print.rs | 2 +- vendor/backtrace/src/symbolize/gimli.rs | 2 + .../src/symbolize/gimli/libs_dl_iterate_phdr.rs | 20 +- vendor/backtrace/src/symbolize/gimli/libs_macos.rs | 4 +- vendor/backtrace/src/symbolize/gimli/macho.rs | 4 +- .../symbolize/gimli/parse_running_mmaps_unix.rs | 242 + vendor/backtrace/src/windows.rs | 6 +- vendor/backtrace/tests/common/mod.rs | 14 + vendor/backtrace/tests/concurrent-panics.rs | 14 +- vendor/backtrace/tests/current-exe-mismatch.rs | 137 + vendor/backtrace/tests/skip_inner_frames.rs | 2 +- vendor/camino/.cargo-checksum.json | 2 +- vendor/camino/CHANGELOG.md | 8 + vendor/camino/Cargo.toml | 2 +- vendor/camino/release.toml | 8 + vendor/camino/src/lib.rs | 42 +- vendor/camino/src/proptest_impls.rs | 3 +- vendor/camino/tests/integration_tests.rs | 2 +- vendor/cargo_metadata/.cargo-checksum.json | 2 +- vendor/cargo_metadata/CHANGELOG.md | 38 + vendor/cargo_metadata/Cargo.toml | 5 +- vendor/cargo_metadata/src/errors.rs | 82 +- vendor/cargo_metadata/src/lib.rs | 154 +- vendor/cargo_metadata/src/messages.rs | 3 + vendor/cargo_metadata/tests/test_samples.rs | 27 +- vendor/cc/.cargo-checksum.json | 2 +- vendor/cc/Cargo.lock | 6 +- vendor/cc/Cargo.toml | 2 +- vendor/cc/src/lib.rs | 95 +- vendor/compiler_builtins/.cargo-checksum.json | 2 +- vendor/compiler_builtins/Cargo.lock | 2 +- vendor/compiler_builtins/Cargo.toml | 2 +- vendor/compiler_builtins/src/float/conv.rs | 20 +- vendor/compiler_builtins/src/int/shift.rs | 9 + vendor/dissimilar/.cargo-checksum.json | 2 +- vendor/dissimilar/Cargo.toml | 10 +- vendor/dissimilar/LICENSE-APACHE | 25 - vendor/dissimilar/README.md | 6 +- vendor/dissimilar/src/find.rs | 14 +- vendor/dissimilar/src/lib.rs | 169 +- vendor/dissimilar/src/range.rs | 49 +- vendor/dissimilar/src/tests.rs | 131 +- vendor/dissimilar/tests/test.rs | 16 +- vendor/elsa/.cargo-checksum.json | 1 + vendor/elsa/Cargo.lock | 39 + vendor/elsa/Cargo.toml | 47 + vendor/elsa/LICENSE-APACHE | 201 + vendor/elsa/LICENSE-MIT | 27 + vendor/elsa/README.md | 19 + vendor/elsa/examples/arena.rs | 56 + vendor/elsa/examples/fluentresource.rs | 50 + vendor/elsa/examples/mutable_arena.rs | 79 + vendor/elsa/examples/string_interner.rs | 61 + vendor/elsa/examples/sync.rs | 26 + vendor/elsa/src/index_map.rs | 215 + vendor/elsa/src/index_set.rs | 180 + vendor/elsa/src/lib.rs | 29 + vendor/elsa/src/map.rs | 451 ++ vendor/elsa/src/sync.rs | 624 ++ vendor/elsa/src/vec.rs | 347 + vendor/ena/.cargo-checksum.json | 2 +- vendor/ena/Cargo.toml | 23 +- vendor/ena/README.md | 2 +- vendor/ena/src/unify/mod.rs | 24 +- vendor/filetime/.cargo-checksum.json | 2 +- vendor/filetime/Cargo.toml | 2 +- vendor/filetime/src/unix/linux.rs | 33 +- vendor/filetime/src/unix/mod.rs | 15 +- vendor/flate2/.cargo-checksum.json | 2 +- vendor/flate2/Cargo.lock | 38 +- vendor/flate2/Cargo.toml | 8 +- vendor/gimli-0.26.2/.cargo-checksum.json | 1 + vendor/gimli-0.26.2/CHANGELOG.md | 873 +++ vendor/gimli-0.26.2/CONTRIBUTING.md | 137 + vendor/gimli-0.26.2/Cargo.lock | 358 + vendor/gimli-0.26.2/Cargo.toml | 146 + vendor/gimli-0.26.2/LICENSE-APACHE | 201 + vendor/gimli-0.26.2/LICENSE-MIT | 25 + vendor/gimli-0.26.2/README.md | 78 + vendor/gimli-0.26.2/benches/bench.rs | 807 +++ vendor/gimli-0.26.2/examples/dwarf-validate.rs | 267 + vendor/gimli-0.26.2/examples/dwarfdump.rs | 2417 +++++++ vendor/gimli-0.26.2/examples/simple.rs | 67 + vendor/gimli-0.26.2/examples/simple_line.rs | 106 + vendor/gimli-0.26.2/fixtures/self/README.md | 147 + vendor/gimli-0.26.2/fixtures/self/debug_abbrev | Bin 0 -> 1865 bytes vendor/gimli-0.26.2/fixtures/self/debug_aranges | Bin 0 -> 16304 bytes vendor/gimli-0.26.2/fixtures/self/debug_info | Bin 0 -> 392832 bytes vendor/gimli-0.26.2/fixtures/self/debug_inlined | Bin 0 -> 25062 bytes vendor/gimli-0.26.2/fixtures/self/debug_line | Bin 0 -> 109251 bytes vendor/gimli-0.26.2/fixtures/self/debug_loc | Bin 0 -> 283588 bytes vendor/gimli-0.26.2/fixtures/self/debug_pubnames | Bin 0 -> 138556 bytes vendor/gimli-0.26.2/fixtures/self/debug_pubtypes | Bin 0 -> 52984 bytes vendor/gimli-0.26.2/fixtures/self/debug_ranges | Bin 0 -> 186016 bytes vendor/gimli-0.26.2/fixtures/self/debug_str | Bin 0 -> 145794 bytes vendor/gimli-0.26.2/fixtures/self/eh_frame | Bin 0 -> 147656 bytes vendor/gimli-0.26.2/fixtures/self/eh_frame_hdr | Bin 0 -> 108732 bytes vendor/gimli-0.26.2/rustfmt.toml | 0 vendor/gimli-0.26.2/src/arch.rs | 603 ++ vendor/gimli-0.26.2/src/common.rs | 363 + vendor/gimli-0.26.2/src/constants.rs | 1425 ++++ vendor/gimli-0.26.2/src/endianity.rs | 256 + vendor/gimli-0.26.2/src/leb128.rs | 612 ++ vendor/gimli-0.26.2/src/lib.rs | 76 + vendor/gimli-0.26.2/src/read/abbrev.rs | 996 +++ vendor/gimli-0.26.2/src/read/addr.rs | 128 + vendor/gimli-0.26.2/src/read/aranges.rs | 660 ++ vendor/gimli-0.26.2/src/read/cfi.rs | 7585 ++++++++++++++++++++ vendor/gimli-0.26.2/src/read/dwarf.rs | 1143 +++ vendor/gimli-0.26.2/src/read/endian_reader.rs | 639 ++ vendor/gimli-0.26.2/src/read/endian_slice.rs | 350 + vendor/gimli-0.26.2/src/read/index.rs | 535 ++ vendor/gimli-0.26.2/src/read/line.rs | 3030 ++++++++ vendor/gimli-0.26.2/src/read/lists.rs | 68 + vendor/gimli-0.26.2/src/read/loclists.rs | 1514 ++++ vendor/gimli-0.26.2/src/read/lookup.rs | 202 + vendor/gimli-0.26.2/src/read/mod.rs | 821 +++ vendor/gimli-0.26.2/src/read/op.rs | 4114 +++++++++++ vendor/gimli-0.26.2/src/read/pubnames.rs | 141 + vendor/gimli-0.26.2/src/read/pubtypes.rs | 141 + vendor/gimli-0.26.2/src/read/reader.rs | 502 ++ vendor/gimli-0.26.2/src/read/rnglists.rs | 1354 ++++ vendor/gimli-0.26.2/src/read/str.rs | 321 + vendor/gimli-0.26.2/src/read/unit.rs | 6146 ++++++++++++++++ vendor/gimli-0.26.2/src/read/util.rs | 250 + vendor/gimli-0.26.2/src/read/value.rs | 1621 +++++ vendor/gimli-0.26.2/src/test_util.rs | 53 + vendor/gimli-0.26.2/src/write/abbrev.rs | 188 + vendor/gimli-0.26.2/src/write/cfi.rs | 1025 +++ vendor/gimli-0.26.2/src/write/dwarf.rs | 138 + vendor/gimli-0.26.2/src/write/endian_vec.rs | 117 + vendor/gimli-0.26.2/src/write/line.rs | 1960 +++++ vendor/gimli-0.26.2/src/write/loc.rs | 549 ++ vendor/gimli-0.26.2/src/write/mod.rs | 425 ++ vendor/gimli-0.26.2/src/write/op.rs | 1621 +++++ vendor/gimli-0.26.2/src/write/range.rs | 415 ++ vendor/gimli-0.26.2/src/write/section.rs | 172 + vendor/gimli-0.26.2/src/write/str.rs | 172 + vendor/gimli-0.26.2/src/write/unit.rs | 3157 ++++++++ vendor/gimli-0.26.2/src/write/writer.rs | 497 ++ vendor/gimli-0.26.2/tests/convert_self.rs | 158 + vendor/gimli-0.26.2/tests/parse_self.rs | 431 ++ vendor/gimli/.cargo-checksum.json | 2 +- vendor/gimli/CHANGELOG.md | 21 + vendor/gimli/Cargo.lock | 120 +- vendor/gimli/Cargo.toml | 4 +- vendor/gimli/README.md | 4 +- vendor/gimli/clippy.toml | 1 + vendor/gimli/examples/dwarfdump.rs | 164 +- vendor/gimli/src/arch.rs | 148 + vendor/gimli/src/lib.rs | 15 +- vendor/gimli/src/read/abbrev.rs | 129 +- vendor/gimli/src/read/cfi.rs | 23 +- vendor/gimli/src/read/dwarf.rs | 26 +- vendor/gimli/src/read/endian_slice.rs | 6 +- vendor/gimli/src/read/lazy.rs | 116 + vendor/gimli/src/read/line.rs | 2 - vendor/gimli/src/read/loclists.rs | 241 +- vendor/gimli/src/read/mod.rs | 3 + vendor/gimli/src/read/op.rs | 7 +- vendor/gimli/src/read/rnglists.rs | 206 +- vendor/gimli/src/read/unit.rs | 13 +- vendor/gimli/src/read/util.rs | 5 +- vendor/gimli/src/write/line.rs | 5 +- vendor/gimli/src/write/loc.rs | 3 +- vendor/gimli/src/write/op.rs | 15 +- vendor/gimli/src/write/range.rs | 3 +- vendor/gimli/src/write/section.rs | 2 +- vendor/gimli/src/write/unit.rs | 17 +- vendor/gimli/src/write/writer.rs | 5 +- vendor/hermit-abi/.cargo-checksum.json | 2 +- vendor/hermit-abi/Cargo.toml | 13 +- vendor/hermit-abi/src/net.rs | 232 + vendor/hermit-abi/src/net_old.rs | 302 + vendor/icu_list/.cargo-checksum.json | 2 +- vendor/icu_list/Cargo.lock | 761 +- vendor/icu_list/Cargo.toml | 43 +- vendor/icu_list/examples/and_list.rs | 4 +- vendor/icu_list/src/lazy_automaton.rs | 79 + vendor/icu_list/src/lib.rs | 3 +- vendor/icu_list/src/list_formatter.rs | 43 +- vendor/icu_list/src/patterns.rs | 283 + vendor/icu_list/src/provider.rs | 465 -- vendor/icu_list/src/provider/mod.rs | 261 + vendor/icu_list/src/provider/serde_dfa.rs | 244 + vendor/icu_list/src/string_matcher.rs | 213 - vendor/icu_locid/.cargo-checksum.json | 2 +- vendor/icu_locid/Cargo.lock | 132 +- vendor/icu_locid/Cargo.toml | 30 +- vendor/icu_locid/README.md | 31 +- vendor/icu_locid/benches/iai_langid.rs | 8 + vendor/icu_locid/examples/filter_langids.rs | 5 +- vendor/icu_locid/src/extensions/mod.rs | 29 +- vendor/icu_locid/src/extensions/other/mod.rs | 61 +- vendor/icu_locid/src/extensions/other/subtag.rs | 6 +- vendor/icu_locid/src/extensions/private/mod.rs | 26 +- .../icu_locid/src/extensions/transform/fields.rs | 30 +- vendor/icu_locid/src/extensions/transform/mod.rs | 6 +- vendor/icu_locid/src/extensions/transform/value.rs | 35 +- .../icu_locid/src/extensions/unicode/attributes.rs | 15 +- .../icu_locid/src/extensions/unicode/keywords.rs | 65 +- vendor/icu_locid/src/extensions/unicode/mod.rs | 46 +- vendor/icu_locid/src/extensions/unicode/value.rs | 33 +- vendor/icu_locid/src/helpers.rs | 46 +- vendor/icu_locid/src/langid.rs | 109 +- vendor/icu_locid/src/lib.rs | 32 +- vendor/icu_locid/src/locale.rs | 106 +- vendor/icu_locid/src/parser/errors.rs | 16 + vendor/icu_locid/src/parser/langid.rs | 47 +- vendor/icu_locid/src/parser/locale.rs | 6 +- vendor/icu_locid/src/parser/mod.rs | 231 +- vendor/icu_locid/src/subtags/language.rs | 11 +- vendor/icu_locid/src/subtags/variants.rs | 28 +- .../tests/fixtures/invalid-extensions.json | 40 + vendor/icu_locid/tests/fixtures/invalid.json | 49 + vendor/icu_locid/tests/fixtures/mod.rs | 1 + vendor/icu_locid/tests/langid.rs | 15 +- vendor/icu_locid/tests/locale.rs | 16 +- vendor/icu_provider/.cargo-checksum.json | 2 +- vendor/icu_provider/Cargo.toml | 49 +- vendor/icu_provider/README.md | 2 +- vendor/icu_provider/src/any.rs | 60 +- vendor/icu_provider/src/buf.rs | 6 +- vendor/icu_provider/src/constructors.rs | 6 +- vendor/icu_provider/src/datagen/mod.rs | 2 +- vendor/icu_provider/src/error.rs | 12 +- vendor/icu_provider/src/hello_world.rs | 2 + vendor/icu_provider/src/key.rs | 6 - vendor/icu_provider/src/lib.rs | 2 +- vendor/icu_provider/src/request.rs | 40 +- vendor/icu_provider/src/response.rs | 10 +- vendor/icu_provider/src/serde/mod.rs | 18 +- vendor/icu_provider_adapters/.cargo-checksum.json | 2 +- vendor/icu_provider_adapters/Cargo.toml | 28 +- vendor/icu_provider_adapters/src/empty.rs | 23 + .../icu_provider_adapters/src/fallback/adapter.rs | 12 +- .../src/fallback/algorithms.rs | 26 +- vendor/icu_provider_adapters/src/fallback/mod.rs | 94 +- vendor/icu_provider_adapters/src/fork/by_error.rs | 39 +- vendor/icu_provider_macros/.cargo-checksum.json | 2 +- vendor/icu_provider_macros/Cargo.toml | 2 +- vendor/icu_provider_macros/src/lib.rs | 2 +- vendor/icu_provider_macros/src/tests.rs | 2 +- vendor/itoa/.cargo-checksum.json | 2 +- vendor/itoa/Cargo.toml | 2 +- vendor/itoa/README.md | 2 +- vendor/itoa/src/lib.rs | 2 +- vendor/jobserver/.cargo-checksum.json | 2 +- vendor/jobserver/Cargo.toml | 22 +- vendor/jobserver/src/lib.rs | 54 +- vendor/jobserver/src/unix.rs | 122 +- vendor/jobserver/src/wasm.rs | 5 + vendor/jobserver/src/windows.rs | 20 + vendor/jobserver/tests/client.rs | 3 +- vendor/jobserver/tests/make-as-a-client.rs | 3 +- vendor/jobserver/tests/server.rs | 29 +- vendor/libc/.cargo-checksum.json | 2 +- vendor/libc/Cargo.toml | 2 +- vendor/libc/src/fuchsia/mod.rs | 6 +- vendor/libc/src/unix/bsd/mod.rs | 1 - vendor/libc/src/unix/haiku/mod.rs | 1 - vendor/libc/src/unix/hermit/mod.rs | 1 - vendor/libc/src/unix/linux_like/android/b32/arm.rs | 3 + .../src/unix/linux_like/android/b32/x86/mod.rs | 3 + .../src/unix/linux_like/android/b64/aarch64/mod.rs | 3 + .../src/unix/linux_like/android/b64/x86_64/mod.rs | 3 + vendor/libc/src/unix/linux_like/android/mod.rs | 27 +- vendor/libc/src/unix/linux_like/emscripten/mod.rs | 1 - vendor/libc/src/unix/linux_like/linux/mod.rs | 11 +- vendor/libc/src/unix/linux_like/mod.rs | 8 + vendor/libc/src/unix/mod.rs | 151 +- vendor/libc/src/unix/newlib/mod.rs | 1 - vendor/libc/src/unix/nto/aarch64.rs | 36 + vendor/libc/src/unix/nto/mod.rs | 3286 +++++++++ vendor/libc/src/unix/nto/neutrino.rs | 1288 ++++ vendor/libc/src/unix/nto/x86_64.rs | 132 + vendor/libc/src/unix/solarish/mod.rs | 1 - vendor/libc/src/vxworks/mod.rs | 5 + vendor/libc/src/wasi.rs | 6 +- vendor/libc/src/windows/mod.rs | 6 +- vendor/litemap/.cargo-checksum.json | 2 +- vendor/litemap/Cargo.lock | 322 +- vendor/litemap/Cargo.toml | 18 +- vendor/litemap/benches/litemap.rs | 17 +- vendor/litemap/src/map.rs | 4 +- vendor/litemap/src/store/mod.rs | 2 +- vendor/litemap/tests/rkyv.rs | 15 +- vendor/lsp-types/.cargo-checksum.json | 2 +- vendor/lsp-types/CHANGELOG.md | 584 +- vendor/lsp-types/Cargo.toml | 3 +- vendor/lsp-types/LICENSE | 44 +- vendor/lsp-types/README.md | 28 +- vendor/lsp-types/release.sh | 30 +- vendor/lsp-types/release.toml | 3 +- vendor/lsp-types/src/call_hierarchy.rs | 254 +- vendor/lsp-types/src/code_action.rs | 755 +- vendor/lsp-types/src/code_lens.rs | 132 +- vendor/lsp-types/src/color.rs | 244 +- vendor/lsp-types/src/completion.rs | 1216 ++-- vendor/lsp-types/src/document_highlight.rs | 102 +- vendor/lsp-types/src/document_link.rs | 134 +- vendor/lsp-types/src/document_symbols.rs | 264 +- vendor/lsp-types/src/error_codes.rs | 73 +- vendor/lsp-types/src/file_operations.rs | 426 +- vendor/lsp-types/src/folding_range.rs | 246 +- vendor/lsp-types/src/formatting.rs | 306 +- vendor/lsp-types/src/hover.rs | 172 +- vendor/lsp-types/src/inlay_hint.rs | 560 +- vendor/lsp-types/src/inline_value.rs | 217 + vendor/lsp-types/src/lib.rs | 5490 +++++++------- vendor/lsp-types/src/linked_editing.rs | 122 +- vendor/lsp-types/src/lsif.rs | 676 +- 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 | 1890 ++--- vendor/lsp-types/src/selection_range.rs | 172 +- vendor/lsp-types/src/semantic_tokens.rs | 1472 ++-- vendor/lsp-types/src/signature_help.rs | 414 +- vendor/lsp-types/src/trace.rs | 164 +- vendor/lsp-types/src/type_hierarchy.rs | 90 + vendor/lsp-types/src/window.rs | 352 +- vendor/lsp-types/src/workspace_folders.rs | 98 +- vendor/lsp-types/src/workspace_symbols.rs | 148 +- vendor/lsp-types/tests/lsif.rs | 32 +- vendor/lsp-types/tests/tsc-unix.lsif | 270 +- vendor/memmap2/.cargo-checksum.json | 2 +- vendor/memmap2/CHANGELOG.md | 9 +- vendor/memmap2/Cargo.lock | 2 +- vendor/memmap2/Cargo.toml | 4 +- vendor/memmap2/src/lib.rs | 34 +- vendor/miniz_oxide-0.5.3/.cargo-checksum.json | 1 + vendor/miniz_oxide-0.5.3/Cargo.toml | 55 + vendor/miniz_oxide-0.5.3/LICENSE | 21 + vendor/miniz_oxide-0.5.3/LICENSE-APACHE.md | 177 + vendor/miniz_oxide-0.5.3/LICENSE-MIT.md | 21 + vendor/miniz_oxide-0.5.3/LICENSE-ZLIB.md | 11 + vendor/miniz_oxide-0.5.3/Readme.md | 35 + vendor/miniz_oxide-0.5.3/src/deflate/buffer.rs | 58 + vendor/miniz_oxide-0.5.3/src/deflate/core.rs | 2463 +++++++ vendor/miniz_oxide-0.5.3/src/deflate/mod.rs | 227 + vendor/miniz_oxide-0.5.3/src/deflate/stream.rs | 121 + vendor/miniz_oxide-0.5.3/src/inflate/core.rs | 1931 +++++ vendor/miniz_oxide-0.5.3/src/inflate/mod.rs | 279 + .../miniz_oxide-0.5.3/src/inflate/output_buffer.rs | 60 + vendor/miniz_oxide-0.5.3/src/inflate/stream.rs | 415 ++ vendor/miniz_oxide-0.5.3/src/lib.rs | 208 + vendor/miniz_oxide-0.5.3/src/shared.rs | 25 + vendor/miniz_oxide/.cargo-checksum.json | 2 +- vendor/miniz_oxide/Cargo.toml | 6 +- vendor/miniz_oxide/Readme.md | 19 +- vendor/miniz_oxide/src/inflate/core.rs | 5 +- vendor/miniz_oxide/src/inflate/mod.rs | 102 +- vendor/miniz_oxide/src/inflate/stream.rs | 3 + vendor/miniz_oxide/src/lib.rs | 10 +- vendor/nu-ansi-term/.cargo-checksum.json | 1 + vendor/nu-ansi-term/Cargo.lock | 159 + vendor/nu-ansi-term/Cargo.toml | 57 + vendor/nu-ansi-term/LICENCE | 22 + vendor/nu-ansi-term/README.md | 182 + vendor/nu-ansi-term/examples/256_colors.rs | 72 + vendor/nu-ansi-term/examples/basic_colors.rs | 18 + vendor/nu-ansi-term/examples/gradient_colors.rs | 37 + vendor/nu-ansi-term/examples/rgb_colors.rs | 23 + vendor/nu-ansi-term/src/ansi.rs | 407 ++ vendor/nu-ansi-term/src/debug.rs | 152 + vendor/nu-ansi-term/src/difference.rs | 174 + vendor/nu-ansi-term/src/display.rs | 290 + vendor/nu-ansi-term/src/gradient.rs | 105 + vendor/nu-ansi-term/src/lib.rs | 272 + vendor/nu-ansi-term/src/rgb.rs | 173 + vendor/nu-ansi-term/src/style.rs | 629 ++ vendor/nu-ansi-term/src/util.rs | 79 + vendor/nu-ansi-term/src/windows.rs | 62 + vendor/nu-ansi-term/src/write.rs | 37 + vendor/num_cpus/.cargo-checksum.json | 2 +- vendor/num_cpus/CHANGELOG.md | 13 + vendor/num_cpus/Cargo.lock | 6 +- vendor/num_cpus/Cargo.toml | 12 +- .../fixtures/cgroups2/cgroups/ceil/cpu.max | 1 + .../fixtures/cgroups2/cgroups/good/cpu.max | 1 + .../fixtures/cgroups2/cgroups/zero-period/cpu.max | 1 + .../num_cpus/fixtures/cgroups2/proc/cgroups/cgroup | 2 + .../fixtures/cgroups2/proc/cgroups/cgroup_multi | 3 + .../fixtures/cgroups2/proc/cgroups/mountinfo | 5 + vendor/num_cpus/src/linux.rs | 407 +- vendor/object/.cargo-checksum.json | 2 +- vendor/object/CHANGELOG.md | 11 + vendor/object/Cargo.toml | 2 +- vendor/object/src/elf.rs | 116 + vendor/once_cell/.cargo-checksum.json | 2 +- vendor/once_cell/CHANGELOG.md | 4 + vendor/once_cell/Cargo.lock | 2 +- vendor/once_cell/Cargo.toml | 2 +- vendor/once_cell/README.md | 2 + vendor/once_cell/src/lib.rs | 14 +- vendor/once_cell/src/race.rs | 92 + vendor/overload/.cargo-checksum.json | 1 + vendor/overload/Cargo.toml | 22 + vendor/overload/LICENSE | 21 + vendor/overload/README.md | 64 + vendor/overload/logo.png | Bin 0 -> 19188 bytes vendor/overload/src/assignment.rs | 27 + vendor/overload/src/binary.rs | 28 + vendor/overload/src/lib.rs | 257 + vendor/overload/src/unary.rs | 20 + vendor/overload/tests/assignment.rs | 89 + vendor/overload/tests/binary.rs | 72 + vendor/overload/tests/unary.rs | 21 + vendor/parking_lot_core-0.8.5/.cargo-checksum.json | 1 - vendor/parking_lot_core-0.8.5/Cargo.toml | 52 - vendor/parking_lot_core-0.8.5/LICENSE-APACHE | 201 - vendor/parking_lot_core-0.8.5/LICENSE-MIT | 25 - vendor/parking_lot_core-0.8.5/build.rs | 10 - vendor/parking_lot_core-0.8.5/src/lib.rs | 67 - vendor/parking_lot_core-0.8.5/src/parking_lot.rs | 1668 ----- vendor/parking_lot_core-0.8.5/src/spinwait.rs | 74 - .../src/thread_parker/generic.rs | 78 - .../src/thread_parker/linux.rs | 156 - .../src/thread_parker/mod.rs | 85 - .../src/thread_parker/redox.rs | 139 - .../src/thread_parker/sgx.rs | 94 - .../src/thread_parker/unix.rs | 242 - .../src/thread_parker/wasm.rs | 54 - .../src/thread_parker/wasm_atomic.rs | 125 - .../src/thread_parker/windows/keyed_event.rs | 218 - .../src/thread_parker/windows/mod.rs | 188 - .../src/thread_parker/windows/waitaddress.rs | 149 - vendor/parking_lot_core-0.8.5/src/util.rs | 31 - vendor/parking_lot_core-0.8.5/src/word_lock.rs | 327 - vendor/parking_lot_core-0.8.6/.cargo-checksum.json | 1 + vendor/parking_lot_core-0.8.6/Cargo.toml | 74 + vendor/parking_lot_core-0.8.6/LICENSE-APACHE | 201 + vendor/parking_lot_core-0.8.6/LICENSE-MIT | 25 + vendor/parking_lot_core-0.8.6/build.rs | 10 + vendor/parking_lot_core-0.8.6/src/lib.rs | 67 + vendor/parking_lot_core-0.8.6/src/parking_lot.rs | 1668 +++++ vendor/parking_lot_core-0.8.6/src/spinwait.rs | 74 + .../src/thread_parker/generic.rs | 78 + .../src/thread_parker/linux.rs | 156 + .../src/thread_parker/mod.rs | 85 + .../src/thread_parker/redox.rs | 139 + .../src/thread_parker/sgx.rs | 94 + .../src/thread_parker/unix.rs | 242 + .../src/thread_parker/wasm.rs | 54 + .../src/thread_parker/wasm_atomic.rs | 125 + .../src/thread_parker/windows/keyed_event.rs | 218 + .../src/thread_parker/windows/mod.rs | 188 + .../src/thread_parker/windows/waitaddress.rs | 149 + vendor/parking_lot_core-0.8.6/src/util.rs | 31 + vendor/parking_lot_core-0.8.6/src/word_lock.rs | 327 + vendor/parking_lot_core/.cargo-checksum.json | 2 +- vendor/parking_lot_core/Cargo.toml | 2 +- vendor/parking_lot_core/src/thread_parker/linux.rs | 8 +- vendor/parking_lot_core/src/thread_parker/unix.rs | 8 +- vendor/proc-macro2/.cargo-checksum.json | 2 +- vendor/proc-macro2/Cargo.toml | 5 +- vendor/proc-macro2/LICENSE-APACHE | 25 - vendor/proc-macro2/LICENSE-MIT | 2 - vendor/proc-macro2/README.md | 2 +- vendor/proc-macro2/src/fallback.rs | 8 +- vendor/proc-macro2/src/lib.rs | 45 +- vendor/proc-macro2/src/location.rs | 29 + vendor/proc-macro2/src/wrapper.rs | 22 +- vendor/quote/.cargo-checksum.json | 2 +- vendor/quote/Cargo.toml | 7 +- vendor/quote/LICENSE-MIT | 2 - vendor/quote/README.md | 2 +- vendor/quote/src/lib.rs | 2 +- vendor/quote/tests/test.rs | 3 +- vendor/quote/tests/ui/not-quotable.rs | 2 +- vendor/quote/tests/ui/not-quotable.stderr | 9 +- vendor/quote/tests/ui/not-repeatable.rs | 2 +- vendor/quote/tests/ui/not-repeatable.stderr | 66 +- vendor/rayon/.cargo-checksum.json | 2 +- vendor/rayon/Cargo.toml | 5 +- vendor/rayon/RELEASES.md | 12 + vendor/rayon/src/iter/par_bridge.rs | 159 +- vendor/rayon/tests/par_bridge_recursion.rs | 30 + vendor/regex-syntax/.cargo-checksum.json | 2 +- vendor/regex-syntax/Cargo.toml | 2 +- vendor/regex-syntax/src/unicode.rs | 1 + vendor/regex-syntax/src/unicode_tables/age.rs | 42 +- .../src/unicode_tables/case_folding_simple.rs | 6 +- .../src/unicode_tables/general_category.rs | 250 +- .../src/unicode_tables/grapheme_cluster_break.rs | 26 +- .../src/unicode_tables/perl_decimal.rs | 8 +- .../regex-syntax/src/unicode_tables/perl_space.rs | 6 +- .../regex-syntax/src/unicode_tables/perl_word.rs | 30 +- .../src/unicode_tables/property_bool.rs | 266 +- .../src/unicode_tables/property_names.rs | 6 +- .../src/unicode_tables/property_values.rs | 14 +- vendor/regex-syntax/src/unicode_tables/script.rs | 63 +- .../src/unicode_tables/script_extension.rs | 54 +- .../src/unicode_tables/sentence_break.rs | 47 +- .../regex-syntax/src/unicode_tables/word_break.rs | 34 +- vendor/regex/.cargo-checksum.json | 2 +- vendor/regex/CHANGELOG.md | 26 + vendor/regex/Cargo.lock | 22 +- vendor/regex/Cargo.toml | 2 +- vendor/regex/README.md | 8 +- vendor/regex/src/lib.rs | 3 + vendor/regex/src/re_bytes.rs | 12 +- vendor/regex/src/re_unicode.rs | 12 +- vendor/regex/tests/replace.rs | 18 + vendor/rls-data/.cargo-checksum.json | 1 - vendor/rls-data/Cargo.toml | 30 - vendor/rls-data/README.md | 11 - vendor/rls-data/src/config.rs | 24 - vendor/rls-data/src/lib.rs | 272 - vendor/rls-span/.cargo-checksum.json | 1 - vendor/rls-span/Cargo.toml | 33 - vendor/rls-span/src/compiler.rs | 78 - vendor/rls-span/src/lib.rs | 383 - vendor/rustc-ap-rustc_lexer/.cargo-checksum.json | 2 +- vendor/rustc-ap-rustc_lexer/Cargo.toml | 4 +- vendor/rustc-ap-rustc_lexer/src/lib.rs | 22 +- vendor/ryu/.cargo-checksum.json | 2 +- vendor/ryu/Cargo.lock | 30 +- vendor/ryu/Cargo.toml | 2 +- vendor/ryu/README.md | 2 +- vendor/ryu/src/lib.rs | 2 +- vendor/ryu/src/pretty/mantissa.rs | 6 +- vendor/ryu/src/pretty/mod.rs | 3 +- vendor/ryu/src/s2f.rs | 2 +- vendor/scoped-tls/.cargo-checksum.json | 2 +- vendor/scoped-tls/Cargo.toml | 18 +- vendor/scoped-tls/README.md | 2 +- vendor/scoped-tls/appveyor.yml | 17 - vendor/scoped-tls/src/lib.rs | 22 +- vendor/semver/.cargo-checksum.json | 2 +- vendor/semver/Cargo.toml | 7 +- vendor/semver/README.md | 2 +- vendor/semver/build.rs | 2 + vendor/semver/src/backport.rs | 39 +- vendor/semver/src/identifier.rs | 20 +- vendor/semver/src/lib.rs | 12 +- vendor/serde/.cargo-checksum.json | 2 +- vendor/serde/Cargo.toml | 9 +- vendor/serde/README.md | 4 +- vendor/serde/build.rs | 38 +- vendor/serde/crates-io.md | 2 +- vendor/serde/src/de/format.rs | 2 +- vendor/serde/src/de/impls.rs | 44 +- vendor/serde/src/de/mod.rs | 5 +- vendor/serde/src/lib.rs | 37 +- vendor/serde/src/private/de.rs | 14 +- vendor/serde/src/private/ser.rs | 2 +- vendor/serde/src/ser/impls.rs | 70 +- vendor/serde/src/ser/mod.rs | 10 +- vendor/serde_derive/.cargo-checksum.json | 2 +- vendor/serde_derive/Cargo.toml | 4 +- vendor/serde_derive/README.md | 4 +- vendor/serde_derive/build.rs | 2 + vendor/serde_derive/crates-io.md | 2 +- vendor/serde_derive/src/de.rs | 186 +- vendor/serde_derive/src/internals/check.rs | 23 + vendor/serde_derive/src/lib.rs | 4 +- vendor/serde_derive/src/ser.rs | 62 +- vendor/serde_derive/src/this.rs | 32 + vendor/serde_json/.cargo-checksum.json | 2 +- vendor/serde_json/Cargo.toml | 5 +- vendor/serde_json/README.md | 10 +- vendor/serde_json/build.rs | 2 + vendor/serde_json/src/de.rs | 154 +- vendor/serde_json/src/lib.rs | 6 +- vendor/serde_json/src/map.rs | 10 +- vendor/serde_json/src/number.rs | 37 +- vendor/serde_json/src/ser.rs | 382 +- vendor/serde_json/src/value/de.rs | 27 +- vendor/serde_json/src/value/from.rs | 9 +- vendor/serde_json/src/value/ser.rs | 15 +- vendor/serde_json/tests/regression/issue953.rs | 9 + vendor/serde_json/tests/test.rs | 3 +- vendor/serde_json/tests/ui/missing_colon.stderr | 5 + vendor/serde_json/tests/ui/missing_comma.stderr | 6 + vendor/serde_json/tests/ui/missing_value.stderr | 5 + vendor/serde_json/tests/ui/parse_expr.stderr | 6 + .../tests/ui/unexpected_after_array_element.stderr | 2 + .../tests/ui/unexpected_after_map_entry.stderr | 2 + vendor/serde_json/tests/ui/unexpected_colon.stderr | 2 + vendor/serde_json/tests/ui/unexpected_comma.stderr | 2 + vendor/serde_repr/.cargo-checksum.json | 2 +- vendor/serde_repr/Cargo.toml | 2 +- vendor/serde_repr/README.md | 2 +- vendor/snap/.cargo-checksum.json | 2 +- vendor/snap/Cargo.lock | 8 +- vendor/snap/Cargo.toml | 26 +- vendor/snap/src/error.rs | 7 + vendor/snap/src/read.rs | 5 + vendor/syn/.cargo-checksum.json | 2 +- vendor/syn/Cargo.toml | 5 +- vendor/syn/README.md | 2 +- vendor/syn/src/buffer.rs | 50 +- vendor/syn/src/drops.rs | 58 + vendor/syn/src/error.rs | 54 +- vendor/syn/src/generics.rs | 25 + vendor/syn/src/lib.rs | 6 +- vendor/syn/src/path.rs | 5 +- vendor/syn/src/punctuated.rs | 43 +- vendor/syn/src/ty.rs | 92 +- vendor/syn/src/verbatim.rs | 20 +- vendor/syn/tests/common/eq.rs | 95 +- vendor/syn/tests/regression.rs | 2 - vendor/syn/tests/regression/issue1235.rs | 32 + vendor/syn/tests/repo/mod.rs | 2 +- vendor/syn/tests/test_expr.rs | 70 +- vendor/syn/tests/test_iterators.rs | 19 + vendor/syn/tests/test_round_trip.rs | 8 +- vendor/syn/tests/test_size.rs | 4 +- vendor/thin-vec/.cargo-checksum.json | 2 +- vendor/thin-vec/Cargo.toml | 2 +- vendor/thin-vec/src/lib.rs | 1470 +++- vendor/time-macros/.cargo-checksum.json | 1 - vendor/time-macros/Cargo.toml | 45 - vendor/time-macros/LICENSE-Apache | 202 - vendor/time-macros/LICENSE-MIT | 19 - vendor/time-macros/src/date.rs | 137 - vendor/time-macros/src/datetime.rs | 57 - vendor/time-macros/src/error.rs | 136 - .../src/format_description/component.rs | 168 - vendor/time-macros/src/format_description/error.rs | 29 - vendor/time-macros/src/format_description/mod.rs | 40 - .../time-macros/src/format_description/modifier.rs | 417 -- vendor/time-macros/src/format_description/parse.rs | 84 - vendor/time-macros/src/helpers/mod.rs | 129 - vendor/time-macros/src/helpers/string.rs | 188 - vendor/time-macros/src/lib.rs | 167 - vendor/time-macros/src/offset.rs | 95 - vendor/time-macros/src/quote.rs | 134 - vendor/time-macros/src/serde_format_description.rs | 163 - vendor/time-macros/src/time.rs | 118 - vendor/time-macros/src/to_tokens.rs | 68 - vendor/tinystr/.cargo-checksum.json | 2 +- vendor/tinystr/Cargo.toml | 14 +- vendor/tinystr/README.md | 6 +- vendor/tinystr/src/ascii.rs | 17 +- vendor/tinystr/src/error.rs | 3 + vendor/tinystr/src/lib.rs | 8 +- vendor/toml-0.5.9/.cargo-checksum.json | 1 + vendor/toml-0.5.9/Cargo.lock | 101 + vendor/toml-0.5.9/Cargo.toml | 49 + vendor/toml-0.5.9/LICENSE-APACHE | 201 + vendor/toml-0.5.9/LICENSE-MIT | 25 + vendor/toml-0.5.9/README.md | 38 + vendor/toml-0.5.9/examples/decode.rs | 54 + vendor/toml-0.5.9/examples/enum_external.rs | 45 + vendor/toml-0.5.9/examples/toml2json.rs | 47 + vendor/toml-0.5.9/src/datetime.rs | 544 ++ vendor/toml-0.5.9/src/de.rs | 2262 ++++++ vendor/toml-0.5.9/src/lib.rs | 180 + vendor/toml-0.5.9/src/macros.rs | 462 ++ vendor/toml-0.5.9/src/map.rs | 595 ++ vendor/toml-0.5.9/src/ser.rs | 1859 +++++ vendor/toml-0.5.9/src/spanned.rs | 168 + vendor/toml-0.5.9/src/tokens.rs | 740 ++ vendor/toml-0.5.9/src/value.rs | 1081 +++ .../toml-0.5.9/tests/enum_external_deserialize.rs | 258 + vendor/toml/.cargo-checksum.json | 1 - vendor/toml/Cargo.lock | 101 - vendor/toml/Cargo.toml | 49 - vendor/toml/LICENSE-APACHE | 201 - vendor/toml/LICENSE-MIT | 25 - vendor/toml/README.md | 38 - vendor/toml/examples/decode.rs | 54 - vendor/toml/examples/enum_external.rs | 45 - vendor/toml/examples/toml2json.rs | 47 - vendor/toml/src/datetime.rs | 544 -- vendor/toml/src/de.rs | 2262 ------ vendor/toml/src/lib.rs | 180 - vendor/toml/src/macros.rs | 462 -- vendor/toml/src/map.rs | 595 -- vendor/toml/src/ser.rs | 1859 ----- vendor/toml/src/spanned.rs | 168 - vendor/toml/src/tokens.rs | 740 -- vendor/toml/src/value.rs | 1081 --- vendor/toml/tests/enum_external_deserialize.rs | 258 - .../tracing-subscriber-0.3.3/.cargo-checksum.json | 1 - vendor/tracing-subscriber-0.3.3/CHANGELOG.md | 902 --- vendor/tracing-subscriber-0.3.3/Cargo.toml | 150 - vendor/tracing-subscriber-0.3.3/LICENSE | 25 - vendor/tracing-subscriber-0.3.3/README.md | 61 - vendor/tracing-subscriber-0.3.3/benches/enter.rs | 64 - vendor/tracing-subscriber-0.3.3/benches/filter.rs | 308 - .../tracing-subscriber-0.3.3/benches/filter_log.rs | 315 - vendor/tracing-subscriber-0.3.3/benches/fmt.rs | 331 - .../benches/support/mod.rs | 49 - vendor/tracing-subscriber-0.3.3/src/field/debug.rs | 111 - .../src/field/delimited.rs | 184 - .../tracing-subscriber-0.3.3/src/field/display.rs | 117 - vendor/tracing-subscriber-0.3.3/src/field/mod.rs | 366 - .../src/filter/directive.rs | 424 -- .../src/filter/env/directive.rs | 846 --- .../src/filter/env/field.rs | 416 -- .../tracing-subscriber-0.3.3/src/filter/env/mod.rs | 738 -- .../src/filter/filter_fn.rs | 749 -- .../src/filter/layer_filters.rs | 830 --- .../tracing-subscriber-0.3.3/src/filter/level.rs | 27 - vendor/tracing-subscriber-0.3.3/src/filter/mod.rs | 66 - .../tracing-subscriber-0.3.3/src/filter/targets.rs | 681 -- .../tracing-subscriber-0.3.3/src/fmt/fmt_layer.rs | 1205 ---- .../src/fmt/format/json.rs | 750 -- .../tracing-subscriber-0.3.3/src/fmt/format/mod.rs | 1798 ----- .../src/fmt/format/pretty.rs | 415 -- vendor/tracing-subscriber-0.3.3/src/fmt/mod.rs | 1275 ---- .../src/fmt/time/datetime.rs | 410 -- .../tracing-subscriber-0.3.3/src/fmt/time/mod.rs | 134 - .../src/fmt/time/time_crate.rs | 276 - vendor/tracing-subscriber-0.3.3/src/fmt/writer.rs | 1464 ---- .../tracing-subscriber-0.3.3/src/layer/context.rs | 434 -- .../tracing-subscriber-0.3.3/src/layer/layered.rs | 471 -- vendor/tracing-subscriber-0.3.3/src/layer/mod.rs | 1285 ---- vendor/tracing-subscriber-0.3.3/src/layer/tests.rs | 308 - vendor/tracing-subscriber-0.3.3/src/lib.rs | 218 - vendor/tracing-subscriber-0.3.3/src/macros.rs | 28 - vendor/tracing-subscriber-0.3.3/src/prelude.rs | 19 - .../src/registry/extensions.rs | 274 - .../tracing-subscriber-0.3.3/src/registry/mod.rs | 604 -- .../src/registry/sharded.rs | 904 --- .../tracing-subscriber-0.3.3/src/registry/stack.rs | 77 - vendor/tracing-subscriber-0.3.3/src/reload.rs | 237 - vendor/tracing-subscriber-0.3.3/src/sync.rs | 57 - vendor/tracing-subscriber-0.3.3/src/util.rs | 153 - ...cached_layer_filters_dont_break_other_layers.rs | 123 - .../tests/duplicate_spans.rs | 48 - .../tracing-subscriber-0.3.3/tests/field_filter.rs | 115 - vendor/tracing-subscriber-0.3.3/tests/filter.rs | 187 - .../tracing-subscriber-0.3.3/tests/filter_log.rs | 63 - .../tests/fmt_max_level_hint.rs | 10 - ...hinted_layer_filters_dont_break_other_layers.rs | 131 - .../tests/layer_filter_interests_are_cached.rs | 69 - .../tests/layer_filters/boxed.rs | 42 - .../tests/layer_filters/downcast_raw.rs | 68 - .../tests/layer_filters/filter_scopes.rs | 131 - .../tests/layer_filters/main.rs | 188 - .../tests/layer_filters/targets.rs | 59 - .../tests/layer_filters/trees.rs | 146 - .../multiple_layer_filter_interests_cached.rs | 131 - .../tests/registry_max_level_hint.rs | 11 - .../tests/registry_with_subscriber.rs | 25 - vendor/tracing-subscriber-0.3.3/tests/reload.rs | 81 - .../tests/same_len_filters.rs | 81 - vendor/tracing-subscriber-0.3.3/tests/support.rs | 412 -- ...hinted_layer_filters_dont_break_other_layers.rs | 123 - vendor/tracing-subscriber-0.3.3/tests/utils.rs | 39 - vendor/tracing-subscriber/.cargo-checksum.json | 1 + vendor/tracing-subscriber/CHANGELOG.md | 1294 ++++ vendor/tracing-subscriber/Cargo.toml | 232 + vendor/tracing-subscriber/LICENSE | 25 + vendor/tracing-subscriber/README.md | 61 + vendor/tracing-subscriber/benches/enter.rs | 64 + vendor/tracing-subscriber/benches/filter.rs | 308 + vendor/tracing-subscriber/benches/filter_log.rs | 315 + vendor/tracing-subscriber/benches/fmt.rs | 331 + vendor/tracing-subscriber/benches/support/mod.rs | 49 + vendor/tracing-subscriber/src/field/debug.rs | 111 + vendor/tracing-subscriber/src/field/delimited.rs | 184 + vendor/tracing-subscriber/src/field/display.rs | 117 + vendor/tracing-subscriber/src/field/mod.rs | 366 + vendor/tracing-subscriber/src/filter/directive.rs | 456 ++ .../tracing-subscriber/src/filter/env/builder.rs | 325 + .../tracing-subscriber/src/filter/env/directive.rs | 860 +++ vendor/tracing-subscriber/src/filter/env/field.rs | 626 ++ vendor/tracing-subscriber/src/filter/env/mod.rs | 991 +++ vendor/tracing-subscriber/src/filter/filter_fn.rs | 749 ++ .../src/filter/layer_filters/combinator.rs | 542 ++ .../src/filter/layer_filters/mod.rs | 1220 ++++ vendor/tracing-subscriber/src/filter/level.rs | 27 + vendor/tracing-subscriber/src/filter/mod.rs | 66 + vendor/tracing-subscriber/src/filter/targets.rs | 781 ++ vendor/tracing-subscriber/src/fmt/fmt_layer.rs | 1472 ++++ vendor/tracing-subscriber/src/fmt/format/json.rs | 885 +++ vendor/tracing-subscriber/src/fmt/format/mod.rs | 2161 ++++++ vendor/tracing-subscriber/src/fmt/format/pretty.rs | 511 ++ vendor/tracing-subscriber/src/fmt/mod.rs | 1353 ++++ vendor/tracing-subscriber/src/fmt/time/datetime.rs | 410 ++ vendor/tracing-subscriber/src/fmt/time/mod.rs | 138 + .../tracing-subscriber/src/fmt/time/time_crate.rs | 470 ++ vendor/tracing-subscriber/src/fmt/writer.rs | 1464 ++++ vendor/tracing-subscriber/src/layer/context.rs | 434 ++ vendor/tracing-subscriber/src/layer/layered.rs | 554 ++ vendor/tracing-subscriber/src/layer/mod.rs | 1891 +++++ vendor/tracing-subscriber/src/layer/tests.rs | 308 + vendor/tracing-subscriber/src/lib.rs | 252 + vendor/tracing-subscriber/src/macros.rs | 28 + vendor/tracing-subscriber/src/prelude.rs | 19 + .../tracing-subscriber/src/registry/extensions.rs | 274 + vendor/tracing-subscriber/src/registry/mod.rs | 600 ++ vendor/tracing-subscriber/src/registry/sharded.rs | 908 +++ vendor/tracing-subscriber/src/registry/stack.rs | 77 + vendor/tracing-subscriber/src/reload.rs | 384 + vendor/tracing-subscriber/src/sync.rs | 57 + vendor/tracing-subscriber/src/util.rs | 153 + ...cached_layer_filters_dont_break_other_layers.rs | 123 + vendor/tracing-subscriber/tests/duplicate_spans.rs | 47 + vendor/tracing-subscriber/tests/env_filter/main.rs | 547 ++ .../tests/env_filter/per_layer.rs | 305 + vendor/tracing-subscriber/tests/event_enabling.rs | 81 + vendor/tracing-subscriber/tests/field_filter.rs | 115 + vendor/tracing-subscriber/tests/filter_log.rs | 63 + .../tracing-subscriber/tests/fmt_max_level_hint.rs | 10 + ...hinted_layer_filters_dont_break_other_layers.rs | 131 + .../tests/layer_filter_interests_are_cached.rs | 69 + .../tests/layer_filters/boxed.rs | 42 + .../tests/layer_filters/combinators.rs | 42 + .../tests/layer_filters/downcast_raw.rs | 68 + .../tests/layer_filters/filter_scopes.rs | 131 + .../tracing-subscriber/tests/layer_filters/main.rs | 190 + .../tests/layer_filters/per_event.rs | 61 + .../tests/layer_filters/targets.rs | 59 + .../tests/layer_filters/trees.rs | 146 + .../tracing-subscriber/tests/layer_filters/vec.rs | 120 + .../multiple_layer_filter_interests_cached.rs | 131 + vendor/tracing-subscriber/tests/option.rs | 262 + .../tests/registry_max_level_hint.rs | 11 + .../tests/registry_with_subscriber.rs | 25 + vendor/tracing-subscriber/tests/reload.rs | 155 + .../tracing-subscriber/tests/same_len_filters.rs | 81 + vendor/tracing-subscriber/tests/support.rs | 407 ++ ...hinted_layer_filters_dont_break_other_layers.rs | 123 + vendor/tracing-subscriber/tests/utils.rs | 39 + vendor/tracing-subscriber/tests/vec.rs | 19 + .../vec_subscriber_filter_interests_cached.rs | 117 + vendor/tracing-tree/.cargo-checksum.json | 2 +- vendor/tracing-tree/Cargo.lock | 29 +- vendor/tracing-tree/Cargo.toml | 8 +- vendor/tracing-tree/src/format.rs | 4 +- vendor/tracing-tree/src/lib.rs | 2 +- vendor/unicode-bidi/.cargo-checksum.json | 2 +- vendor/unicode-bidi/Cargo.toml | 7 +- vendor/unicode-bidi/src/char_data/mod.rs | 18 +- vendor/unicode-bidi/src/char_data/tables.rs | 311 +- vendor/unicode-bidi/src/data_source.rs | 30 + vendor/unicode-bidi/src/explicit.rs | 44 +- vendor/unicode-bidi/src/implicit.rs | 521 +- vendor/unicode-bidi/src/lib.rs | 93 +- vendor/unicode-bidi/src/prepare.rs | 102 +- vendor/unicode-ident/.cargo-checksum.json | 2 +- vendor/unicode-ident/Cargo.toml | 2 +- vendor/unicode-ident/README.md | 2 +- vendor/unicode-ident/src/tables.rs | 2 +- vendor/unicode-ident/tests/static_size.rs | 9 +- vendor/unicode-ident/tests/tables/mod.rs | 7 + vendor/unicode-ident/tests/tables/tables.rs | 347 + vendor/writeable/.cargo-checksum.json | 2 +- vendor/writeable/Cargo.lock | 110 +- vendor/writeable/Cargo.toml | 12 +- vendor/writeable/src/impls.rs | 104 +- vendor/writeable/src/lib.rs | 60 +- vendor/writeable/src/ops.rs | 5 +- vendor/xflags-macros/.cargo-checksum.json | 2 +- vendor/xflags-macros/Cargo.toml | 2 +- vendor/xflags-macros/tests/it/main.rs | 70 + vendor/xflags/.cargo-checksum.json | 2 +- vendor/xflags/Cargo.lock | 6 +- vendor/xflags/Cargo.toml | 4 +- vendor/xflags/src/rt.rs | 58 +- vendor/xshell-macros/.cargo-checksum.json | 2 +- vendor/xshell-macros/Cargo.toml | 2 +- vendor/xshell/.cargo-checksum.json | 2 +- vendor/xshell/CHANGELOG.md | 4 + vendor/xshell/Cargo.lock | 10 +- vendor/xshell/Cargo.toml | 4 +- vendor/xshell/src/lib.rs | 5 +- vendor/yoke-derive/.cargo-checksum.json | 2 +- vendor/yoke-derive/Cargo.lock | 87 +- vendor/yoke-derive/Cargo.toml | 13 +- vendor/yoke-derive/src/lib.rs | 55 +- vendor/yoke/.cargo-checksum.json | 2 +- vendor/yoke/Cargo.toml | 13 +- vendor/yoke/src/erased.rs | 8 +- vendor/yoke/src/is_covariant.rs | 142 - vendor/yoke/src/lib.rs | 2 - vendor/yoke/src/macro_impls.rs | 3 +- vendor/yoke/src/yoke.rs | 228 +- vendor/yoke/src/zero_from.rs | 5 +- vendor/zerovec-derive/.cargo-checksum.json | 2 +- vendor/zerovec-derive/Cargo.lock | 45 +- vendor/zerovec-derive/Cargo.toml | 8 +- vendor/zerovec-derive/src/make_varule.rs | 16 +- vendor/zerovec/.cargo-checksum.json | 2 +- vendor/zerovec/Cargo.lock | 327 +- vendor/zerovec/Cargo.toml | 29 +- vendor/zerovec/README.md | 2 +- vendor/zerovec/benches/vzv.rs | 8 +- vendor/zerovec/benches/zeromap.rs | 20 +- vendor/zerovec/src/flexzerovec/serde.rs | 8 +- vendor/zerovec/src/flexzerovec/slice.rs | 8 +- vendor/zerovec/src/lib.rs | 9 +- vendor/zerovec/src/map/borrowed.rs | 14 +- vendor/zerovec/src/map/map.rs | 4 +- vendor/zerovec/src/map/serde.rs | 8 +- vendor/zerovec/src/map2d/borrowed.rs | 9 +- vendor/zerovec/src/map2d/cursor.rs | 70 +- vendor/zerovec/src/map2d/map.rs | 12 +- vendor/zerovec/src/map2d/serde.rs | 8 +- vendor/zerovec/src/ule/mod.rs | 6 + vendor/zerovec/src/ule/option.rs | 2 +- vendor/zerovec/src/ule/plain.rs | 19 +- vendor/zerovec/src/ule/unvalidated.rs | 10 +- vendor/zerovec/src/varzerovec/serde.rs | 8 +- vendor/zerovec/src/varzerovec/slice.rs | 28 +- vendor/zerovec/src/varzerovec/vec.rs | 16 +- vendor/zerovec/src/yoke_impls.rs | 14 +- vendor/zerovec/src/zerovec/mod.rs | 7 +- vendor/zerovec/src/zerovec/serde.rs | 10 +- vendor/zerovec/src/zerovec/slice.rs | 30 +- vendor/zip/.cargo-checksum.json | 2 +- vendor/zip/CHANGELOG.md | 9 + vendor/zip/Cargo.lock | 134 +- vendor/zip/Cargo.toml | 18 +- vendor/zip/README.md | 4 +- vendor/zip/benches/read_metadata.rs | 5 +- vendor/zip/examples/extract.rs | 6 +- vendor/zip/examples/extract_lorem.rs | 4 +- vendor/zip/examples/file_info.rs | 4 +- vendor/zip/examples/stdin_info.rs | 4 +- vendor/zip/examples/write_dir.rs | 12 +- vendor/zip/examples/write_sample.rs | 6 +- vendor/zip/src/compression.rs | 6 +- vendor/zip/src/read.rs | 20 +- vendor/zip/src/result.rs | 21 +- vendor/zip/src/spec.rs | 16 +- vendor/zip/src/types.rs | 91 +- vendor/zip/src/write.rs | 56 +- vendor/zip/tests/end_to_end.rs | 2 +- vendor/zip/tests/zip64_large.rs | 2 +- version | 2 +- x.py | 3 +- 6057 files changed, 259564 insertions(+), 137462 deletions(-) create mode 100644 compiler/rustc_ast/src/format.rs create mode 100644 compiler/rustc_ast_lowering/locales/en-US.ftl create mode 100644 compiler/rustc_ast_lowering/src/format.rs create mode 100644 compiler/rustc_ast_passes/locales/en-US.ftl create mode 100644 compiler/rustc_attr/locales/en-US.ftl delete mode 100644 compiler/rustc_baked_icu_data/src/data/fallback/likelysubtags_v1.rs create mode 100644 compiler/rustc_baked_icu_data/src/data/fallback/likelysubtags_v1/mod.rs create mode 100644 compiler/rustc_baked_icu_data/src/data/fallback/likelysubtags_v1/und.rs.data delete mode 100644 compiler/rustc_baked_icu_data/src/data/fallback/parents_v1.rs create mode 100644 compiler/rustc_baked_icu_data/src/data/fallback/parents_v1/mod.rs create mode 100644 compiler/rustc_baked_icu_data/src/data/fallback/parents_v1/und.rs.data delete mode 100644 compiler/rustc_baked_icu_data/src/data/fallback/supplement/co_v1.rs create mode 100644 compiler/rustc_baked_icu_data/src/data/fallback/supplement/co_v1/mod.rs create mode 100644 compiler/rustc_baked_icu_data/src/data/fallback/supplement/co_v1/und.rs.data delete mode 100644 compiler/rustc_baked_icu_data/src/data/list/and_v1.rs create mode 100644 compiler/rustc_baked_icu_data/src/data/list/and_v1/en.rs.data create mode 100644 compiler/rustc_baked_icu_data/src/data/list/and_v1/es.rs.data create mode 100644 compiler/rustc_baked_icu_data/src/data/list/and_v1/fr.rs.data create mode 100644 compiler/rustc_baked_icu_data/src/data/list/and_v1/it.rs.data create mode 100644 compiler/rustc_baked_icu_data/src/data/list/and_v1/ja.rs.data create mode 100644 compiler/rustc_baked_icu_data/src/data/list/and_v1/mod.rs create mode 100644 compiler/rustc_baked_icu_data/src/data/list/and_v1/pt.rs.data create mode 100644 compiler/rustc_baked_icu_data/src/data/list/and_v1/ru.rs.data create mode 100644 compiler/rustc_baked_icu_data/src/data/list/and_v1/tr.rs.data create mode 100644 compiler/rustc_baked_icu_data/src/data/list/and_v1/und.rs.data create mode 100644 compiler/rustc_baked_icu_data/src/data/list/and_v1/zh-Hant.rs.data create mode 100644 compiler/rustc_baked_icu_data/src/data/list/and_v1/zh.rs.data create mode 100644 compiler/rustc_borrowck/locales/en-US.ftl create mode 100644 compiler/rustc_builtin_macros/locales/en-US.ftl delete mode 100644 compiler/rustc_builtin_macros/src/format/ast.rs delete mode 100644 compiler/rustc_builtin_macros/src/format/expand.rs delete mode 100644 compiler/rustc_codegen_cranelift/.github/workflows/nightly-cranelift.yml create mode 100644 compiler/rustc_codegen_cranelift/build_system/bench.rs create mode 100644 compiler/rustc_codegen_cranelift/build_system/usage.txt delete mode 100644 compiler/rustc_codegen_cranelift/patches/0001-portable-simd-Disable-unsupported-tests.patch create mode 100644 compiler/rustc_codegen_cranelift/src/cranelift_native.rs create mode 100644 compiler/rustc_codegen_gcc/locales/en-US.ftl create mode 100644 compiler/rustc_codegen_llvm/locales/en-US.ftl create mode 100644 compiler/rustc_codegen_ssa/locales/en-US.ftl create mode 100644 compiler/rustc_const_eval/locales/en-US.ftl create mode 100644 compiler/rustc_const_eval/src/interpret/discriminant.rs delete mode 100644 compiler/rustc_const_eval/src/util/aggregate.rs create mode 100644 compiler/rustc_const_eval/src/util/check_validity_requirement.rs delete mode 100644 compiler/rustc_const_eval/src/util/might_permit_raw_init.rs create mode 100644 compiler/rustc_data_structures/src/sync/vec.rs delete mode 100644 compiler/rustc_driver/README.md delete mode 100644 compiler/rustc_driver/src/args.rs delete mode 100644 compiler/rustc_driver/src/pretty.rs delete mode 100644 compiler/rustc_driver/src/session_diagnostics.rs create mode 100644 compiler/rustc_driver_impl/Cargo.toml create mode 100644 compiler/rustc_driver_impl/README.md create mode 100644 compiler/rustc_driver_impl/locales/en-US.ftl create mode 100644 compiler/rustc_driver_impl/src/args.rs create mode 100644 compiler/rustc_driver_impl/src/lib.rs create mode 100644 compiler/rustc_driver_impl/src/pretty.rs create mode 100644 compiler/rustc_driver_impl/src/session_diagnostics.rs create mode 100644 compiler/rustc_error_codes/src/error_codes/E0476.md create mode 100644 compiler/rustc_error_codes/src/error_codes/E0523.md create mode 100644 compiler/rustc_error_codes/src/error_codes/E0789.md create mode 100644 compiler/rustc_error_codes/src/error_codes/E0793.md create mode 100644 compiler/rustc_error_messages/locales/en-US.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/ast_lowering.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/ast_passes.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/attr.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/borrowck.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/builtin_macros.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/codegen_gcc.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/codegen_llvm.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/codegen_ssa.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/compiletest.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/const_eval.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/driver.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/errors.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/expand.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/hir_analysis.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/hir_typeck.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/infer.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/interface.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/lint.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/metadata.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/middle.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/mir_build.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/mir_dataflow.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/monomorphize.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/parse.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/passes.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/plugin_impl.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/privacy.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/query_system.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/resolve.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/save_analysis.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/session.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/symbol_mangling.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/trait_selection.ftl delete mode 100644 compiler/rustc_error_messages/locales/en-US/ty_utils.ftl create mode 100644 compiler/rustc_errors/locales/en-US.ftl create mode 100644 compiler/rustc_expand/locales/en-US.ftl create mode 100644 compiler/rustc_hir_analysis/locales/en-US.ftl delete mode 100644 compiler/rustc_hir_analysis/src/collect/lifetimes.rs create mode 100644 compiler/rustc_hir_analysis/src/collect/resolve_bound_vars.rs create mode 100644 compiler/rustc_hir_typeck/locales/en-US.ftl create mode 100644 compiler/rustc_hir_typeck/src/fn_ctxt/adjust_fulfillment_errors.rs create mode 100644 compiler/rustc_incremental/locales/en-US.ftl create mode 100644 compiler/rustc_incremental/src/errors.rs create mode 100644 compiler/rustc_infer/locales/en-US.ftl create mode 100644 compiler/rustc_infer/src/infer/error_reporting/note_and_explain.rs create mode 100644 compiler/rustc_interface/locales/en-US.ftl create mode 100644 compiler/rustc_lint/locales/en-US.ftl create mode 100644 compiler/rustc_lint/src/map_unit_fn.rs create mode 100644 compiler/rustc_lint/src/multiple_supertrait_upcastable.rs create mode 100644 compiler/rustc_metadata/locales/en-US.ftl create mode 100644 compiler/rustc_middle/locales/en-US.ftl create mode 100644 compiler/rustc_middle/src/middle/resolve_bound_vars.rs delete mode 100644 compiler/rustc_middle/src/middle/resolve_lifetime.rs delete mode 100644 compiler/rustc_middle/src/mir/graph_cyclic_cache.rs delete mode 100644 compiler/rustc_middle/src/mir/predecessors.rs delete mode 100644 compiler/rustc_middle/src/mir/switch_sources.rs delete mode 100644 compiler/rustc_middle/src/mir/type_visitable.rs create mode 100644 compiler/rustc_middle/src/traits/solve.rs create mode 100644 compiler/rustc_middle/src/ty/context/tls.rs create mode 100644 compiler/rustc_mir_build/locales/en-US.ftl create mode 100644 compiler/rustc_mir_build/src/thir/print.rs create mode 100644 compiler/rustc_mir_dataflow/locales/en-US.ftl create mode 100644 compiler/rustc_mir_transform/src/copy_prop.rs create mode 100644 compiler/rustc_mir_transform/src/ctfe_limit.rs delete mode 100644 compiler/rustc_mir_transform/src/deaggregator.rs create mode 100644 compiler/rustc_mir_transform/src/large_enums.rs delete mode 100644 compiler/rustc_mir_transform/src/simplify_try.rs create mode 100644 compiler/rustc_mir_transform/src/ssa.rs create mode 100644 compiler/rustc_monomorphize/locales/en-US.ftl create mode 100644 compiler/rustc_parse/locales/en-US.ftl create mode 100644 compiler/rustc_parse/src/lexer/diagnostics.rs create mode 100644 compiler/rustc_passes/locales/en-US.ftl create mode 100644 compiler/rustc_plugin_impl/locales/en-US.ftl create mode 100644 compiler/rustc_privacy/locales/en-US.ftl create mode 100644 compiler/rustc_query_system/locales/en-US.ftl create mode 100644 compiler/rustc_resolve/locales/en-US.ftl create mode 100644 compiler/rustc_resolve/src/rustdoc.rs delete mode 100644 compiler/rustc_save_analysis/Cargo.toml delete mode 100644 compiler/rustc_save_analysis/src/dump_visitor.rs delete mode 100644 compiler/rustc_save_analysis/src/dumper.rs delete mode 100644 compiler/rustc_save_analysis/src/errors.rs delete mode 100644 compiler/rustc_save_analysis/src/lib.rs delete mode 100644 compiler/rustc_save_analysis/src/sig.rs delete mode 100644 compiler/rustc_save_analysis/src/span_utils.rs create mode 100644 compiler/rustc_session/locales/en-US.ftl create mode 100644 compiler/rustc_span/src/edit_distance.rs create mode 100644 compiler/rustc_span/src/edit_distance/tests.rs delete mode 100644 compiler/rustc_span/src/lev_distance.rs delete mode 100644 compiler/rustc_span/src/lev_distance/tests.rs create mode 100644 compiler/rustc_symbol_mangling/locales/en-US.ftl create mode 100644 compiler/rustc_trait_selection/locales/en-US.ftl create mode 100644 compiler/rustc_trait_selection/src/solve/canonical/canonicalize.rs create mode 100644 compiler/rustc_trait_selection/src/solve/canonical/mod.rs create mode 100644 compiler/rustc_trait_selection/src/solve/eval_ctxt.rs delete mode 100644 compiler/rustc_trait_selection/src/solve/infcx_ext.rs delete mode 100644 compiler/rustc_trait_selection/src/traits/relationships.rs create mode 100644 compiler/rustc_ty_utils/locales/en-US.ftl create mode 100644 compiler/rustc_type_ir/src/fold.rs create mode 100644 compiler/rustc_type_ir/src/macros.rs create mode 100644 compiler/rustc_type_ir/src/structural_impls.rs create mode 100644 compiler/rustc_type_ir/src/visit.rs create mode 100644 library/core/benches/array.rs create mode 100644 library/core/src/array/drain.rs create mode 100644 library/core/src/cmp/bytewise.rs delete mode 100644 library/core/src/const_closure.rs create mode 100644 library/core/src/iter/traits/unchecked_iterator.rs create mode 100644 library/core/src/net/display_buffer.rs create mode 100644 library/core/src/net/ip_addr.rs create mode 100644 library/core/src/net/mod.rs create mode 100644 library/core/src/net/parser.rs create mode 100644 library/core/src/net/socket_addr.rs create mode 100644 library/core/tests/net/ip_addr.rs create mode 100644 library/core/tests/net/mod.rs create mode 100644 library/core/tests/net/parser.rs create mode 100644 library/core/tests/net/socket_addr.rs delete mode 100644 library/std/src/net/display_buffer.rs delete mode 100644 library/std/src/net/parser.rs delete mode 100644 library/std/src/net/parser/tests.rs create mode 100644 library/std/src/os/hermit/io/mod.rs create mode 100644 library/std/src/os/hermit/io/net.rs create mode 100644 library/std/src/os/nto/fs.rs create mode 100644 library/std/src/os/nto/mod.rs create mode 100644 library/std/src/os/nto/raw.rs create mode 100644 library/std/src/os/unix/fs/tests.rs create mode 100644 library/std/src/sys/itron/thread_parking.rs delete mode 100644 library/std/src/sys/itron/wait_flag.rs delete mode 100644 library/std/src/sys_common/thread_parking/wait_flag.rs create mode 100644 library/std/tests/common/mod.rs create mode 100644 library/std/tests/create_dir_all_bare.rs delete mode 100644 library/stdarch/ci/android-install-ndk.sh delete mode 100644 library/stdarch/ci/android-install-sdk.sh delete mode 100644 library/stdarch/ci/android-sysimage.sh delete mode 100644 library/stdarch/ci/docker/aarch64-linux-android/Dockerfile delete mode 100644 library/stdarch/ci/docker/arm-linux-androideabi/Dockerfile delete mode 100644 library/stdarch/ci/docker/x86_64-linux-android/Dockerfile delete mode 100644 library/stdarch/ci/runtest-android.rs delete mode 100644 library/stdarch/crates/core_arch/src/x86/avx512gfni.rs delete mode 100644 library/stdarch/crates/core_arch/src/x86/avx512vaes.rs delete mode 100644 library/stdarch/crates/core_arch/src/x86/avx512vpclmulqdq.rs create mode 100644 library/stdarch/crates/core_arch/src/x86/gfni.rs create mode 100644 library/stdarch/crates/core_arch/src/x86/vaes.rs create mode 100644 library/stdarch/crates/core_arch/src/x86/vpclmulqdq.rs create mode 100644 src/bootstrap/setup/tests.rs delete mode 100644 src/ci/docker/host-x86_64/x86_64-gnu-llvm-13-stage1/Dockerfile delete mode 100644 src/ci/docker/host-x86_64/x86_64-gnu-llvm-13/Dockerfile create mode 100644 src/ci/docker/host-x86_64/x86_64-gnu-llvm-14-stage1/Dockerfile create mode 100644 src/ci/docker/host-x86_64/x86_64-gnu-llvm-14/Dockerfile create mode 100644 src/ci/docker/host-x86_64/x86_64-gnu-llvm-15/Dockerfile delete mode 100755 src/ci/pgo.sh create mode 100644 src/ci/stage-build.py create mode 100644 src/doc/rustc-dev-guide/CITATION.cff create mode 100644 src/doc/rustc-dev-guide/examples/README create mode 100644 src/doc/rustc-dev-guide/src/solve/canonicalization.md create mode 100644 src/doc/rustc-dev-guide/src/solve/coinduction.md create mode 100644 src/doc/rustc-dev-guide/src/solve/the-solver.md create mode 100644 src/doc/rustc-dev-guide/src/solve/trait-solving.md create mode 100644 src/doc/unstable-book/src/compiler-flags/export-executable-symbols.md create mode 100644 src/doc/unstable-book/src/compiler-flags/instrument-xray.md create mode 100644 src/doc/unstable-book/src/compiler-flags/tiny-const-eval-limit.md delete mode 100644 src/doc/unstable-book/src/library-features/char-error-internals.md delete mode 100644 src/doc/unstable-book/src/library-features/int-error-internals.md create mode 100644 src/etc/vscode_settings.json delete mode 100644 src/librustdoc/html/static/images/down-arrow.svg delete mode 100644 src/librustdoc/html/static/images/toggle-minus.svg delete mode 100644 src/librustdoc/html/static/images/toggle-plus.svg delete mode 100644 src/librustdoc/passes/collect_intra_doc_links/early.rs create mode 100644 src/tools/clippy/book/src/lint_configuration.md create mode 100644 src/tools/clippy/clippy_lints/src/extra_unused_type_parameters.rs create mode 100644 src/tools/clippy/clippy_lints/src/functions/impl_trait_in_params.rs create mode 100644 src/tools/clippy/clippy_lints/src/methods/suspicious_command_arg_space.rs create mode 100644 src/tools/clippy/clippy_lints/src/multiple_unsafe_ops_per_block.rs create mode 100644 src/tools/clippy/clippy_lints/src/no_mangle_with_rust_abi.rs create mode 100644 src/tools/clippy/clippy_lints/src/question_mark_used.rs create mode 100644 src/tools/clippy/clippy_lints/src/significant_drop_tightening.rs create mode 100644 src/tools/clippy/clippy_lints/src/transmute/transmute_int_to_non_zero.rs create mode 100644 src/tools/clippy/tests/ui-toml/pub_crate_missing_docs/clippy.toml create mode 100644 src/tools/clippy/tests/ui-toml/pub_crate_missing_docs/pub_crate_missing_doc.rs create mode 100644 src/tools/clippy/tests/ui-toml/pub_crate_missing_docs/pub_crate_missing_doc.stderr create mode 100644 src/tools/clippy/tests/ui/bool_assert_comparison.fixed create mode 100644 src/tools/clippy/tests/ui/crashes/ice-rust-107877.rs create mode 100644 src/tools/clippy/tests/ui/crashes/needless_pass_by_value-w-late-bound.rs create mode 100644 src/tools/clippy/tests/ui/crashes/needless_pass_by_value-w-late-bound.stderr create mode 100644 src/tools/clippy/tests/ui/extra_unused_type_parameters.rs create mode 100644 src/tools/clippy/tests/ui/extra_unused_type_parameters.stderr create mode 100644 src/tools/clippy/tests/ui/impl_trait_in_params.rs create mode 100644 src/tools/clippy/tests/ui/impl_trait_in_params.stderr create mode 100644 src/tools/clippy/tests/ui/let_underscore_untyped.rs create mode 100644 src/tools/clippy/tests/ui/let_underscore_untyped.stderr create mode 100644 src/tools/clippy/tests/ui/multiple_unsafe_ops_per_block.rs create mode 100644 src/tools/clippy/tests/ui/multiple_unsafe_ops_per_block.stderr create mode 100644 src/tools/clippy/tests/ui/needless_lifetimes.fixed create mode 100644 src/tools/clippy/tests/ui/no_mangle_with_rust_abi.fixed create mode 100644 src/tools/clippy/tests/ui/no_mangle_with_rust_abi.rs create mode 100644 src/tools/clippy/tests/ui/no_mangle_with_rust_abi.stderr create mode 100644 src/tools/clippy/tests/ui/question_mark_used.rs create mode 100644 src/tools/clippy/tests/ui/question_mark_used.stderr create mode 100644 src/tools/clippy/tests/ui/significant_drop_tightening.fixed create mode 100644 src/tools/clippy/tests/ui/significant_drop_tightening.rs create mode 100644 src/tools/clippy/tests/ui/significant_drop_tightening.stderr create mode 100644 src/tools/clippy/tests/ui/suspicious_command_arg_space.rs create mode 100644 src/tools/clippy/tests/ui/suspicious_command_arg_space.stderr create mode 100644 src/tools/clippy/tests/ui/transmute_int_to_non_zero.rs create mode 100644 src/tools/clippy/tests/ui/transmute_int_to_non_zero.stderr delete mode 100644 src/tools/rust-analyzer/crates/hir-def/src/intern.rs create mode 100644 src/tools/rust-analyzer/crates/hir-expand/src/attrs.rs delete mode 100644 src/tools/rust-analyzer/crates/hir-ty/src/walk.rs create mode 100644 src/tools/rust-analyzer/crates/ide-assists/src/handlers/add_braces.rs create mode 100644 src/tools/rust-analyzer/crates/ide-assists/src/handlers/desugar_doc_comment.rs create mode 100644 src/tools/rust-analyzer/crates/intern/Cargo.toml create mode 100644 src/tools/rust-analyzer/crates/intern/src/lib.rs create mode 100644 src/tools/rust-analyzer/crates/parser/test_data/parser/inline/err/0015_arg_list_recovery.rast create mode 100644 src/tools/rust-analyzer/crates/parser/test_data/parser/inline/err/0015_arg_list_recovery.rs create mode 100644 src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/0205_const_closure.rast create mode 100644 src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/0205_const_closure.rs delete mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_58/mod.rs delete mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/buffer.rs delete mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/client.rs delete mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/closure.rs delete mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/handle.rs delete mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/mod.rs delete mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/rpc.rs delete mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/scoped_cell.rs delete mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/server.rs delete mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/diagnostic.rs delete mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/mod.rs delete mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/quote.rs delete mode 100644 src/tools/rust-analyzer/crates/proc-macro-srv/src/abis/abi_1_58/ra_server.rs create mode 100644 src/tools/rust-analyzer/crates/stdx/src/rand.rs create mode 100644 src/tools/rustfmt/.github/workflows/check_diff.yml create mode 100755 src/tools/rustfmt/ci/check_diff.sh create mode 100644 src/tools/rustfmt/src/config/macro_names.rs create mode 100644 src/tools/rustfmt/tests/cargo-fmt/source/issue_3164/Cargo.toml create mode 100644 src/tools/rustfmt/tests/cargo-fmt/source/issue_3164/src/main.rs create mode 100644 src/tools/rustfmt/tests/source/comments_unicode.rs delete mode 100644 src/tools/rustfmt/tests/source/configs/fn_args_layout/compressed.rs delete mode 100644 src/tools/rustfmt/tests/source/configs/fn_args_layout/tall.rs delete mode 100644 src/tools/rustfmt/tests/source/configs/fn_args_layout/vertical.rs create mode 100644 src/tools/rustfmt/tests/source/configs/fn_params_layout/compressed.rs create mode 100644 src/tools/rustfmt/tests/source/configs/fn_params_layout/tall.rs create mode 100644 src/tools/rustfmt/tests/source/configs/fn_params_layout/vertical.rs create mode 100644 src/tools/rustfmt/tests/source/issue-3987/format_macro_bodies_true.rs create mode 100644 src/tools/rustfmt/tests/source/issue-4643.rs create mode 100644 src/tools/rustfmt/tests/source/issue-4689/one.rs create mode 100644 src/tools/rustfmt/tests/source/issue-4689/two.rs create mode 100644 src/tools/rustfmt/tests/source/issue_1306.rs create mode 100644 src/tools/rustfmt/tests/source/issue_3245.rs create mode 100644 src/tools/rustfmt/tests/source/issue_3561.rs create mode 100644 src/tools/rustfmt/tests/source/skip_macro_invocations/all.rs create mode 100644 src/tools/rustfmt/tests/source/skip_macro_invocations/all_and_name.rs create mode 100644 src/tools/rustfmt/tests/source/skip_macro_invocations/empty.rs create mode 100644 src/tools/rustfmt/tests/source/skip_macro_invocations/name.rs create mode 100644 src/tools/rustfmt/tests/source/skip_macro_invocations/name_unknown.rs create mode 100644 src/tools/rustfmt/tests/source/skip_macro_invocations/names.rs create mode 100644 src/tools/rustfmt/tests/source/skip_macro_invocations/path_qualified_invocation_mismatch.rs create mode 100644 src/tools/rustfmt/tests/source/skip_macro_invocations/path_qualified_match.rs create mode 100644 src/tools/rustfmt/tests/source/skip_macro_invocations/path_qualified_name_mismatch.rs create mode 100644 src/tools/rustfmt/tests/source/skip_macro_invocations/use_alias_examples.rs create mode 100644 src/tools/rustfmt/tests/target/comments_unicode.rs delete mode 100644 src/tools/rustfmt/tests/target/configs/fn_args_layout/compressed.rs delete mode 100644 src/tools/rustfmt/tests/target/configs/fn_args_layout/tall.rs delete mode 100644 src/tools/rustfmt/tests/target/configs/fn_args_layout/vertical.rs create mode 100644 src/tools/rustfmt/tests/target/configs/fn_params_layout/compressed.rs create mode 100644 src/tools/rustfmt/tests/target/configs/fn_params_layout/tall.rs create mode 100644 src/tools/rustfmt/tests/target/configs/fn_params_layout/vertical.rs create mode 100644 src/tools/rustfmt/tests/target/issue-2534/format_macro_matchers_false.rs create mode 100644 src/tools/rustfmt/tests/target/issue-2534/format_macro_matchers_true.rs create mode 100644 src/tools/rustfmt/tests/target/issue-3987/format_macro_bodies_false.rs create mode 100644 src/tools/rustfmt/tests/target/issue-3987/format_macro_bodies_true.rs create mode 100644 src/tools/rustfmt/tests/target/issue-4643.rs create mode 100644 src/tools/rustfmt/tests/target/issue-4689/one.rs create mode 100644 src/tools/rustfmt/tests/target/issue-4689/two.rs create mode 100644 src/tools/rustfmt/tests/target/issue-5358.rs create mode 100644 src/tools/rustfmt/tests/target/issue_1306.rs create mode 100644 src/tools/rustfmt/tests/target/issue_3033.rs create mode 100644 src/tools/rustfmt/tests/target/issue_3245.rs create mode 100644 src/tools/rustfmt/tests/target/issue_3561.rs create mode 100644 src/tools/rustfmt/tests/target/issue_4350.rs create mode 100644 src/tools/rustfmt/tests/target/issue_5668.rs create mode 100644 src/tools/rustfmt/tests/target/skip_macro_invocations/all.rs create mode 100644 src/tools/rustfmt/tests/target/skip_macro_invocations/all_and_name.rs create mode 100644 src/tools/rustfmt/tests/target/skip_macro_invocations/empty.rs create mode 100644 src/tools/rustfmt/tests/target/skip_macro_invocations/name.rs create mode 100644 src/tools/rustfmt/tests/target/skip_macro_invocations/name_unknown.rs create mode 100644 src/tools/rustfmt/tests/target/skip_macro_invocations/names.rs create mode 100644 src/tools/rustfmt/tests/target/skip_macro_invocations/path_qualified_invocation_mismatch.rs create mode 100644 src/tools/rustfmt/tests/target/skip_macro_invocations/path_qualified_match.rs create mode 100644 src/tools/rustfmt/tests/target/skip_macro_invocations/path_qualified_name_mismatch.rs create mode 100644 src/tools/rustfmt/tests/target/skip_macro_invocations/use_alias_examples.rs create mode 100644 tests/codegen/array-map.rs create mode 100644 tests/codegen/inherit_overflow.rs create mode 100644 tests/codegen/instrument-xray/basic.rs create mode 100644 tests/codegen/instrument-xray/options-combine.rs create mode 100644 tests/codegen/instrument-xray/options-override.rs create mode 100644 tests/codegen/option-as-slice.rs create mode 100644 tests/codegen/sanitizer-kasan-emits-instrumentation.rs delete mode 100644 tests/mir-opt/76803_regression.encode.SimplifyBranchSame.diff delete mode 100644 tests/mir-opt/76803_regression.rs create mode 100644 tests/mir-opt/building/custom/arrays.arrays.built.after.mir create mode 100644 tests/mir-opt/building/custom/arrays.rs create mode 100644 tests/mir-opt/building/custom/operators.f.built.after.mir create mode 100644 tests/mir-opt/building/custom/operators.rs create mode 100644 tests/mir-opt/casts.redundant.InstCombine.diff create mode 100644 tests/mir-opt/casts.redundant.PreCodegen.after.mir create mode 100644 tests/mir-opt/casts.roundtrip.PreCodegen.after.mir create mode 100644 tests/mir-opt/casts.rs create mode 100644 tests/mir-opt/const_prop/aggregate.foo.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/aggregate.foo.PreCodegen.after.mir create mode 100644 tests/mir-opt/const_prop/inherit_overflow.main.ConstProp.diff create mode 100644 tests/mir-opt/const_prop/inherit_overflow.rs delete mode 100644 tests/mir-opt/const_prop/ref_deref.main.PromoteTemps.diff delete mode 100644 tests/mir-opt/const_prop/ref_deref_project.main.PromoteTemps.diff create mode 100644 tests/mir-opt/copy-prop/borrowed_local.f.CopyProp.diff create mode 100644 tests/mir-opt/copy-prop/borrowed_local.rs create mode 100644 tests/mir-opt/copy-prop/branch.foo.CopyProp.diff create mode 100644 tests/mir-opt/copy-prop/branch.rs create mode 100644 tests/mir-opt/copy-prop/copy_propagation_arg.arg_src.CopyProp.diff create mode 100644 tests/mir-opt/copy-prop/copy_propagation_arg.bar.CopyProp.diff create mode 100644 tests/mir-opt/copy-prop/copy_propagation_arg.baz.CopyProp.diff create mode 100644 tests/mir-opt/copy-prop/copy_propagation_arg.foo.CopyProp.diff create mode 100644 tests/mir-opt/copy-prop/copy_propagation_arg.rs create mode 100644 tests/mir-opt/copy-prop/custom_move_arg.f.CopyProp.diff create mode 100644 tests/mir-opt/copy-prop/custom_move_arg.rs create mode 100644 tests/mir-opt/copy-prop/cycle.main.CopyProp.diff create mode 100644 tests/mir-opt/copy-prop/cycle.rs create mode 100644 tests/mir-opt/copy-prop/dead_stores_79191.f.CopyProp.after.mir create mode 100644 tests/mir-opt/copy-prop/dead_stores_79191.rs create mode 100644 tests/mir-opt/copy-prop/dead_stores_better.f.CopyProp.after.mir create mode 100644 tests/mir-opt/copy-prop/dead_stores_better.rs create mode 100644 tests/mir-opt/copy-prop/issue_107511.main.CopyProp.diff create mode 100644 tests/mir-opt/copy-prop/issue_107511.rs create mode 100644 tests/mir-opt/copy-prop/move_arg.f.CopyProp.diff create mode 100644 tests/mir-opt/copy-prop/move_arg.rs create mode 100644 tests/mir-opt/copy-prop/move_projection.f.CopyProp.diff create mode 100644 tests/mir-opt/copy-prop/move_projection.rs create mode 100644 tests/mir-opt/copy-prop/mutate_through_pointer.f.CopyProp.diff create mode 100644 tests/mir-opt/copy-prop/mutate_through_pointer.rs create mode 100644 tests/mir-opt/copy-prop/non_dominate.f.CopyProp.diff create mode 100644 tests/mir-opt/copy-prop/non_dominate.rs delete mode 100644 tests/mir-opt/dataflow-const-prop/enum.main.DataflowConstProp.diff create mode 100644 tests/mir-opt/dataflow-const-prop/enum.multiple.DataflowConstProp.diff create mode 100644 tests/mir-opt/dataflow-const-prop/enum.mutate_discriminant.DataflowConstProp.diff create mode 100644 tests/mir-opt/dataflow-const-prop/enum.simple.DataflowConstProp.diff delete mode 100644 tests/mir-opt/deaggregator_test.bar.Deaggregator.diff delete mode 100644 tests/mir-opt/deaggregator_test.rs delete mode 100644 tests/mir-opt/deaggregator_test_enum.bar.Deaggregator.diff delete mode 100644 tests/mir-opt/deaggregator_test_enum.rs delete mode 100644 tests/mir-opt/deaggregator_test_enum_2.rs delete mode 100644 tests/mir-opt/deaggregator_test_enum_2.test1.Deaggregator.diff delete mode 100644 tests/mir-opt/deaggregator_test_multiple.rs delete mode 100644 tests/mir-opt/deaggregator_test_multiple.test.Deaggregator.diff create mode 100644 tests/mir-opt/dont_yeet_assert.generic.InstCombine.diff create mode 100644 tests/mir-opt/dont_yeet_assert.rs create mode 100644 tests/mir-opt/enum_opt.cand.EnumSizeOpt.32bit.diff create mode 100644 tests/mir-opt/enum_opt.cand.EnumSizeOpt.64bit.diff create mode 100644 tests/mir-opt/enum_opt.invalid.EnumSizeOpt.32bit.diff create mode 100644 tests/mir-opt/enum_opt.invalid.EnumSizeOpt.64bit.diff create mode 100644 tests/mir-opt/enum_opt.rs create mode 100644 tests/mir-opt/enum_opt.trunc.EnumSizeOpt.32bit.diff create mode 100644 tests/mir-opt/enum_opt.trunc.EnumSizeOpt.64bit.diff create mode 100644 tests/mir-opt/enum_opt.unin.EnumSizeOpt.32bit.diff create mode 100644 tests/mir-opt/enum_opt.unin.EnumSizeOpt.64bit.diff create mode 100644 tests/mir-opt/intrinsic_asserts.generic.InstCombine.diff create mode 100644 tests/mir-opt/intrinsic_asserts.panics.InstCombine.diff create mode 100644 tests/mir-opt/intrinsic_asserts.removable.InstCombine.diff create mode 100644 tests/mir-opt/intrinsic_asserts.rs delete mode 100644 tests/mir-opt/issue_41110.main.ElaborateDrops.after.mir create mode 100644 tests/mir-opt/issue_41110.main.ElaborateDrops.diff delete mode 100644 tests/mir-opt/issue_41110.test.ElaborateDrops.after.mir create mode 100644 tests/mir-opt/issue_41110.test.ElaborateDrops.diff delete mode 100644 tests/mir-opt/issue_41888.main.ElaborateDrops.after.mir create mode 100644 tests/mir-opt/issue_41888.main.ElaborateDrops.diff delete mode 100644 tests/mir-opt/issue_73223.main.SimplifyArmIdentity.diff delete mode 100644 tests/mir-opt/issue_73223.rs create mode 100644 tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff create mode 100644 tests/mir-opt/lower_array_len.array_len_reborrow.NormalizeArrayLen.diff delete mode 100644 tests/mir-opt/lower_array_len_e2e.array_bound.PreCodegen.after.mir delete mode 100644 tests/mir-opt/lower_array_len_e2e.array_bound_mut.PreCodegen.after.mir delete mode 100644 tests/mir-opt/lower_array_len_e2e.array_len.PreCodegen.after.mir delete mode 100644 tests/mir-opt/lower_array_len_e2e.array_len_by_value.PreCodegen.after.mir delete mode 100644 tests/mir-opt/lower_array_len_e2e.rs create mode 100644 tests/mir-opt/lower_intrinsics.with_overflow.LowerIntrinsics.diff create mode 100644 tests/mir-opt/slice_filter.rs create mode 100644 tests/mir-opt/slice_filter.variant_a-{closure#0}.CopyProp.diff create mode 100644 tests/mir-opt/slice_filter.variant_a-{closure#0}.DestinationPropagation.diff create mode 100644 tests/mir-opt/slice_filter.variant_b-{closure#0}.CopyProp.diff create mode 100644 tests/mir-opt/slice_filter.variant_b-{closure#0}.DestinationPropagation.diff create mode 100644 tests/mir-opt/sroa.constant.ScalarReplacementOfAggregates.diff create mode 100644 tests/mir-opt/sroa.copies.ScalarReplacementOfAggregates.diff create mode 100644 tests/mir-opt/sroa.ref_copies.ScalarReplacementOfAggregates.diff delete mode 100644 tests/run-make-fulldeps/issues-41478-43796/Makefile delete mode 100644 tests/run-make-fulldeps/issues-41478-43796/a.rs delete mode 100644 tests/run-make-fulldeps/save-analysis-fail/Makefile delete mode 100644 tests/run-make-fulldeps/save-analysis-fail/SameDir.rs delete mode 100644 tests/run-make-fulldeps/save-analysis-fail/SameDir3.rs delete mode 100644 tests/run-make-fulldeps/save-analysis-fail/SubDir/mod.rs delete mode 100644 tests/run-make-fulldeps/save-analysis-fail/foo.rs delete mode 100644 tests/run-make-fulldeps/save-analysis-fail/krate2.rs delete mode 100644 tests/run-make-fulldeps/save-analysis-rfc2126/Makefile delete mode 100644 tests/run-make-fulldeps/save-analysis-rfc2126/extern_absolute_paths.rs delete mode 100644 tests/run-make-fulldeps/save-analysis-rfc2126/krate2.rs delete mode 100644 tests/run-make-fulldeps/save-analysis-rfc2126/validate_json.py delete mode 100644 tests/run-make-fulldeps/save-analysis/Makefile delete mode 100644 tests/run-make-fulldeps/save-analysis/SameDir.rs delete mode 100644 tests/run-make-fulldeps/save-analysis/SameDir3.rs delete mode 100644 tests/run-make-fulldeps/save-analysis/SubDir/mod.rs delete mode 100644 tests/run-make-fulldeps/save-analysis/extra-docs.md delete mode 100644 tests/run-make-fulldeps/save-analysis/foo.rs delete mode 100644 tests/run-make-fulldeps/save-analysis/krate2.rs create mode 100644 tests/run-make/no-input-file/Makefile create mode 100644 tests/run-make/no-input-file/no-input-file.stderr create mode 100644 tests/run-make/overwrite-input/Makefile create mode 100644 tests/run-make/overwrite-input/file.stderr create mode 100644 tests/run-make/overwrite-input/folder.stderr create mode 100644 tests/run-make/overwrite-input/main.rs create mode 100644 tests/run-make/overwrite-input/main.stderr create mode 100644 tests/run-make/rlib-format-packed-bundled-libs-3/Makefile create mode 100644 tests/run-make/rlib-format-packed-bundled-libs-3/main.rs create mode 100644 tests/run-make/rlib-format-packed-bundled-libs-3/native_dep_1.c create mode 100644 tests/run-make/rlib-format-packed-bundled-libs-3/native_dep_2.c create mode 100644 tests/run-make/rlib-format-packed-bundled-libs-3/native_dep_3.c create mode 100644 tests/run-make/rlib-format-packed-bundled-libs-3/native_dep_4.c create mode 100644 tests/run-make/rlib-format-packed-bundled-libs-3/rust_dep.rs create mode 100644 tests/run-make/rlib-format-packed-bundled-libs-3/rust_dep_cfg.rs create mode 100644 tests/rustdoc-gui/search-error.goml create mode 100644 tests/rustdoc-js-std/reference-shrink.js create mode 100644 tests/rustdoc-js-std/regex.js create mode 100644 tests/rustdoc-js/macro-search.js create mode 100644 tests/rustdoc-js/macro-search.rs create mode 100644 tests/rustdoc-json/reexport/same_name_different_types.rs create mode 100644 tests/rustdoc-ui/auxiliary/panic-handler.rs create mode 100644 tests/rustdoc-ui/infinite-recursive-type-impl-trait-return.stderr create mode 100644 tests/rustdoc-ui/infinite-recursive-type-impl-trait.stderr create mode 100644 tests/rustdoc-ui/intra-doc/import-inline-merge.rs create mode 100644 tests/rustdoc-ui/intra-doc/proc-macro-doc.rs create mode 100644 tests/rustdoc-ui/issue-107918.rs create mode 100644 tests/rustdoc-ui/proc_macro_bug.rs create mode 100644 tests/rustdoc-ui/proc_macro_bug.stderr create mode 100644 tests/rustdoc-ui/rustdoc-all-only-stable-lints.rs create mode 100644 tests/rustdoc/async-fn-opaque-item.rs create mode 100644 tests/rustdoc/document-item-with-associated-const-in-where-clause.rs create mode 100644 tests/rustdoc/hidden-private.rs create mode 100644 tests/rustdoc/impl-in-const-block.rs create mode 100644 tests/rustdoc/issue-107995.rs create mode 100644 tests/rustdoc/issue-108231.rs create mode 100644 tests/rustdoc/issue-108281.rs create mode 100644 tests/rustdoc/item-desc-list-at-start.item-table.html create mode 100644 tests/rustdoc/item-desc-list-at-start.rs delete mode 100644 tests/rustdoc/markdown-summaries.rs create mode 100644 tests/rustdoc/reexport-attr-merge.rs create mode 100644 tests/rustdoc/reexport-hidden-macro.rs create mode 100644 tests/rustdoc/reexport-macro.rs create mode 100644 tests/rustdoc/reexports-of-same-name.rs delete mode 100644 tests/ui-fulldeps/create-dir-all-bare.rs create mode 100644 tests/ui-fulldeps/fluent-messages/duplicate.ftl create mode 100644 tests/ui-fulldeps/fluent-messages/missing-message-ref.ftl create mode 100644 tests/ui-fulldeps/internal-lints/diagnostics.ftl delete mode 100644 tests/ui-fulldeps/issue-15149.rs delete mode 100644 tests/ui-fulldeps/issue-81357-unsound-file-methods.rs delete mode 100644 tests/ui-fulldeps/rename-directory.rs create mode 100644 tests/ui-fulldeps/session-diagnostic/example.ftl create mode 100644 tests/ui-fulldeps/std/issue-15149.rs create mode 100644 tests/ui-fulldeps/std/issue-81357-unsound-file-methods.rs create mode 100644 tests/ui-fulldeps/std/stdio-from.rs create mode 100644 tests/ui-fulldeps/std/switch-stdout.rs delete mode 100644 tests/ui-fulldeps/stdio-from.rs delete mode 100644 tests/ui-fulldeps/switch-stdout.rs create mode 100644 tests/ui/associated-inherent-types/ambiguity.rs create mode 100644 tests/ui/associated-inherent-types/ambiguity.stderr create mode 100644 tests/ui/associated-inherent-types/bugs/ice-substitution.rs create mode 100644 tests/ui/associated-inherent-types/bugs/ice-substitution.stderr create mode 100644 tests/ui/associated-inherent-types/bugs/inference-fail.rs create mode 100644 tests/ui/associated-inherent-types/bugs/inference-fail.stderr create mode 100644 tests/ui/associated-inherent-types/bugs/lack-of-regionck.rs create mode 100644 tests/ui/associated-inherent-types/dispatch-on-self-type-0.rs create mode 100644 tests/ui/associated-inherent-types/dispatch-on-self-type-1.rs create mode 100644 tests/ui/associated-inherent-types/dispatch-on-self-type-2.rs create mode 100644 tests/ui/associated-inherent-types/dispatch-on-self-type-2.stderr create mode 100644 tests/ui/associated-inherent-types/not-found-self-type-differs-shadowing-trait-item.rs create mode 100644 tests/ui/associated-inherent-types/not-found-self-type-differs-shadowing-trait-item.shadowed.stderr create mode 100644 tests/ui/associated-inherent-types/not-found-self-type-differs-shadowing-trait-item.uncovered.stderr create mode 100644 tests/ui/associated-inherent-types/not-found-self-type-differs.alias.stderr create mode 100644 tests/ui/associated-inherent-types/not-found-self-type-differs.local.stderr create mode 100644 tests/ui/associated-inherent-types/not-found-self-type-differs.rs create mode 100644 tests/ui/associated-inherent-types/not-found-unsatisfied-bounds-0.rs create mode 100644 tests/ui/associated-inherent-types/not-found-unsatisfied-bounds-0.stderr create mode 100644 tests/ui/associated-inherent-types/not-found-unsatisfied-bounds-1.rs create mode 100644 tests/ui/associated-inherent-types/not-found-unsatisfied-bounds-1.stderr create mode 100644 tests/ui/associated-inherent-types/not-found-unsatisfied-bounds-in-multiple-impls.rs create mode 100644 tests/ui/associated-inherent-types/not-found-unsatisfied-bounds-in-multiple-impls.stderr delete mode 100644 tests/ui/associated-inherent-types/struct-generics.rs create mode 100644 tests/ui/associated-inherent-types/substitute-params-bad.rs create mode 100644 tests/ui/associated-inherent-types/substitute-params-bad.stderr create mode 100644 tests/ui/associated-inherent-types/substitute-params.rs create mode 100644 tests/ui/associated-type-bounds/bad-universal-in-dyn-in-where-clause.rs create mode 100644 tests/ui/associated-type-bounds/bad-universal-in-dyn-in-where-clause.stderr create mode 100644 tests/ui/associated-type-bounds/bad-universal-in-impl-sig.rs create mode 100644 tests/ui/associated-type-bounds/bad-universal-in-impl-sig.stderr create mode 100644 tests/ui/associated-types/issue-38821.rs create mode 100644 tests/ui/associated-types/issue-38821.stderr create mode 100644 tests/ui/async-await/async-await-let-else.drop_tracking.stderr create mode 100644 tests/ui/async-await/async-await-let-else.drop_tracking_mir.stderr create mode 100644 tests/ui/async-await/async-await-let-else.no_drop_tracking.stderr create mode 100644 tests/ui/async-await/async-error-span.drop_tracking.stderr create mode 100644 tests/ui/async-await/async-error-span.drop_tracking_mir.stderr create mode 100644 tests/ui/async-await/async-error-span.no_drop_tracking.stderr delete mode 100644 tests/ui/async-await/async-error-span.stderr create mode 100644 tests/ui/async-await/async-fn-nonsend.drop_tracking.stderr create mode 100644 tests/ui/async-await/async-fn-nonsend.drop_tracking_mir.stderr create mode 100644 tests/ui/async-await/async-fn-nonsend.no_drop_tracking.stderr create mode 100644 tests/ui/async-await/drop-track-field-assign-nonsend.drop_tracking.stderr create mode 100644 tests/ui/async-await/drop-track-field-assign-nonsend.drop_tracking_mir.stderr create mode 100644 tests/ui/async-await/drop-track-field-assign-nonsend.no_drop_tracking.stderr delete mode 100644 tests/ui/async-await/drop-track-field-assign-nonsend.stderr create mode 100644 tests/ui/async-await/field-assign-nonsend.drop_tracking.stderr create mode 100644 tests/ui/async-await/field-assign-nonsend.drop_tracking_mir.stderr create mode 100644 tests/ui/async-await/field-assign-nonsend.no_drop_tracking.stderr create mode 100644 tests/ui/async-await/field-assign-nonsend.rs create mode 100644 tests/ui/async-await/field-assign.rs create mode 100644 tests/ui/async-await/future-sizes/async-awaiting-fut.rs create mode 100644 tests/ui/async-await/future-sizes/async-awaiting-fut.stdout create mode 100644 tests/ui/async-await/future-sizes/future-as-arg.rs create mode 100644 tests/ui/async-await/future-sizes/large-arg.rs create mode 100644 tests/ui/async-await/future-sizes/large-arg.stdout create mode 100644 tests/ui/async-await/in-trait/async-default-fn-overridden.rs create mode 100644 tests/ui/async-await/in-trait/async-default-fn-overridden.stderr create mode 100644 tests/ui/async-await/in-trait/dont-project-to-specializable-projection.rs create mode 100644 tests/ui/async-await/in-trait/dont-project-to-specializable-projection.stderr create mode 100644 tests/ui/async-await/issue-64130-1-sync.drop_tracking.stderr create mode 100644 tests/ui/async-await/issue-64130-1-sync.drop_tracking_mir.stderr create mode 100644 tests/ui/async-await/issue-64130-1-sync.no_drop_tracking.stderr create mode 100644 tests/ui/async-await/issue-64130-2-send.drop_tracking.stderr create mode 100644 tests/ui/async-await/issue-64130-2-send.drop_tracking_mir.stderr create mode 100644 tests/ui/async-await/issue-64130-2-send.no_drop_tracking.stderr create mode 100644 tests/ui/async-await/issue-64130-3-other.drop_tracking.stderr create mode 100644 tests/ui/async-await/issue-64130-3-other.drop_tracking_mir.stderr create mode 100644 tests/ui/async-await/issue-64130-3-other.no_drop_tracking.stderr create mode 100644 tests/ui/async-await/issue-67252-unnamed-future.drop_tracking.stderr create mode 100644 tests/ui/async-await/issue-67252-unnamed-future.drop_tracking_mir.stderr create mode 100644 tests/ui/async-await/issue-67252-unnamed-future.no_drop_tracking.stderr delete mode 100644 tests/ui/async-await/issue-67252-unnamed-future.stderr create mode 100644 tests/ui/async-await/issue-68112.drop_tracking_mir.stderr create mode 100644 tests/ui/async-await/issue-70818.drop_tracking.stderr create mode 100644 tests/ui/async-await/issue-70818.drop_tracking_mir.stderr create mode 100644 tests/ui/async-await/issue-70818.no_drop_tracking.stderr create mode 100644 tests/ui/async-await/issue-70935-complex-spans.drop_tracking_mir.stderr create mode 100644 tests/ui/async-await/issue-73741-type-err-drop-tracking.drop_tracking.stderr create mode 100644 tests/ui/async-await/issue-73741-type-err-drop-tracking.drop_tracking_mir.stderr create mode 100644 tests/ui/async-await/issue-73741-type-err-drop-tracking.no_drop_tracking.stderr create mode 100644 tests/ui/async-await/issue-86507.drop_tracking.stderr create mode 100644 tests/ui/async-await/issue-86507.drop_tracking_mir.stderr create mode 100644 tests/ui/async-await/issue-86507.no_drop_tracking.stderr delete mode 100644 tests/ui/async-await/issue-86507.stderr create mode 100644 tests/ui/async-await/issues/issue-107280.rs create mode 100644 tests/ui/async-await/issues/issue-107280.stderr create mode 100644 tests/ui/async-await/multiple-lifetimes/member-constraints-min-choice-issue-63033.rs create mode 100644 tests/ui/async-await/mutually-recursive-async-impl-trait-type.drop_tracking.stderr create mode 100644 tests/ui/async-await/mutually-recursive-async-impl-trait-type.drop_tracking_mir.stderr create mode 100644 tests/ui/async-await/mutually-recursive-async-impl-trait-type.no_drop_tracking.stderr create mode 100644 tests/ui/async-await/recursive-async-impl-trait-type.drop_tracking.stderr create mode 100644 tests/ui/async-await/recursive-async-impl-trait-type.drop_tracking_mir.stderr create mode 100644 tests/ui/async-await/recursive-async-impl-trait-type.no_drop_tracking.stderr create mode 100644 tests/ui/async-await/send-bound-async-closure.rs create mode 100644 tests/ui/async-await/unresolved_type_param.drop_tracking.stderr create mode 100644 tests/ui/async-await/unresolved_type_param.drop_tracking_mir.stderr create mode 100644 tests/ui/async-await/unresolved_type_param.no_drop_tracking.stderr create mode 100644 tests/ui/attributes/invalid_macro_export_argument.rs create mode 100644 tests/ui/attributes/invalid_macro_export_argument.stderr create mode 100644 tests/ui/attributes/rustc-box.rs create mode 100644 tests/ui/attributes/rustc-box.stderr create mode 100644 tests/ui/auto-traits/str-contains-slice-conceptually.rs create mode 100644 tests/ui/auto-traits/str-contains-slice-conceptually.stderr create mode 100644 tests/ui/borrowck/issue-83924.fixed create mode 100644 tests/ui/borrowck/issue-83924.rs create mode 100644 tests/ui/borrowck/issue-83924.stderr create mode 100644 tests/ui/borrowck/issue-95079-missing-move-in-nested-closure.fixed create mode 100644 tests/ui/closures/binder/const-bound.rs create mode 100644 tests/ui/closures/binder/const-bound.stderr create mode 100644 tests/ui/closures/binder/type-bound-2.rs create mode 100644 tests/ui/closures/binder/type-bound-2.stderr create mode 100644 tests/ui/closures/binder/type-bound.rs create mode 100644 tests/ui/closures/binder/type-bound.stderr create mode 100644 tests/ui/coinduction/canonicalization-rerun.rs create mode 100644 tests/ui/const-generics/generic_const_exprs/const_kind_expr/relate_binop_arg_tys.rs create mode 100644 tests/ui/const-generics/generic_const_exprs/const_kind_expr/relate_binop_arg_tys.stderr create mode 100644 tests/ui/const-generics/generic_const_exprs/const_kind_expr/relate_cast_arg_ty.rs create mode 100644 tests/ui/const-generics/generic_const_exprs/const_kind_expr/relate_cast_arg_ty.stderr create mode 100644 tests/ui/const-generics/generic_const_exprs/const_kind_expr/relate_ty_with_infer_1.rs create mode 100644 tests/ui/const-generics/generic_const_exprs/const_kind_expr/relate_ty_with_infer_2.rs create mode 100644 tests/ui/const-generics/generic_const_exprs/single-satisfied-ConstEvaluatable-in-probe.rs create mode 100644 tests/ui/const-generics/issues/issue-105821.rs create mode 100644 tests/ui/const-generics/wrong-normalization.rs create mode 100644 tests/ui/const-generics/wrong-normalization.stderr create mode 100644 tests/ui/consts/array-literal-len-mismatch.rs create mode 100644 tests/ui/consts/array-literal-len-mismatch.stderr create mode 100644 tests/ui/consts/const-eval/stable-metric/ctfe-fn-call.rs create mode 100644 tests/ui/consts/const-eval/stable-metric/ctfe-fn-call.stderr create mode 100644 tests/ui/consts/const-eval/stable-metric/ctfe-labelled-loop.rs create mode 100644 tests/ui/consts/const-eval/stable-metric/ctfe-labelled-loop.stderr create mode 100644 tests/ui/consts/const-eval/stable-metric/ctfe-recursion.rs create mode 100644 tests/ui/consts/const-eval/stable-metric/ctfe-recursion.stderr create mode 100644 tests/ui/consts/const-eval/stable-metric/ctfe-simple-loop.rs create mode 100644 tests/ui/consts/const-eval/stable-metric/ctfe-simple-loop.stderr create mode 100644 tests/ui/consts/const-eval/stable-metric/dominators-edge-case.rs create mode 100644 tests/ui/consts/gate-do-not-const-check.rs create mode 100644 tests/ui/consts/gate-do-not-const-check.stderr create mode 100644 tests/ui/consts/issue-33903.rs create mode 100644 tests/ui/consts/issue-54582.rs create mode 100644 tests/ui/derives/deriving-with-repr-packed-2.rs create mode 100644 tests/ui/derives/deriving-with-repr-packed-2.stderr create mode 100644 tests/ui/deriving/deriving-all-codegen.stderr create mode 100644 tests/ui/diagnostic-flags/terminal_urls.rs create mode 100644 tests/ui/diagnostic-flags/terminal_urls.stderr create mode 100644 tests/ui/did_you_mean/println-typo.rs create mode 100644 tests/ui/did_you_mean/println-typo.stderr create mode 100644 tests/ui/drop/issue-2735-2.rs create mode 100644 tests/ui/drop/issue-2735-3.rs create mode 100644 tests/ui/drop/issue-2735.rs create mode 100644 tests/ui/dyn-star/llvm-old-style-ptrs.rs create mode 100644 tests/ui/error-codes/E0476.rs create mode 100644 tests/ui/error-codes/E0476.stderr create mode 100644 tests/ui/error-codes/E0523.rs create mode 100644 tests/ui/error-codes/E0523.stderr create mode 100644 tests/ui/error-codes/E0789.rs create mode 100644 tests/ui/error-codes/E0789.stderr create mode 100644 tests/ui/errors/trait-bound-error-spans/blame-trait-error.rs create mode 100644 tests/ui/errors/trait-bound-error-spans/blame-trait-error.stderr create mode 100644 tests/ui/errors/traits/blame-trait-error-spans-on-exprs.rs create mode 100644 tests/ui/errors/traits/blame-trait-error-spans-on-exprs.stderr create mode 100644 tests/ui/feature-gates/feature-gate-dispatch-from-dyn-cell.rs create mode 100644 tests/ui/feature-gates/feature-gate-dispatch-from-dyn-cell.stderr create mode 100644 tests/ui/feature-gates/feature-gate-dispatch-from-dyn-missing-impl.rs create mode 100644 tests/ui/feature-gates/feature-gate-dispatch-from-dyn-missing-impl.stderr create mode 100644 tests/ui/feature-gates/feature-gate-multiple_supertrait_upcastable.rs create mode 100644 tests/ui/feature-gates/feature-gate-multiple_supertrait_upcastable.stderr create mode 100644 tests/ui/feature-gates/feature-gate-non_lifetime_binders.rs create mode 100644 tests/ui/feature-gates/feature-gate-non_lifetime_binders.stderr create mode 100644 tests/ui/fmt/format-string-wrong-order.rs create mode 100644 tests/ui/fmt/format-string-wrong-order.stderr create mode 100644 tests/ui/fmt/issue-75307.rs create mode 100644 tests/ui/fmt/issue-75307.stderr create mode 100644 tests/ui/fn/fn-pointer-mismatch.rs create mode 100644 tests/ui/fn/fn-pointer-mismatch.stderr create mode 100644 tests/ui/for/for-else-err.rs create mode 100644 tests/ui/for/for-else-err.stderr create mode 100644 tests/ui/for/for-else-let-else-err.rs create mode 100644 tests/ui/for/for-else-let-else-err.stderr create mode 100644 tests/ui/generator/auto-trait-regions.drop_tracking.stderr create mode 100644 tests/ui/generator/auto-trait-regions.drop_tracking_mir.stderr create mode 100644 tests/ui/generator/auto-trait-regions.no_drop_tracking.stderr create mode 100644 tests/ui/generator/borrowing.drop_tracking.stderr create mode 100644 tests/ui/generator/borrowing.drop_tracking_mir.stderr create mode 100644 tests/ui/generator/borrowing.no_drop_tracking.stderr create mode 100644 tests/ui/generator/drop-tracking-parent-expression.drop_tracking.stderr create mode 100644 tests/ui/generator/drop-tracking-parent-expression.drop_tracking_mir.stderr create mode 100644 tests/ui/generator/drop-tracking-parent-expression.no_drop_tracking.stderr delete mode 100644 tests/ui/generator/drop-tracking-parent-expression.stderr create mode 100644 tests/ui/generator/issue-105084.drop_tracking_mir.stderr create mode 100644 tests/ui/generator/issue-105084.rs create mode 100644 tests/ui/generator/issue-57017.no_drop_tracking.stderr create mode 100644 tests/ui/generator/issue-57478.no_drop_tracking.stderr create mode 100644 tests/ui/generator/issue-68112.drop_tracking.stderr create mode 100644 tests/ui/generator/issue-68112.drop_tracking_mir.stderr create mode 100644 tests/ui/generator/issue-68112.no_drop_tracking.stderr delete mode 100644 tests/ui/generator/issue-68112.stderr create mode 100644 tests/ui/generator/not-send-sync.drop_tracking.stderr create mode 100644 tests/ui/generator/not-send-sync.drop_tracking_mir.stderr create mode 100644 tests/ui/generator/not-send-sync.no_drop_tracking.stderr delete mode 100644 tests/ui/generator/not-send-sync.stderr create mode 100644 tests/ui/generator/parent-expression.drop_tracking.stderr create mode 100644 tests/ui/generator/parent-expression.drop_tracking_mir.stderr create mode 100644 tests/ui/generator/parent-expression.no_drop_tracking.stderr create mode 100644 tests/ui/generator/parent-expression.rs create mode 100644 tests/ui/generator/partial-drop.drop_tracking.stderr create mode 100644 tests/ui/generator/partial-drop.no_drop_tracking.stderr delete mode 100644 tests/ui/generator/partial-drop.stderr create mode 100644 tests/ui/generator/print/generator-print-verbose-1.drop_tracking.stderr create mode 100644 tests/ui/generator/print/generator-print-verbose-1.drop_tracking_mir.stderr create mode 100644 tests/ui/generator/print/generator-print-verbose-1.no_drop_tracking.stderr delete mode 100644 tests/ui/generator/print/generator-print-verbose-1.stderr create mode 100644 tests/ui/generator/print/generator-print-verbose-2.drop_tracking.stderr create mode 100644 tests/ui/generator/print/generator-print-verbose-2.drop_tracking_mir.stderr create mode 100644 tests/ui/generator/print/generator-print-verbose-2.no_drop_tracking.stderr delete mode 100644 tests/ui/generator/print/generator-print-verbose-2.stderr create mode 100644 tests/ui/generator/retain-resume-ref.drop_tracking.stderr create mode 100644 tests/ui/generator/retain-resume-ref.drop_tracking_mir.stderr create mode 100644 tests/ui/generator/retain-resume-ref.no_drop_tracking.stderr create mode 100644 tests/ui/generic-associated-types/issue-88360.fixed delete mode 100644 tests/ui/generic-associated-types/method-unsatified-assoc-type-predicate.rs delete mode 100644 tests/ui/generic-associated-types/method-unsatified-assoc-type-predicate.stderr create mode 100644 tests/ui/generic-associated-types/method-unsatisfied-assoc-type-predicate.rs create mode 100644 tests/ui/generic-associated-types/method-unsatisfied-assoc-type-predicate.stderr delete mode 100644 tests/ui/generic-associated-types/unsatified-item-lifetime-bound.rs delete mode 100644 tests/ui/generic-associated-types/unsatified-item-lifetime-bound.stderr create mode 100644 tests/ui/generic-associated-types/unsatisfied-item-lifetime-bound.rs create mode 100644 tests/ui/generic-associated-types/unsatisfied-item-lifetime-bound.stderr create mode 100644 tests/ui/half-open-range-patterns/half-open-range-pats-inclusive-match-arrow.rs create mode 100644 tests/ui/half-open-range-patterns/half-open-range-pats-inclusive-match-arrow.stderr create mode 100644 tests/ui/higher-rank-trait-bounds/issue-39292.rs delete mode 100644 tests/ui/impl-trait/equal-hidden-lifetimes.stderr create mode 100644 tests/ui/impl-trait/in-trait/default-method-constraint.rs create mode 100644 tests/ui/impl-trait/in-trait/default-method-constraint.stderr create mode 100644 tests/ui/impl-trait/in-trait/new-lowering-strategy/simple-trait.rs create mode 100644 tests/ui/impl-trait/issue-55872-2.drop_tracking.stderr create mode 100644 tests/ui/impl-trait/issue-55872-2.drop_tracking_mir.stderr create mode 100644 tests/ui/impl-trait/issue-55872-2.no_drop_tracking.stderr create mode 100644 tests/ui/impl-trait/recursive-impl-trait-type-indirect.drop_tracking.stderr create mode 100644 tests/ui/impl-trait/recursive-impl-trait-type-indirect.drop_tracking_mir.stderr create mode 100644 tests/ui/impl-trait/recursive-impl-trait-type-indirect.no_drop_tracking.stderr delete mode 100644 tests/ui/impl-trait/recursive-impl-trait-type-indirect.stderr create mode 100644 tests/ui/inference/array-len-mismatch.rs create mode 100644 tests/ui/inference/array-len-mismatch.stderr create mode 100644 tests/ui/inference/issue-107090.rs create mode 100644 tests/ui/inference/issue-107090.stderr create mode 100644 tests/ui/inference/need_type_info/issue-107745-avoid-expr-from-macro-expansion.rs create mode 100644 tests/ui/inference/need_type_info/issue-107745-avoid-expr-from-macro-expansion.stderr create mode 100644 tests/ui/infinite/auxiliary/alias.rs create mode 100644 tests/ui/infinite/infinite-alias.rs create mode 100644 tests/ui/infinite/infinite-alias.stderr create mode 100644 tests/ui/instrument-xray/flags-always-never-1.rs create mode 100644 tests/ui/instrument-xray/flags-always-never-1.stderr create mode 100644 tests/ui/instrument-xray/flags-always-never-2.rs create mode 100644 tests/ui/instrument-xray/flags-basic.rs create mode 100644 tests/ui/instrument-xray/flags-dupe-always.rs create mode 100644 tests/ui/instrument-xray/flags-dupe-always.stderr create mode 100644 tests/ui/instrument-xray/flags-dupe-ignore-loops.rs create mode 100644 tests/ui/instrument-xray/flags-dupe-ignore-loops.stderr create mode 100644 tests/ui/instrument-xray/target-not-supported.rs create mode 100644 tests/ui/instrument-xray/target-not-supported.stderr create mode 100644 tests/ui/io-checks/inaccessbile-temp-dir.rs create mode 100644 tests/ui/io-checks/inaccessbile-temp-dir.stderr create mode 100644 tests/ui/io-checks/non-ice-error-on-worker-io-fail.rs create mode 100644 tests/ui/io-checks/non-ice-error-on-worker-io-fail.stderr create mode 100644 tests/ui/issues/issue-106755.rs create mode 100644 tests/ui/issues/issue-106755.stderr delete mode 100644 tests/ui/issues/issue-22536-copy-mustnt-zero.rs delete mode 100644 tests/ui/issues/issue-2735-2.rs delete mode 100644 tests/ui/issues/issue-2735-3.rs delete mode 100644 tests/ui/issues/issue-2735.rs delete mode 100644 tests/ui/issues/issue-27583.rs delete mode 100644 tests/ui/issues/issue-33903.rs delete mode 100644 tests/ui/issues/issue-38821.rs delete mode 100644 tests/ui/issues/issue-38821.stderr delete mode 100644 tests/ui/issues/issue-39292.rs delete mode 100644 tests/ui/issues/issue-40003.rs delete mode 100644 tests/ui/issues/issue-48179.rs delete mode 100644 tests/ui/issues/issue-50576.rs delete mode 100644 tests/ui/issues/issue-50576.stderr delete mode 100644 tests/ui/issues/issue-53712.rs delete mode 100644 tests/ui/issues/issue-53712.stderr delete mode 100644 tests/ui/issues/issue-54582.rs delete mode 100644 tests/ui/issues/issue-70093.rs create mode 100644 tests/ui/issues/issue-70093/issue-70093-link-directives.rs create mode 100644 tests/ui/issues/issue-70093/issue-70093.rs delete mode 100644 tests/ui/issues/issue-75307.rs delete mode 100644 tests/ui/issues/issue-75307.stderr delete mode 100644 tests/ui/issues/issue-75777.rs delete mode 100644 tests/ui/issues/issue-75777.stderr delete mode 100644 tests/ui/issues/issue-7813.rs delete mode 100644 tests/ui/issues/issue-7813.stderr delete mode 100644 tests/ui/issues/issue-83924.fixed delete mode 100644 tests/ui/issues/issue-83924.rs delete mode 100644 tests/ui/issues/issue-83924.stderr create mode 100644 tests/ui/issues/issue-92741.fixed create mode 100644 tests/ui/issues/issue-92741.rs create mode 100644 tests/ui/issues/issue-92741.stderr create mode 100644 tests/ui/lang-items/bad-add-impl.rs create mode 100644 tests/ui/lang-items/bad-add-impl.stderr create mode 100644 tests/ui/lang-items/fn-fn_mut-call-ill-formed.bad_item.stderr create mode 100644 tests/ui/lang-items/fn-fn_mut-call-ill-formed.bad_sig.stderr create mode 100644 tests/ui/lang-items/fn-fn_mut-call-ill-formed.fn_bad_item.stderr create mode 100644 tests/ui/lang-items/fn-fn_mut-call-ill-formed.fn_bad_sig.stderr create mode 100644 tests/ui/lang-items/fn-fn_mut-call-ill-formed.fn_mut_bad_item.stderr create mode 100644 tests/ui/lang-items/fn-fn_mut-call-ill-formed.fn_mut_bad_sig.stderr create mode 100644 tests/ui/lang-items/fn-fn_mut-call-ill-formed.fn_once_bad_item.stderr create 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.stderr delete mode 100644 tests/ui/lang-items/lang-item-missing-generator.rs delete mode 100644 tests/ui/lang-items/lang-item-missing-generator.stderr create mode 100644 tests/ui/let-else/accidental-if.rs create mode 100644 tests/ui/let-else/accidental-if.stderr create mode 100644 tests/ui/lifetimes/issue-103582-hint-for-missing-lifetime-bound-on-trait-object-using-type-alias.fixed create mode 100644 tests/ui/lifetimes/issue-103582-hint-for-missing-lifetime-bound-on-trait-object-using-type-alias.rs create mode 100644 tests/ui/lifetimes/issue-103582-hint-for-missing-lifetime-bound-on-trait-object-using-type-alias.stderr create mode 100644 tests/ui/lifetimes/issue-104432-unused-lifetimes-in-expansion.rs create mode 100644 tests/ui/lifetimes/issue-107492-default-value-for-lifetime.rs create mode 100644 tests/ui/lifetimes/issue-107492-default-value-for-lifetime.stderr create mode 100644 tests/ui/lifetimes/issue-107988.rs create mode 100644 tests/ui/lifetimes/issue-107988.stderr create mode 100644 tests/ui/lifetimes/issue-69314.fixed create mode 100644 tests/ui/lifetimes/issue-69314.rs create mode 100644 tests/ui/lifetimes/issue-69314.stderr create mode 100644 tests/ui/lint/dead-code/in-closure.rs create mode 100644 tests/ui/lint/dead-code/in-closure.stderr create mode 100644 tests/ui/lint/invalid_value-polymorphic.rs create mode 100644 tests/ui/lint/issue-106991.rs create mode 100644 tests/ui/lint/issue-106991.stderr create mode 100644 tests/ui/lint/lint_map_unit_fn.rs create mode 100644 tests/ui/lint/lint_map_unit_fn.stderr create mode 100644 tests/ui/lint/must_not_suspend/dedup.drop_tracking.stderr create mode 100644 tests/ui/lint/must_not_suspend/dedup.drop_tracking_mir.stderr create mode 100644 tests/ui/lint/must_not_suspend/dedup.no_drop_tracking.stderr create mode 100644 tests/ui/lint/must_not_suspend/ref.drop_tracking_mir.stderr create mode 100644 tests/ui/lint/must_not_suspend/trait.drop_tracking.stderr create mode 100644 tests/ui/lint/must_not_suspend/trait.drop_tracking_mir.stderr create mode 100644 tests/ui/lint/must_not_suspend/trait.no_drop_tracking.stderr create mode 100644 tests/ui/lint/must_not_suspend/unit.drop_tracking.stderr create mode 100644 tests/ui/lint/must_not_suspend/unit.drop_tracking_mir.stderr create mode 100644 tests/ui/lint/must_not_suspend/unit.no_drop_tracking.stderr create mode 100644 tests/ui/lint/must_not_suspend/warn.drop_tracking.stderr create mode 100644 tests/ui/lint/must_not_suspend/warn.drop_tracking_mir.stderr create mode 100644 tests/ui/lint/must_not_suspend/warn.no_drop_tracking.stderr create mode 100644 tests/ui/lint/unused/issue-103320-must-use-ops.rs create mode 100644 tests/ui/lint/unused/issue-103320-must-use-ops.stderr create mode 100644 tests/ui/lint/unused/issue-96606.rs create mode 100644 tests/ui/lint/unused/issue-96606.stderr create mode 100644 tests/ui/loops/issue-50576.rs create mode 100644 tests/ui/loops/issue-50576.stderr create mode 100644 tests/ui/loops/loop-else-break-with-value.rs create mode 100644 tests/ui/loops/loop-else-break-with-value.stderr create mode 100644 tests/ui/loops/loop-else-err.rs create mode 100644 tests/ui/loops/loop-else-err.stderr create mode 100644 tests/ui/loops/loop-else-let-else-err.rs create mode 100644 tests/ui/loops/loop-else-let-else-err.stderr create mode 100644 tests/ui/malformed/issue-107423-unused-delim-only-one-no-pair.rs create mode 100644 tests/ui/malformed/issue-107423-unused-delim-only-one-no-pair.stderr create mode 100644 tests/ui/methods/method-not-found-but-doc-alias.rs create mode 100644 tests/ui/methods/method-not-found-but-doc-alias.stderr create mode 100644 tests/ui/mir/field-projection-invariant.rs create mode 100644 tests/ui/mir/field-projection-mutating-context.rs create mode 100644 tests/ui/mir/field-projection-mutating-context.stderr create mode 100644 tests/ui/mir/field-projection-mutating-context2.rs create mode 100644 tests/ui/mir/field-projection-mutating-context2.stderr create mode 100644 tests/ui/mir/field-ty-ascription-enums.rs create mode 100644 tests/ui/mir/field-ty-ascription.rs create mode 100644 tests/ui/mir/issue-107678-projection-with-lifetime.rs create mode 100644 tests/ui/mir/issue-107691.rs create mode 100644 tests/ui/mir/issue-109743.rs create mode 100644 tests/ui/mir/mir_codegen_ssa.rs create mode 100644 tests/ui/mir/validate/storage-live.rs create mode 100644 tests/ui/mir/validate/storage-live.stderr create mode 100644 tests/ui/modules/issue-107649.rs create mode 100644 tests/ui/modules/issue-107649.stderr create mode 100644 tests/ui/moves/issue-22536-copy-mustnt-zero.rs create mode 100644 tests/ui/moves/pin-mut-reborrow-infer-var-issue-107419.fixed create mode 100644 tests/ui/moves/pin-mut-reborrow-infer-var-issue-107419.rs create mode 100644 tests/ui/moves/pin-mut-reborrow-infer-var-issue-107419.stderr delete mode 100644 tests/ui/mutexguard-sync.rs delete mode 100644 tests/ui/mutexguard-sync.stderr create mode 100644 tests/ui/nll/closure-requirements/type-test-subject-non-trivial-region.rs create mode 100644 tests/ui/nll/closure-requirements/type-test-subject-opaque-1.rs create mode 100644 tests/ui/nll/closure-requirements/type-test-subject-opaque-2.rs create mode 100644 tests/ui/nll/closure-requirements/type-test-subject-unnamed-region.rs create mode 100644 tests/ui/nll/issue-27583.rs create mode 100644 tests/ui/nll/issue-48179.rs create mode 100644 tests/ui/nll/issue-75777.rs create mode 100644 tests/ui/nll/issue-75777.stderr create mode 100644 tests/ui/nll/member-constraints/min-choice-reject-ambiguous.rs create mode 100644 tests/ui/nll/member-constraints/min-choice-reject-ambiguous.stderr create mode 100644 tests/ui/nll/member-constraints/min-choice.rs create mode 100644 tests/ui/nll/member-constraints/nested-impl-trait-fail.rs create mode 100644 tests/ui/nll/member-constraints/nested-impl-trait-fail.stderr create mode 100644 tests/ui/nll/member-constraints/nested-impl-trait-pass.rs delete mode 100644 tests/ui/non-ice-error-on-worker-io-fail.rs delete mode 100644 tests/ui/non-ice-error-on-worker-io-fail.stderr create mode 100644 tests/ui/numbers-arithmetic/issue-105626.rs delete mode 100644 tests/ui/packed/issue-27060-rpass.rs delete mode 100644 tests/ui/packed/issue-27060-rpass.stderr create mode 100644 tests/ui/parser/anon-enums-are-ambiguous.rs create mode 100644 tests/ui/parser/deli-ident-issue-1.rs create mode 100644 tests/ui/parser/deli-ident-issue-1.stderr create mode 100644 tests/ui/parser/deli-ident-issue-2.rs create mode 100644 tests/ui/parser/deli-ident-issue-2.stderr create mode 100644 tests/ui/parser/issue-107705.rs create mode 100644 tests/ui/parser/issue-107705.stderr create mode 100644 tests/ui/parser/issue-108495-dec.rs create mode 100644 tests/ui/parser/issue-108495-dec.stderr create mode 100644 tests/ui/parser/issue-68987-unmatch-issue-1.rs create mode 100644 tests/ui/parser/issue-68987-unmatch-issue-1.stderr create mode 100644 tests/ui/parser/issue-68987-unmatch-issue-2.rs create mode 100644 tests/ui/parser/issue-68987-unmatch-issue-2.stderr create mode 100644 tests/ui/parser/issue-68987-unmatch-issue-3.rs create mode 100644 tests/ui/parser/issue-68987-unmatch-issue-3.stderr create mode 100644 tests/ui/parser/issue-68987-unmatch-issue.rs create mode 100644 tests/ui/parser/issue-68987-unmatch-issue.stderr create mode 100644 tests/ui/parser/issues/issue-104367.rs create mode 100644 tests/ui/parser/issues/issue-104367.stderr create mode 100644 tests/ui/parser/issues/issue-105209.rs create mode 100644 tests/ui/parser/issues/issue-105209.stderr create mode 100644 tests/ui/parser/issues/issue-69259.rs create mode 100644 tests/ui/parser/issues/issue-69259.stderr create mode 100644 tests/ui/parser/missing-expression-in-for-loop.rs create mode 100644 tests/ui/parser/missing-expression-in-for-loop.stderr create mode 100644 tests/ui/parser/raw/too-many-hash.rs create mode 100644 tests/ui/parser/raw/too-many-hash.stderr create mode 100644 tests/ui/parser/suggest_misplaced_generics/enum.fixed create mode 100644 tests/ui/parser/suggest_misplaced_generics/enum.rs create mode 100644 tests/ui/parser/suggest_misplaced_generics/enum.stderr create mode 100644 tests/ui/parser/suggest_misplaced_generics/existing_generics.rs create mode 100644 tests/ui/parser/suggest_misplaced_generics/existing_generics.stderr create mode 100644 tests/ui/parser/suggest_misplaced_generics/fn-complex-generics.fixed create mode 100644 tests/ui/parser/suggest_misplaced_generics/fn-complex-generics.rs create mode 100644 tests/ui/parser/suggest_misplaced_generics/fn-complex-generics.stderr create mode 100644 tests/ui/parser/suggest_misplaced_generics/fn-invalid-generics.rs create mode 100644 tests/ui/parser/suggest_misplaced_generics/fn-invalid-generics.stderr create mode 100644 tests/ui/parser/suggest_misplaced_generics/fn-simple.fixed create mode 100644 tests/ui/parser/suggest_misplaced_generics/fn-simple.rs create mode 100644 tests/ui/parser/suggest_misplaced_generics/fn-simple.stderr create mode 100644 tests/ui/parser/suggest_misplaced_generics/struct.fixed create mode 100644 tests/ui/parser/suggest_misplaced_generics/struct.rs create mode 100644 tests/ui/parser/suggest_misplaced_generics/struct.stderr create mode 100644 tests/ui/parser/suggest_misplaced_generics/trait.fixed create mode 100644 tests/ui/parser/suggest_misplaced_generics/trait.rs create mode 100644 tests/ui/parser/suggest_misplaced_generics/trait.stderr create mode 100644 tests/ui/parser/suggest_misplaced_generics/type.fixed create mode 100644 tests/ui/parser/suggest_misplaced_generics/type.rs create mode 100644 tests/ui/parser/suggest_misplaced_generics/type.stderr create mode 100644 tests/ui/parser/type-ascription-in-pattern.rs create mode 100644 tests/ui/parser/type-ascription-in-pattern.stderr create mode 100644 tests/ui/proc-macro/allowed-signatures.rs create mode 100644 tests/ui/proc-macro/proc-macro-abi.rs create mode 100644 tests/ui/proc-macro/proc-macro-abi.stderr create mode 100644 tests/ui/proc-macro/signature-proc-macro-attribute.rs create mode 100644 tests/ui/proc-macro/signature-proc-macro-attribute.stderr create mode 100644 tests/ui/proc-macro/signature-proc-macro-derive.rs create mode 100644 tests/ui/proc-macro/signature-proc-macro-derive.stderr create mode 100644 tests/ui/proc-macro/signature-proc-macro.rs create mode 100644 tests/ui/proc-macro/signature-proc-macro.stderr delete mode 100644 tests/ui/pub/pub-ident-fn-3.rs delete mode 100644 tests/ui/pub/pub-ident-fn-3.stderr delete mode 100644 tests/ui/pub/pub-ident-fn-or-struct-2.rs delete mode 100644 tests/ui/pub/pub-ident-fn-or-struct-2.stderr create mode 100644 tests/ui/pub/pub-ident-struct-2.rs create mode 100644 tests/ui/pub/pub-ident-struct-2.stderr create mode 100644 tests/ui/pub/pub-ident-struct-3.rs create mode 100644 tests/ui/pub/pub-ident-struct-3.stderr create mode 100644 tests/ui/pub/pub-ident-struct-4.fixed create mode 100644 tests/ui/pub/pub-ident-struct-4.rs create mode 100644 tests/ui/pub/pub-ident-struct-4.stderr create mode 100644 tests/ui/query-system/no-query-in-printing-during-query-descr.rs create mode 100644 tests/ui/query-system/no-query-in-printing-during-query-descr.stderr create mode 100644 tests/ui/recursion_limit/issue-105700.rs create mode 100644 tests/ui/recursion_limit/issue-105700.stderr create mode 100644 tests/ui/recursion_limit/issue-40003.rs create mode 100644 tests/ui/regions/higher-ranked-implied.rs create mode 100644 tests/ui/regions/higher-ranked-implied.stderr create mode 100644 tests/ui/regions/resolve-re-error-ice.rs create mode 100644 tests/ui/regions/resolve-re-error-ice.stderr create mode 100644 tests/ui/repr/16-bit-repr-c-enum.rs create mode 100644 tests/ui/resolve/issue-108529.rs create mode 100644 tests/ui/resolve/issue-108529.stderr delete mode 100644 tests/ui/resolve/token-error-correct-4.fixed create mode 100644 tests/ui/rfc-2632-const-trait-impl/const-closure-parse-not-item.rs create mode 100644 tests/ui/rfc-2632-const-trait-impl/const_derives/derive-const-with-params.rs create mode 100644 tests/ui/rfc-2632-const-trait-impl/do-not-const-check-override.rs create mode 100644 tests/ui/rfc-2632-const-trait-impl/do-not-const-check.rs create mode 100644 tests/ui/rfc-2632-const-trait-impl/function-pointer-does-not-require-const.rs create mode 100644 tests/ui/sanitize/cfg-kasan.rs delete mode 100644 tests/ui/save-analysis/emit-notifications.polonius.stderr delete mode 100644 tests/ui/save-analysis/emit-notifications.rs delete mode 100644 tests/ui/save-analysis/emit-notifications.stderr delete mode 100644 tests/ui/save-analysis/issue-26459.rs delete mode 100644 tests/ui/save-analysis/issue-26459.stderr delete mode 100644 tests/ui/save-analysis/issue-37323.rs delete mode 100644 tests/ui/save-analysis/issue-59134-0.rs delete mode 100644 tests/ui/save-analysis/issue-59134-0.stderr delete mode 100644 tests/ui/save-analysis/issue-59134-1.rs delete mode 100644 tests/ui/save-analysis/issue-59134-1.stderr delete mode 100644 tests/ui/save-analysis/issue-63663.rs delete mode 100644 tests/ui/save-analysis/issue-64659.rs delete mode 100644 tests/ui/save-analysis/issue-65411.rs delete mode 100644 tests/ui/save-analysis/issue-65590.rs delete mode 100644 tests/ui/save-analysis/issue-68621.rs delete mode 100644 tests/ui/save-analysis/issue-68621.stderr delete mode 100644 tests/ui/save-analysis/issue-72267.rs delete mode 100644 tests/ui/save-analysis/issue-72267.stderr delete mode 100644 tests/ui/save-analysis/issue-73020.rs delete mode 100644 tests/ui/save-analysis/issue-73020.stderr delete mode 100644 tests/ui/save-analysis/issue-73022.rs delete mode 100644 tests/ui/save-analysis/issue-89066.rs delete mode 100644 tests/ui/save-analysis/issue-89066.stderr create mode 100644 tests/ui/single-use-lifetime/issue-107998.rs create mode 100644 tests/ui/single-use-lifetime/issue-107998.stderr create mode 100644 tests/ui/span/issue-107353.rs create mode 100644 tests/ui/stability-attribute/unresolved_stability_lint.rs create mode 100644 tests/ui/stability-attribute/unresolved_stability_lint.stderr create mode 100644 tests/ui/suggest-null-ptr.fixed create mode 100644 tests/ui/suggest-null-ptr.rs create mode 100644 tests/ui/suggest-null-ptr.stderr create mode 100644 tests/ui/suggestions/assoc-const-without-self.rs create mode 100644 tests/ui/suggestions/assoc-const-without-self.stderr create mode 100644 tests/ui/suggestions/issue-104961.fixed create mode 100644 tests/ui/suggestions/issue-104961.rs create mode 100644 tests/ui/suggestions/issue-104961.stderr create mode 100644 tests/ui/suggestions/late-bound-in-borrow-closure-sugg.rs create mode 100644 tests/ui/suggestions/late-bound-in-borrow-closure-sugg.stderr create mode 100644 tests/ui/suggestions/recover-invalid-float-invalid.rs create mode 100644 tests/ui/suggestions/recover-invalid-float-invalid.stderr create mode 100644 tests/ui/suggestions/restrict-existing-type-bounds.rs create mode 100644 tests/ui/suggestions/restrict-existing-type-bounds.stderr create mode 100644 tests/ui/suggestions/suggest-call-on-pat-mismatch.rs create mode 100644 tests/ui/suggestions/suggest-call-on-pat-mismatch.stderr create mode 100644 tests/ui/suggestions/suggest-fn-ptr-for-fn-item-in-fn-ret.fixed create mode 100644 tests/ui/suggestions/suggest-fn-ptr-for-fn-item-in-fn-ret.rs create mode 100644 tests/ui/suggestions/suggest-fn-ptr-for-fn-item-in-fn-ret.stderr create mode 100644 tests/ui/suggestions/suggest-remove-deref.fixed create mode 100644 tests/ui/suggestions/suggest-remove-deref.rs create mode 100644 tests/ui/suggestions/suggest-remove-deref.stderr create mode 100644 tests/ui/suggestions/suggest-trait-in-ufcs-in-hrtb.rs create mode 100644 tests/ui/suggestions/suggest-trait-in-ufcs-in-hrtb.stderr create mode 100644 tests/ui/suggestions/trait-hidden-method.rs create mode 100644 tests/ui/suggestions/trait-hidden-method.stderr create mode 100644 tests/ui/sync/mutexguard-sync.rs create mode 100644 tests/ui/sync/mutexguard-sync.stderr create mode 100644 tests/ui/sync/suggest-cell.rs create mode 100644 tests/ui/sync/suggest-cell.stderr create mode 100644 tests/ui/sync/suggest-once-cell.rs create mode 100644 tests/ui/sync/suggest-once-cell.stderr create mode 100644 tests/ui/sync/suggest-ref-cell.rs create mode 100644 tests/ui/sync/suggest-ref-cell.stderr create mode 100644 tests/ui/thir-print/thir-flat.rs create mode 100644 tests/ui/thir-print/thir-flat.stdout create mode 100644 tests/ui/thir-print/thir-tree-match.rs create mode 100644 tests/ui/thir-print/thir-tree-match.stdout create mode 100644 tests/ui/thir-print/thir-tree.rs create mode 100644 tests/ui/thir-print/thir-tree.stdout delete mode 100644 tests/ui/thir-tree.rs delete mode 100644 tests/ui/thir-tree.stdout create mode 100644 tests/ui/tool-attributes/auxiliary/p1.rs create mode 100644 tests/ui/tool-attributes/auxiliary/p2.rs create mode 100644 tests/ui/tool-attributes/duplicate-diagnostic.rs create mode 100644 tests/ui/tool-attributes/duplicate-diagnostic.stderr create mode 100644 tests/ui/traits/alias/issue-107747-do-not-assemble-supertraits.rs create mode 100644 tests/ui/traits/alias/issue-108072-unmet-trait-alias-bound.rs create mode 100644 tests/ui/traits/alias/issue-108072-unmet-trait-alias-bound.stderr create mode 100644 tests/ui/traits/alias/issue-108132-unmet-trait-alias-bound-on-generic-impl.rs create mode 100644 tests/ui/traits/alias/issue-108132-unmet-trait-alias-bound-on-generic-impl.stderr create mode 100644 tests/ui/traits/alias/issue-60755.rs create mode 100644 tests/ui/traits/issue-103563.rs create mode 100644 tests/ui/traits/new-solver/alias_eq_cant_be_furthur_normalized.rs create mode 100644 tests/ui/traits/new-solver/alias_eq_dont_use_normalizes_to_if_substs_eq.rs create mode 100644 tests/ui/traits/new-solver/alias_eq_dont_use_normalizes_to_if_substs_eq.stderr create mode 100644 tests/ui/traits/new-solver/alias_eq_simple.rs create mode 100644 tests/ui/traits/new-solver/alias_eq_substs_eq_not_intercrate.rs create mode 100644 tests/ui/traits/new-solver/alias_eq_substs_eq_not_intercrate.stderr create mode 100644 tests/ui/traits/new-solver/async.fail.stderr create mode 100644 tests/ui/traits/new-solver/async.rs create mode 100644 tests/ui/traits/new-solver/builtin-fn-must-return-sized.rs create mode 100644 tests/ui/traits/new-solver/builtin-fn-must-return-sized.stderr create mode 100644 tests/ui/traits/new-solver/elaborate-item-bounds.rs create mode 100644 tests/ui/traits/new-solver/generator.fail.stderr create mode 100644 tests/ui/traits/new-solver/generator.rs create mode 100644 tests/ui/traits/new-solver/higher-ranked-dyn-bounds.rs create mode 100644 tests/ui/traits/new-solver/more-object-bound.rs create mode 100644 tests/ui/traits/new-solver/more-object-bound.stderr create mode 100644 tests/ui/traits/new-solver/normalizes_to_ignores_unnormalizable_candidate.rs create mode 100644 tests/ui/traits/new-solver/normalizes_to_ignores_unnormalizable_candidate.self_infer.stderr create mode 100644 tests/ui/traits/new-solver/object-unsafety.rs create mode 100644 tests/ui/traits/new-solver/object-unsafety.stderr create mode 100644 tests/ui/traits/new-solver/param-candidate-doesnt-shadow-project.rs create mode 100644 tests/ui/traits/new-solver/pointee.rs create mode 100644 tests/ui/traits/new-solver/pointer-like.rs create mode 100644 tests/ui/traits/new-solver/pointer-like.stderr delete mode 100644 tests/ui/traits/new-solver/pointer-sized.rs delete mode 100644 tests/ui/traits/new-solver/pointer-sized.stderr create mode 100644 tests/ui/traits/new-solver/provisional-result-done.rs create mode 100644 tests/ui/traits/new-solver/temporary-ambiguity.rs create mode 100644 tests/ui/traits/new-solver/try-example.rs create mode 100644 tests/ui/traits/new-solver/two-projection-param-candidates-are-ambiguous.rs create mode 100644 tests/ui/traits/new-solver/two-projection-param-candidates-are-ambiguous.stderr create mode 100644 tests/ui/traits/new-solver/unsafe-auto-trait-impl.rs create mode 100644 tests/ui/traits/new-solver/unsize-good.rs create mode 100644 tests/ui/traits/new-solver/upcast-right-substs.rs create mode 100644 tests/ui/traits/new-solver/upcast-wrong-substs.rs create mode 100644 tests/ui/traits/new-solver/upcast-wrong-substs.stderr create mode 100644 tests/ui/traits/non_lifetime_binders/bad-sized-cond.rs create mode 100644 tests/ui/traits/non_lifetime_binders/bad-sized-cond.stderr create mode 100644 tests/ui/traits/non_lifetime_binders/basic.rs create mode 100644 tests/ui/traits/non_lifetime_binders/basic.stderr create mode 100644 tests/ui/traits/non_lifetime_binders/fail.rs create mode 100644 tests/ui/traits/non_lifetime_binders/fail.stderr create mode 100644 tests/ui/traits/non_lifetime_binders/late-bound-in-anon-ct.rs create mode 100644 tests/ui/traits/non_lifetime_binders/late-bound-in-anon-ct.stderr create mode 100644 tests/ui/traits/non_lifetime_binders/object-lifetime-default-for-late.rs create mode 100644 tests/ui/traits/non_lifetime_binders/object-lifetime-default-for-late.stderr create mode 100644 tests/ui/traits/non_lifetime_binders/on-dyn.rs create mode 100644 tests/ui/traits/non_lifetime_binders/on-dyn.stderr create mode 100644 tests/ui/traits/non_lifetime_binders/on-ptr.rs create mode 100644 tests/ui/traits/non_lifetime_binders/on-ptr.stderr create mode 100644 tests/ui/traits/non_lifetime_binders/type-match-with-late-bound.rs create mode 100644 tests/ui/traits/non_lifetime_binders/type-match-with-late-bound.stderr create mode 100644 tests/ui/traits/trait-upcasting/multiple_supertrait_upcastable.rs create mode 100644 tests/ui/traits/trait-upcasting/multiple_supertrait_upcastable.stderr create mode 100644 tests/ui/traits/unsend-future.rs create mode 100644 tests/ui/traits/unsend-future.stderr create mode 100644 tests/ui/type-alias-impl-trait/match-unification.rs create mode 100644 tests/ui/type/type-check/coerce-result-return-value-2.rs create mode 100644 tests/ui/type/type-check/coerce-result-return-value-2.stderr create mode 100644 tests/ui/type/type-check/coerce-result-return-value.fixed create mode 100644 tests/ui/type/type-check/coerce-result-return-value.rs create mode 100644 tests/ui/type/type-check/coerce-result-return-value.stderr create mode 100644 tests/ui/type/type-check/point-at-inference-4.rs create mode 100644 tests/ui/type/type-check/point-at-inference-4.stderr create mode 100644 tests/ui/type/type-check/point-at-inference.fixed create mode 100644 tests/ui/typeck/bad-type-in-vec-contains.rs create mode 100644 tests/ui/typeck/bad-type-in-vec-contains.stderr create mode 100644 tests/ui/typeck/bad-type-in-vec-push.rs create mode 100644 tests/ui/typeck/bad-type-in-vec-push.stderr create mode 100644 tests/ui/typeck/issue-107087.rs create mode 100644 tests/ui/typeck/issue-107087.stderr create mode 100644 tests/ui/typeck/issue-107775.rs create mode 100644 tests/ui/typeck/issue-107775.stderr create mode 100644 tests/ui/typeck/issue-53712.rs create mode 100644 tests/ui/typeck/issue-53712.stderr create mode 100644 tests/ui/typeck/issue-7813.rs create mode 100644 tests/ui/typeck/issue-7813.stderr create mode 100644 tests/ui/typeck/issue-89856.fixed create mode 100644 tests/ui/typeck/issue-90027-async-fn-return-suggestion.rs create mode 100644 tests/ui/typeck/issue-90027-async-fn-return-suggestion.stderr create mode 100644 tests/ui/typeck/lazy-norm/cast-checks-handling-projections.rs create mode 100644 tests/ui/typeck/lazy-norm/cast-checks-handling-projections.stderr create mode 100644 tests/ui/typeck/lazy-norm/equating-projection-cyclically.rs create mode 100644 tests/ui/typeck/lazy-norm/equating-projection-cyclically.stderr create mode 100644 tests/ui/uninhabited/issue-107505.rs create mode 100644 tests/ui/union/projection-as-union-type-error-2.rs create mode 100644 tests/ui/union/projection-as-union-type-error-2.stderr create mode 100644 tests/ui/union/projection-as-union-type-error.rs create mode 100644 tests/ui/union/projection-as-union-type-error.stderr create mode 100644 tests/ui/union/projection-as-union-type.rs create mode 100644 tests/ui/unpretty/ast-const-trait-bound.rs create mode 100644 tests/ui/unpretty/ast-const-trait-bound.stdout create mode 100644 tests/ui/where-clauses/self-in-where-clause-allowed.rs create mode 100644 tests/ui/where-clauses/self-in-where-clause-allowed.stderr create mode 100644 tests/ui/while/while-else-err.rs create mode 100644 tests/ui/while/while-else-err.stderr create mode 100644 tests/ui/while/while-else-let-else-err.rs create mode 100644 tests/ui/while/while-else-let-else-err.stderr create mode 100644 vendor/addr2line-0.17.0/.cargo-checksum.json create mode 100644 vendor/addr2line-0.17.0/CHANGELOG.md create mode 100644 vendor/addr2line-0.17.0/Cargo.lock create mode 100644 vendor/addr2line-0.17.0/Cargo.toml create mode 100644 vendor/addr2line-0.17.0/LICENSE-APACHE create mode 100644 vendor/addr2line-0.17.0/LICENSE-MIT create mode 100644 vendor/addr2line-0.17.0/README.md create mode 100644 vendor/addr2line-0.17.0/bench.plot.r create mode 100755 vendor/addr2line-0.17.0/benchmark.sh create mode 100644 vendor/addr2line-0.17.0/coverage.sh create mode 100644 vendor/addr2line-0.17.0/examples/addr2line.rs create mode 100644 vendor/addr2line-0.17.0/rustfmt.toml create mode 100644 vendor/addr2line-0.17.0/src/function.rs create mode 100644 vendor/addr2line-0.17.0/src/lazy.rs create mode 100644 vendor/addr2line-0.17.0/src/lib.rs create mode 100644 vendor/addr2line-0.17.0/tests/correctness.rs create mode 100644 vendor/addr2line-0.17.0/tests/output_equivalence.rs create mode 100644 vendor/addr2line-0.17.0/tests/parse.rs delete mode 100644 vendor/ansi_term/.cargo-checksum.json delete mode 100644 vendor/ansi_term/Cargo.lock delete mode 100644 vendor/ansi_term/Cargo.toml delete mode 100644 vendor/ansi_term/LICENCE delete mode 100644 vendor/ansi_term/README.md delete mode 100644 vendor/ansi_term/examples/256_colours.rs delete mode 100644 vendor/ansi_term/examples/basic_colours.rs delete mode 100644 vendor/ansi_term/examples/rgb_colours.rs delete mode 100644 vendor/ansi_term/src/ansi.rs delete mode 100644 vendor/ansi_term/src/debug.rs delete mode 100644 vendor/ansi_term/src/difference.rs delete mode 100644 vendor/ansi_term/src/display.rs delete mode 100644 vendor/ansi_term/src/lib.rs delete mode 100644 vendor/ansi_term/src/style.rs delete mode 100644 vendor/ansi_term/src/util.rs delete mode 100644 vendor/ansi_term/src/windows.rs delete mode 100644 vendor/ansi_term/src/write.rs create mode 100644 vendor/backtrace/src/symbolize/gimli/parse_running_mmaps_unix.rs create mode 100644 vendor/backtrace/tests/common/mod.rs create mode 100644 vendor/backtrace/tests/current-exe-mismatch.rs create mode 100644 vendor/camino/release.toml create mode 100644 vendor/cargo_metadata/CHANGELOG.md create mode 100644 vendor/elsa/.cargo-checksum.json create mode 100644 vendor/elsa/Cargo.lock create mode 100644 vendor/elsa/Cargo.toml create mode 100644 vendor/elsa/LICENSE-APACHE create mode 100644 vendor/elsa/LICENSE-MIT create mode 100644 vendor/elsa/README.md create mode 100644 vendor/elsa/examples/arena.rs create mode 100644 vendor/elsa/examples/fluentresource.rs create mode 100644 vendor/elsa/examples/mutable_arena.rs create mode 100644 vendor/elsa/examples/string_interner.rs create mode 100644 vendor/elsa/examples/sync.rs create mode 100644 vendor/elsa/src/index_map.rs create mode 100644 vendor/elsa/src/index_set.rs create mode 100644 vendor/elsa/src/lib.rs create mode 100644 vendor/elsa/src/map.rs create mode 100644 vendor/elsa/src/sync.rs create mode 100644 vendor/elsa/src/vec.rs create mode 100644 vendor/gimli-0.26.2/.cargo-checksum.json create mode 100644 vendor/gimli-0.26.2/CHANGELOG.md create mode 100644 vendor/gimli-0.26.2/CONTRIBUTING.md create mode 100644 vendor/gimli-0.26.2/Cargo.lock create mode 100644 vendor/gimli-0.26.2/Cargo.toml create mode 100644 vendor/gimli-0.26.2/LICENSE-APACHE create mode 100644 vendor/gimli-0.26.2/LICENSE-MIT create mode 100644 vendor/gimli-0.26.2/README.md create mode 100644 vendor/gimli-0.26.2/benches/bench.rs create mode 100644 vendor/gimli-0.26.2/examples/dwarf-validate.rs create mode 100644 vendor/gimli-0.26.2/examples/dwarfdump.rs create mode 100644 vendor/gimli-0.26.2/examples/simple.rs create mode 100644 vendor/gimli-0.26.2/examples/simple_line.rs create mode 100644 vendor/gimli-0.26.2/fixtures/self/README.md create mode 100644 vendor/gimli-0.26.2/fixtures/self/debug_abbrev create mode 100644 vendor/gimli-0.26.2/fixtures/self/debug_aranges create mode 100644 vendor/gimli-0.26.2/fixtures/self/debug_info create mode 100644 vendor/gimli-0.26.2/fixtures/self/debug_inlined create mode 100644 vendor/gimli-0.26.2/fixtures/self/debug_line create mode 100644 vendor/gimli-0.26.2/fixtures/self/debug_loc create mode 100644 vendor/gimli-0.26.2/fixtures/self/debug_pubnames create mode 100644 vendor/gimli-0.26.2/fixtures/self/debug_pubtypes create mode 100644 vendor/gimli-0.26.2/fixtures/self/debug_ranges create mode 100644 vendor/gimli-0.26.2/fixtures/self/debug_str create mode 100644 vendor/gimli-0.26.2/fixtures/self/eh_frame create mode 100644 vendor/gimli-0.26.2/fixtures/self/eh_frame_hdr create mode 100644 vendor/gimli-0.26.2/rustfmt.toml create mode 100644 vendor/gimli-0.26.2/src/arch.rs create mode 100644 vendor/gimli-0.26.2/src/common.rs create mode 100644 vendor/gimli-0.26.2/src/constants.rs create mode 100644 vendor/gimli-0.26.2/src/endianity.rs create mode 100644 vendor/gimli-0.26.2/src/leb128.rs create mode 100644 vendor/gimli-0.26.2/src/lib.rs create mode 100644 vendor/gimli-0.26.2/src/read/abbrev.rs create mode 100644 vendor/gimli-0.26.2/src/read/addr.rs create mode 100644 vendor/gimli-0.26.2/src/read/aranges.rs create mode 100644 vendor/gimli-0.26.2/src/read/cfi.rs create mode 100644 vendor/gimli-0.26.2/src/read/dwarf.rs create mode 100644 vendor/gimli-0.26.2/src/read/endian_reader.rs create mode 100644 vendor/gimli-0.26.2/src/read/endian_slice.rs create mode 100644 vendor/gimli-0.26.2/src/read/index.rs create mode 100644 vendor/gimli-0.26.2/src/read/line.rs create mode 100644 vendor/gimli-0.26.2/src/read/lists.rs create mode 100644 vendor/gimli-0.26.2/src/read/loclists.rs create mode 100644 vendor/gimli-0.26.2/src/read/lookup.rs create mode 100644 vendor/gimli-0.26.2/src/read/mod.rs create mode 100644 vendor/gimli-0.26.2/src/read/op.rs create mode 100644 vendor/gimli-0.26.2/src/read/pubnames.rs create mode 100644 vendor/gimli-0.26.2/src/read/pubtypes.rs create mode 100644 vendor/gimli-0.26.2/src/read/reader.rs create mode 100644 vendor/gimli-0.26.2/src/read/rnglists.rs create mode 100644 vendor/gimli-0.26.2/src/read/str.rs create mode 100644 vendor/gimli-0.26.2/src/read/unit.rs create mode 100644 vendor/gimli-0.26.2/src/read/util.rs create mode 100644 vendor/gimli-0.26.2/src/read/value.rs create mode 100644 vendor/gimli-0.26.2/src/test_util.rs create mode 100644 vendor/gimli-0.26.2/src/write/abbrev.rs create mode 100644 vendor/gimli-0.26.2/src/write/cfi.rs create mode 100644 vendor/gimli-0.26.2/src/write/dwarf.rs create mode 100644 vendor/gimli-0.26.2/src/write/endian_vec.rs create mode 100644 vendor/gimli-0.26.2/src/write/line.rs create mode 100644 vendor/gimli-0.26.2/src/write/loc.rs create mode 100644 vendor/gimli-0.26.2/src/write/mod.rs create mode 100644 vendor/gimli-0.26.2/src/write/op.rs create mode 100644 vendor/gimli-0.26.2/src/write/range.rs create mode 100644 vendor/gimli-0.26.2/src/write/section.rs create mode 100644 vendor/gimli-0.26.2/src/write/str.rs create mode 100644 vendor/gimli-0.26.2/src/write/unit.rs create mode 100644 vendor/gimli-0.26.2/src/write/writer.rs create mode 100644 vendor/gimli-0.26.2/tests/convert_self.rs create mode 100755 vendor/gimli-0.26.2/tests/parse_self.rs create mode 100644 vendor/gimli/clippy.toml create mode 100644 vendor/gimli/src/read/lazy.rs create mode 100644 vendor/hermit-abi/src/net.rs create mode 100644 vendor/hermit-abi/src/net_old.rs create mode 100644 vendor/icu_list/src/lazy_automaton.rs create mode 100644 vendor/icu_list/src/patterns.rs delete mode 100644 vendor/icu_list/src/provider.rs create mode 100644 vendor/icu_list/src/provider/mod.rs create mode 100644 vendor/icu_list/src/provider/serde_dfa.rs delete mode 100644 vendor/icu_list/src/string_matcher.rs create mode 100644 vendor/libc/src/unix/nto/aarch64.rs create mode 100644 vendor/libc/src/unix/nto/mod.rs create mode 100644 vendor/libc/src/unix/nto/neutrino.rs create mode 100644 vendor/libc/src/unix/nto/x86_64.rs mode change 100755 => 100644 vendor/lsp-types/release.sh create mode 100644 vendor/lsp-types/src/inline_value.rs create mode 100644 vendor/lsp-types/src/type_hierarchy.rs create mode 100644 vendor/miniz_oxide-0.5.3/.cargo-checksum.json create mode 100644 vendor/miniz_oxide-0.5.3/Cargo.toml create mode 100644 vendor/miniz_oxide-0.5.3/LICENSE create mode 100644 vendor/miniz_oxide-0.5.3/LICENSE-APACHE.md create mode 100644 vendor/miniz_oxide-0.5.3/LICENSE-MIT.md create mode 100644 vendor/miniz_oxide-0.5.3/LICENSE-ZLIB.md create mode 100644 vendor/miniz_oxide-0.5.3/Readme.md create mode 100644 vendor/miniz_oxide-0.5.3/src/deflate/buffer.rs create mode 100644 vendor/miniz_oxide-0.5.3/src/deflate/core.rs create mode 100644 vendor/miniz_oxide-0.5.3/src/deflate/mod.rs create mode 100644 vendor/miniz_oxide-0.5.3/src/deflate/stream.rs create mode 100644 vendor/miniz_oxide-0.5.3/src/inflate/core.rs create mode 100644 vendor/miniz_oxide-0.5.3/src/inflate/mod.rs create mode 100644 vendor/miniz_oxide-0.5.3/src/inflate/output_buffer.rs create mode 100644 vendor/miniz_oxide-0.5.3/src/inflate/stream.rs create mode 100644 vendor/miniz_oxide-0.5.3/src/lib.rs create mode 100644 vendor/miniz_oxide-0.5.3/src/shared.rs create mode 100644 vendor/nu-ansi-term/.cargo-checksum.json create mode 100644 vendor/nu-ansi-term/Cargo.lock create mode 100644 vendor/nu-ansi-term/Cargo.toml create mode 100644 vendor/nu-ansi-term/LICENCE create mode 100644 vendor/nu-ansi-term/README.md create mode 100644 vendor/nu-ansi-term/examples/256_colors.rs create mode 100644 vendor/nu-ansi-term/examples/basic_colors.rs create mode 100644 vendor/nu-ansi-term/examples/gradient_colors.rs create mode 100644 vendor/nu-ansi-term/examples/rgb_colors.rs create mode 100644 vendor/nu-ansi-term/src/ansi.rs create mode 100644 vendor/nu-ansi-term/src/debug.rs create mode 100644 vendor/nu-ansi-term/src/difference.rs create mode 100644 vendor/nu-ansi-term/src/display.rs create mode 100644 vendor/nu-ansi-term/src/gradient.rs create mode 100644 vendor/nu-ansi-term/src/lib.rs create mode 100644 vendor/nu-ansi-term/src/rgb.rs create mode 100644 vendor/nu-ansi-term/src/style.rs create mode 100644 vendor/nu-ansi-term/src/util.rs create mode 100644 vendor/nu-ansi-term/src/windows.rs create mode 100644 vendor/nu-ansi-term/src/write.rs create mode 100644 vendor/num_cpus/fixtures/cgroups2/cgroups/ceil/cpu.max create mode 100644 vendor/num_cpus/fixtures/cgroups2/cgroups/good/cpu.max create mode 100644 vendor/num_cpus/fixtures/cgroups2/cgroups/zero-period/cpu.max create mode 100644 vendor/num_cpus/fixtures/cgroups2/proc/cgroups/cgroup create mode 100644 vendor/num_cpus/fixtures/cgroups2/proc/cgroups/cgroup_multi create mode 100644 vendor/num_cpus/fixtures/cgroups2/proc/cgroups/mountinfo create mode 100644 vendor/overload/.cargo-checksum.json create mode 100644 vendor/overload/Cargo.toml create mode 100644 vendor/overload/LICENSE create mode 100644 vendor/overload/README.md create mode 100644 vendor/overload/logo.png create mode 100644 vendor/overload/src/assignment.rs create mode 100644 vendor/overload/src/binary.rs create mode 100644 vendor/overload/src/lib.rs create mode 100644 vendor/overload/src/unary.rs create mode 100644 vendor/overload/tests/assignment.rs create mode 100644 vendor/overload/tests/binary.rs create mode 100644 vendor/overload/tests/unary.rs delete mode 100644 vendor/parking_lot_core-0.8.5/.cargo-checksum.json delete mode 100644 vendor/parking_lot_core-0.8.5/Cargo.toml delete mode 100644 vendor/parking_lot_core-0.8.5/LICENSE-APACHE delete mode 100644 vendor/parking_lot_core-0.8.5/LICENSE-MIT delete mode 100644 vendor/parking_lot_core-0.8.5/build.rs delete mode 100644 vendor/parking_lot_core-0.8.5/src/lib.rs delete mode 100644 vendor/parking_lot_core-0.8.5/src/parking_lot.rs delete mode 100644 vendor/parking_lot_core-0.8.5/src/spinwait.rs delete mode 100644 vendor/parking_lot_core-0.8.5/src/thread_parker/generic.rs delete mode 100644 vendor/parking_lot_core-0.8.5/src/thread_parker/linux.rs delete mode 100644 vendor/parking_lot_core-0.8.5/src/thread_parker/mod.rs delete mode 100644 vendor/parking_lot_core-0.8.5/src/thread_parker/redox.rs delete mode 100644 vendor/parking_lot_core-0.8.5/src/thread_parker/sgx.rs delete mode 100644 vendor/parking_lot_core-0.8.5/src/thread_parker/unix.rs delete mode 100644 vendor/parking_lot_core-0.8.5/src/thread_parker/wasm.rs delete mode 100644 vendor/parking_lot_core-0.8.5/src/thread_parker/wasm_atomic.rs delete mode 100644 vendor/parking_lot_core-0.8.5/src/thread_parker/windows/keyed_event.rs delete mode 100644 vendor/parking_lot_core-0.8.5/src/thread_parker/windows/mod.rs delete mode 100644 vendor/parking_lot_core-0.8.5/src/thread_parker/windows/waitaddress.rs delete mode 100644 vendor/parking_lot_core-0.8.5/src/util.rs delete mode 100644 vendor/parking_lot_core-0.8.5/src/word_lock.rs create mode 100644 vendor/parking_lot_core-0.8.6/.cargo-checksum.json create mode 100644 vendor/parking_lot_core-0.8.6/Cargo.toml create mode 100644 vendor/parking_lot_core-0.8.6/LICENSE-APACHE create mode 100644 vendor/parking_lot_core-0.8.6/LICENSE-MIT create mode 100644 vendor/parking_lot_core-0.8.6/build.rs create mode 100644 vendor/parking_lot_core-0.8.6/src/lib.rs create mode 100644 vendor/parking_lot_core-0.8.6/src/parking_lot.rs create mode 100644 vendor/parking_lot_core-0.8.6/src/spinwait.rs create mode 100644 vendor/parking_lot_core-0.8.6/src/thread_parker/generic.rs create mode 100644 vendor/parking_lot_core-0.8.6/src/thread_parker/linux.rs create mode 100644 vendor/parking_lot_core-0.8.6/src/thread_parker/mod.rs create mode 100644 vendor/parking_lot_core-0.8.6/src/thread_parker/redox.rs create mode 100644 vendor/parking_lot_core-0.8.6/src/thread_parker/sgx.rs create mode 100644 vendor/parking_lot_core-0.8.6/src/thread_parker/unix.rs create mode 100644 vendor/parking_lot_core-0.8.6/src/thread_parker/wasm.rs create mode 100644 vendor/parking_lot_core-0.8.6/src/thread_parker/wasm_atomic.rs create mode 100644 vendor/parking_lot_core-0.8.6/src/thread_parker/windows/keyed_event.rs create mode 100644 vendor/parking_lot_core-0.8.6/src/thread_parker/windows/mod.rs create mode 100644 vendor/parking_lot_core-0.8.6/src/thread_parker/windows/waitaddress.rs create mode 100644 vendor/parking_lot_core-0.8.6/src/util.rs create mode 100644 vendor/parking_lot_core-0.8.6/src/word_lock.rs create mode 100644 vendor/proc-macro2/src/location.rs create mode 100644 vendor/rayon/tests/par_bridge_recursion.rs delete mode 100644 vendor/rls-data/.cargo-checksum.json delete mode 100644 vendor/rls-data/Cargo.toml delete mode 100644 vendor/rls-data/README.md delete mode 100644 vendor/rls-data/src/config.rs delete mode 100644 vendor/rls-data/src/lib.rs delete mode 100644 vendor/rls-span/.cargo-checksum.json delete mode 100644 vendor/rls-span/Cargo.toml delete mode 100644 vendor/rls-span/src/compiler.rs delete mode 100644 vendor/rls-span/src/lib.rs delete mode 100644 vendor/scoped-tls/appveyor.yml create mode 100644 vendor/serde_derive/src/this.rs create mode 100644 vendor/serde_json/tests/regression/issue953.rs create mode 100644 vendor/syn/src/drops.rs create mode 100644 vendor/syn/tests/regression/issue1235.rs delete mode 100644 vendor/time-macros/.cargo-checksum.json delete mode 100644 vendor/time-macros/Cargo.toml delete mode 100644 vendor/time-macros/LICENSE-Apache delete mode 100644 vendor/time-macros/LICENSE-MIT delete mode 100644 vendor/time-macros/src/date.rs delete mode 100644 vendor/time-macros/src/datetime.rs delete mode 100644 vendor/time-macros/src/error.rs delete mode 100644 vendor/time-macros/src/format_description/component.rs delete mode 100644 vendor/time-macros/src/format_description/error.rs delete mode 100644 vendor/time-macros/src/format_description/mod.rs delete mode 100644 vendor/time-macros/src/format_description/modifier.rs delete mode 100644 vendor/time-macros/src/format_description/parse.rs delete mode 100644 vendor/time-macros/src/helpers/mod.rs delete mode 100644 vendor/time-macros/src/helpers/string.rs delete mode 100644 vendor/time-macros/src/lib.rs delete mode 100644 vendor/time-macros/src/offset.rs delete mode 100644 vendor/time-macros/src/quote.rs delete mode 100644 vendor/time-macros/src/serde_format_description.rs delete mode 100644 vendor/time-macros/src/time.rs delete mode 100644 vendor/time-macros/src/to_tokens.rs create mode 100644 vendor/toml-0.5.9/.cargo-checksum.json create mode 100644 vendor/toml-0.5.9/Cargo.lock create mode 100644 vendor/toml-0.5.9/Cargo.toml create mode 100644 vendor/toml-0.5.9/LICENSE-APACHE create mode 100644 vendor/toml-0.5.9/LICENSE-MIT create mode 100644 vendor/toml-0.5.9/README.md create mode 100644 vendor/toml-0.5.9/examples/decode.rs create mode 100644 vendor/toml-0.5.9/examples/enum_external.rs create mode 100644 vendor/toml-0.5.9/examples/toml2json.rs create mode 100644 vendor/toml-0.5.9/src/datetime.rs create mode 100644 vendor/toml-0.5.9/src/de.rs create mode 100644 vendor/toml-0.5.9/src/lib.rs create mode 100644 vendor/toml-0.5.9/src/macros.rs create mode 100644 vendor/toml-0.5.9/src/map.rs create mode 100644 vendor/toml-0.5.9/src/ser.rs create mode 100644 vendor/toml-0.5.9/src/spanned.rs create mode 100644 vendor/toml-0.5.9/src/tokens.rs create mode 100644 vendor/toml-0.5.9/src/value.rs create mode 100644 vendor/toml-0.5.9/tests/enum_external_deserialize.rs delete mode 100644 vendor/toml/.cargo-checksum.json delete mode 100644 vendor/toml/Cargo.lock delete mode 100644 vendor/toml/Cargo.toml delete mode 100644 vendor/toml/LICENSE-APACHE delete mode 100644 vendor/toml/LICENSE-MIT delete mode 100644 vendor/toml/README.md delete mode 100644 vendor/toml/examples/decode.rs delete mode 100644 vendor/toml/examples/enum_external.rs delete mode 100644 vendor/toml/examples/toml2json.rs delete mode 100644 vendor/toml/src/datetime.rs delete mode 100644 vendor/toml/src/de.rs delete mode 100644 vendor/toml/src/lib.rs delete mode 100644 vendor/toml/src/macros.rs delete mode 100644 vendor/toml/src/map.rs delete mode 100644 vendor/toml/src/ser.rs delete mode 100644 vendor/toml/src/spanned.rs delete mode 100644 vendor/toml/src/tokens.rs delete mode 100644 vendor/toml/src/value.rs delete mode 100644 vendor/toml/tests/enum_external_deserialize.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/.cargo-checksum.json delete mode 100644 vendor/tracing-subscriber-0.3.3/CHANGELOG.md delete mode 100644 vendor/tracing-subscriber-0.3.3/Cargo.toml delete mode 100644 vendor/tracing-subscriber-0.3.3/LICENSE delete mode 100644 vendor/tracing-subscriber-0.3.3/README.md delete mode 100644 vendor/tracing-subscriber-0.3.3/benches/enter.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/benches/filter.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/benches/filter_log.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/benches/fmt.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/benches/support/mod.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/field/debug.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/field/delimited.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/field/display.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/field/mod.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/filter/directive.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/filter/env/directive.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/filter/env/field.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/filter/env/mod.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/filter/filter_fn.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/filter/layer_filters.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/filter/level.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/filter/mod.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/filter/targets.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/fmt/fmt_layer.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/fmt/format/json.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/fmt/format/mod.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/fmt/format/pretty.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/fmt/mod.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/fmt/time/datetime.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/fmt/time/mod.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/fmt/time/time_crate.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/fmt/writer.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/layer/context.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/layer/layered.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/layer/mod.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/layer/tests.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/lib.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/macros.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/prelude.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/registry/extensions.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/registry/mod.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/registry/sharded.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/registry/stack.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/reload.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/sync.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/src/util.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/cached_layer_filters_dont_break_other_layers.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/duplicate_spans.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/field_filter.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/filter.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/filter_log.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/fmt_max_level_hint.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/hinted_layer_filters_dont_break_other_layers.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/layer_filter_interests_are_cached.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/layer_filters/boxed.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/layer_filters/downcast_raw.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/layer_filters/filter_scopes.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/layer_filters/main.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/layer_filters/targets.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/layer_filters/trees.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/multiple_layer_filter_interests_cached.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/registry_max_level_hint.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/registry_with_subscriber.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/reload.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/same_len_filters.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/support.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/unhinted_layer_filters_dont_break_other_layers.rs delete mode 100644 vendor/tracing-subscriber-0.3.3/tests/utils.rs create mode 100644 vendor/tracing-subscriber/.cargo-checksum.json create mode 100644 vendor/tracing-subscriber/CHANGELOG.md create mode 100644 vendor/tracing-subscriber/Cargo.toml create mode 100644 vendor/tracing-subscriber/LICENSE create mode 100644 vendor/tracing-subscriber/README.md create mode 100644 vendor/tracing-subscriber/benches/enter.rs create mode 100644 vendor/tracing-subscriber/benches/filter.rs create mode 100644 vendor/tracing-subscriber/benches/filter_log.rs create mode 100644 vendor/tracing-subscriber/benches/fmt.rs create mode 100644 vendor/tracing-subscriber/benches/support/mod.rs create mode 100644 vendor/tracing-subscriber/src/field/debug.rs create mode 100644 vendor/tracing-subscriber/src/field/delimited.rs create mode 100644 vendor/tracing-subscriber/src/field/display.rs create mode 100644 vendor/tracing-subscriber/src/field/mod.rs create mode 100644 vendor/tracing-subscriber/src/filter/directive.rs create mode 100644 vendor/tracing-subscriber/src/filter/env/builder.rs create mode 100644 vendor/tracing-subscriber/src/filter/env/directive.rs create mode 100644 vendor/tracing-subscriber/src/filter/env/field.rs create mode 100644 vendor/tracing-subscriber/src/filter/env/mod.rs create mode 100644 vendor/tracing-subscriber/src/filter/filter_fn.rs create mode 100644 vendor/tracing-subscriber/src/filter/layer_filters/combinator.rs create mode 100644 vendor/tracing-subscriber/src/filter/layer_filters/mod.rs create mode 100644 vendor/tracing-subscriber/src/filter/level.rs create mode 100644 vendor/tracing-subscriber/src/filter/mod.rs create mode 100644 vendor/tracing-subscriber/src/filter/targets.rs create mode 100644 vendor/tracing-subscriber/src/fmt/fmt_layer.rs create mode 100644 vendor/tracing-subscriber/src/fmt/format/json.rs create mode 100644 vendor/tracing-subscriber/src/fmt/format/mod.rs create mode 100644 vendor/tracing-subscriber/src/fmt/format/pretty.rs create mode 100644 vendor/tracing-subscriber/src/fmt/mod.rs create mode 100644 vendor/tracing-subscriber/src/fmt/time/datetime.rs create mode 100644 vendor/tracing-subscriber/src/fmt/time/mod.rs create mode 100644 vendor/tracing-subscriber/src/fmt/time/time_crate.rs create mode 100644 vendor/tracing-subscriber/src/fmt/writer.rs create mode 100644 vendor/tracing-subscriber/src/layer/context.rs create mode 100644 vendor/tracing-subscriber/src/layer/layered.rs create mode 100644 vendor/tracing-subscriber/src/layer/mod.rs create mode 100644 vendor/tracing-subscriber/src/layer/tests.rs create mode 100644 vendor/tracing-subscriber/src/lib.rs create mode 100644 vendor/tracing-subscriber/src/macros.rs create mode 100644 vendor/tracing-subscriber/src/prelude.rs create mode 100644 vendor/tracing-subscriber/src/registry/extensions.rs create mode 100644 vendor/tracing-subscriber/src/registry/mod.rs create mode 100644 vendor/tracing-subscriber/src/registry/sharded.rs create mode 100644 vendor/tracing-subscriber/src/registry/stack.rs create mode 100644 vendor/tracing-subscriber/src/reload.rs create mode 100644 vendor/tracing-subscriber/src/sync.rs create mode 100644 vendor/tracing-subscriber/src/util.rs create mode 100644 vendor/tracing-subscriber/tests/cached_layer_filters_dont_break_other_layers.rs create mode 100644 vendor/tracing-subscriber/tests/duplicate_spans.rs create mode 100644 vendor/tracing-subscriber/tests/env_filter/main.rs create mode 100644 vendor/tracing-subscriber/tests/env_filter/per_layer.rs create mode 100644 vendor/tracing-subscriber/tests/event_enabling.rs create mode 100644 vendor/tracing-subscriber/tests/field_filter.rs create mode 100644 vendor/tracing-subscriber/tests/filter_log.rs create mode 100644 vendor/tracing-subscriber/tests/fmt_max_level_hint.rs create mode 100644 vendor/tracing-subscriber/tests/hinted_layer_filters_dont_break_other_layers.rs create mode 100644 vendor/tracing-subscriber/tests/layer_filter_interests_are_cached.rs create mode 100644 vendor/tracing-subscriber/tests/layer_filters/boxed.rs create mode 100644 vendor/tracing-subscriber/tests/layer_filters/combinators.rs create mode 100644 vendor/tracing-subscriber/tests/layer_filters/downcast_raw.rs create mode 100644 vendor/tracing-subscriber/tests/layer_filters/filter_scopes.rs create mode 100644 vendor/tracing-subscriber/tests/layer_filters/main.rs create mode 100644 vendor/tracing-subscriber/tests/layer_filters/per_event.rs create mode 100644 vendor/tracing-subscriber/tests/layer_filters/targets.rs create mode 100644 vendor/tracing-subscriber/tests/layer_filters/trees.rs create mode 100644 vendor/tracing-subscriber/tests/layer_filters/vec.rs create mode 100644 vendor/tracing-subscriber/tests/multiple_layer_filter_interests_cached.rs create mode 100644 vendor/tracing-subscriber/tests/option.rs create mode 100644 vendor/tracing-subscriber/tests/registry_max_level_hint.rs create mode 100644 vendor/tracing-subscriber/tests/registry_with_subscriber.rs create mode 100644 vendor/tracing-subscriber/tests/reload.rs create mode 100644 vendor/tracing-subscriber/tests/same_len_filters.rs create mode 100644 vendor/tracing-subscriber/tests/support.rs create mode 100644 vendor/tracing-subscriber/tests/unhinted_layer_filters_dont_break_other_layers.rs create mode 100644 vendor/tracing-subscriber/tests/utils.rs create mode 100644 vendor/tracing-subscriber/tests/vec.rs create mode 100644 vendor/tracing-subscriber/tests/vec_subscriber_filter_interests_cached.rs create mode 100644 vendor/unicode-ident/tests/tables/mod.rs create mode 100644 vendor/unicode-ident/tests/tables/tables.rs delete mode 100644 vendor/yoke/src/is_covariant.rs create mode 100644 vendor/zip/CHANGELOG.md diff --git a/Cargo.lock b/Cargo.lock index c4bb084d9..ece96826a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -88,15 +88,6 @@ dependencies = [ "yansi-term", ] -[[package]] -name = "ansi_term" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" -dependencies = [ - "winapi", -] - [[package]] name = "ansi_term" version = "0.12.1" @@ -127,6 +118,12 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f8cb5d814eb646a863c4f24978cff2880c4be96ad8cde2c0f0678732902e271" +[[package]] +name = "arrayvec" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" + [[package]] name = "arrayvec" version = "0.7.0" @@ -173,7 +170,7 @@ dependencies = [ "quote", "serde", "syn", - "toml", + "toml 0.5.7", ] [[package]] @@ -285,7 +282,7 @@ dependencies = [ "serde_json", "sha2", "tar", - "toml", + "toml 0.5.7", ] [[package]] @@ -301,7 +298,7 @@ dependencies = [ "indexmap", "serde", "serde_json", - "toml", + "toml 0.5.7", ] [[package]] @@ -342,7 +339,7 @@ dependencies = [ [[package]] name = "cargo" -version = "0.69.1" +version = "0.70.0" dependencies = [ "anyhow", "base64", @@ -384,7 +381,6 @@ dependencies = [ "os_info", "pasetors", "pathdiff", - "percent-encoding", "pretty_env_logger", "rustc-workspace-hack", "rustfix", @@ -402,12 +398,13 @@ dependencies = [ "tempfile", "termcolor", "time 0.3.17", + "toml 0.7.2", "toml_edit", "unicode-width", "unicode-xid", "url", "walkdir", - "winapi", + "windows-sys 0.45.0", ] [[package]] @@ -436,18 +433,18 @@ name = "cargo-credential-wincred" version = "0.2.0" dependencies = [ "cargo-credential", - "winapi", + "windows-sys 0.45.0", ] [[package]] name = "cargo-miri" version = "0.1.0" dependencies = [ - "cargo_metadata 0.15.0", + "cargo_metadata 0.15.3", "directories", "rustc-build-sysroot", "rustc-workspace-hack", - "rustc_tools_util 0.2.1", + "rustc_tools_util", "rustc_version", "serde", "serde_json", @@ -494,9 +491,9 @@ dependencies = [ "tar", "termcolor", "time 0.3.17", - "toml_edit", + "toml 0.7.2", "url", - "winapi", + "windows-sys 0.45.0", ] [[package]] @@ -516,7 +513,7 @@ dependencies = [ "shell-escape", "tempfile", "walkdir", - "winapi", + "windows-sys 0.45.0", ] [[package]] @@ -534,15 +531,16 @@ dependencies = [ [[package]] name = "cargo_metadata" -version = "0.15.0" +version = "0.15.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3abb7553d5b9b8421c6de7cb02606ff15e0c6eea7d8eadd75ef013fd636bec36" +checksum = "08a1ec454bc3eead8719cb56e15dbbfecdbc14e4b3a3ae4936cc6e31f5fc0d07" dependencies = [ "camino", "cargo-platform 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "semver", "serde", "serde_json", + "thiserror", ] [[package]] @@ -724,8 +722,9 @@ dependencies = [ [[package]] name = "clippy" -version = "0.1.68" +version = "0.1.69" dependencies = [ + "clap 4.1.4", "clippy_lints", "clippy_utils", "compiletest_rs", @@ -739,7 +738,7 @@ dependencies = [ "regex", "rustc-semver", "rustc-workspace-hack", - "rustc_tools_util 0.3.0", + "rustc_tools_util", "semver", "serde", "syn", @@ -747,7 +746,7 @@ dependencies = [ "termize", "tester", "tokio", - "toml", + "toml 0.5.7", "walkdir", ] @@ -756,7 +755,7 @@ name = "clippy_dev" version = "0.0.1" dependencies = [ "aho-corasick", - "clap 3.2.20", + "clap 4.1.4", "indoc", "itertools", "opener", @@ -766,14 +765,14 @@ dependencies = [ [[package]] name = "clippy_lints" -version = "0.1.68" +version = "0.1.69" dependencies = [ - "cargo_metadata 0.14.0", + "cargo_metadata 0.15.3", "clippy_utils", "declare_clippy_lint", "if_chain", "itertools", - "pulldown-cmark 0.9.2", + "pulldown-cmark", "quine-mc_cluskey", "regex-syntax", "rustc-semver", @@ -781,7 +780,7 @@ dependencies = [ "serde", "serde_json", "tempfile", - "toml", + "toml 0.5.7", "unicode-normalization", "unicode-script", "url", @@ -789,9 +788,9 @@ dependencies = [ [[package]] name = "clippy_utils" -version = "0.1.68" +version = "0.1.69" dependencies = [ - "arrayvec", + "arrayvec 0.7.0", "if_chain", "itertools", "rustc-semver", @@ -845,16 +844,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "combine" -version = "4.6.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35ed6e9d84f0b51a7f52daf1c7d71dd136fd7a3f41a8462b8cdb8c78d920fad4" -dependencies = [ - "bytes", - "memchr", -] - [[package]] name = "commoncrypto" version = "0.2.0" @@ -875,9 +864,9 @@ dependencies = [ [[package]] name = "compiler_builtins" -version = "0.1.85" +version = "0.1.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13e81c6cd7ab79f51a0c927d22858d61ad12bd0b3865f0b13ece02a4486aeabb" +checksum = "f867ce54c09855ccd135ad4a50c777182a0c7af5ff20a8f537617bd648b10d50" dependencies = [ "cc", "rustc-std-workspace-core", @@ -887,15 +876,16 @@ dependencies = [ name = "compiletest" version = "0.0.0" dependencies = [ + "build_helper", "colored", "diff", "getopts", "glob", - "lazy_static", "lazycell", "libc", - "miow 0.3.7", + "miow 0.5.0", "miropt-test-tools", + "once_cell", "regex", "rustfix", "serde", @@ -1007,7 +997,7 @@ dependencies = [ [[package]] name = "crates-io" -version = "0.35.1" +version = "0.36.0" dependencies = [ "anyhow", "curl", @@ -1168,7 +1158,7 @@ checksum = "a0afaad2b26fa326569eb264b1363e8ae3357618c43982b3f285f0774ce76b69" [[package]] name = "declare_clippy_lint" -version = "0.1.68" +version = "0.1.69" dependencies = [ "itertools", "quote", @@ -1216,12 +1206,6 @@ version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" -[[package]] -name = "difference" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198" - [[package]] name = "digest" version = "0.10.6" @@ -1378,11 +1362,20 @@ dependencies = [ "zeroize", ] +[[package]] +name = "elsa" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f74077c3c3aedb99a2683919698285596662518ea13e5eedcf8bdd43b0d0453b" +dependencies = [ + "stable_deref_trait", +] + [[package]] name = "ena" -version = "0.14.0" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7402b94a93c24e742487327a7cd839dc9d36fec9de9fb25b09f2dae459f36c3" +checksum = "b2e5d13ca2353ab7d0230988629def93914a8c4015f621f9b13ed2955614731d" dependencies = [ "log", ] @@ -1452,6 +1445,7 @@ name = "error_index_generator" version = "0.0.0" dependencies = [ "mdbook", + "rustc_error_codes", ] [[package]] @@ -1930,22 +1924,15 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.2.6" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7" +checksum = "856b5cb0902c2b6d65d5fd97dfa30f9b70c7538e770b98eab5ed52d8db923e01" dependencies = [ "compiler_builtins", - "libc", "rustc-std-workspace-alloc", "rustc-std-workspace-core", ] -[[package]] -name = "hermit-abi" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" - [[package]] name = "hex" version = "0.3.2" @@ -2033,23 +2020,21 @@ checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a" [[package]] name = "icu_list" -version = "1.0.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c40218275f081c4493f190357c5395647b06734c2dc3dcb41cc099a0f60168b1" +checksum = "01a65ff0cab77c33c7e165c858eaa6e84a09f1e485dd495d9d0ae61083c6f786" dependencies = [ "displaydoc", - "icu_locid", "icu_provider", "regex-automata 0.2.0", "writeable", - "zerovec", ] [[package]] name = "icu_locid" -version = "1.0.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34b3de5d99a0e275fe6193b9586dbf37364daebc0d39c89b5cf8376a53b789e8" +checksum = "71d7a98ecb812760b5f077e55a4763edeefa7ccc30d6eb5680a70841ede81928" dependencies = [ "displaydoc", "litemap", @@ -2060,9 +2045,9 @@ dependencies = [ [[package]] name = "icu_provider" -version = "1.0.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f911086e3c521a8a824d4f8bfd87769645ced2f07ff913b521c0d793be07100" +checksum = "a86816c97bc4e613086497f9479f63e120315e056763e8c4435604f98d21d82d" dependencies = [ "displaydoc", "icu_locid", @@ -2076,9 +2061,9 @@ dependencies = [ [[package]] name = "icu_provider_adapters" -version = "1.0.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "980c71d8a91b246ebbb97847178a4b816eea39d1d550c70ee566384555bb6545" +checksum = "8e89bf33962b24bb48a4a21330c20c9ff17949338ea376360dd9eda2c209dca1" dependencies = [ "icu_locid", "icu_provider", @@ -2089,9 +2074,9 @@ dependencies = [ [[package]] name = "icu_provider_macros" -version = "1.0.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38cf6f5b65cf81f0b4298da647101acbfe6ae0e25263f92bd7a22597e9d6d606" +checksum = "9ddb07844c2ffc4c28840e799e9e54ff054393cf090740decf25624e9d94b93a" dependencies = [ "proc-macro2", "quote", @@ -2232,7 +2217,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21b6b32576413a8e69b90e952e4a026476040d81017b80445deda5f2d3921857" dependencies = [ - "hermit-abi 0.3.1", + "hermit-abi 0.3.0", "io-lifetimes", "rustix", "windows-sys 0.45.0", @@ -2266,9 +2251,9 @@ dependencies = [ [[package]] name = "jobserver" -version = "0.1.24" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af25a77299a7f711a01975c35a6a424eb6862092cc2d6c72c4ed6cbc56dfc1fa" +checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2" dependencies = [ "libc", ] @@ -2320,15 +2305,6 @@ dependencies = [ "serde_json", ] -[[package]] -name = "kstring" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec3066350882a1cd6d950d055997f379ac37fd39f81cd4d8ed186032eb3c5747" -dependencies = [ - "static_assertions", -] - [[package]] name = "lazy_static" version = "1.4.0" @@ -2343,9 +2319,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.138" +version = "0.2.139" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db6d7e329c562c5dfab7a46a2afabc8b987ab9a4834c9d1ca04dc54c1546cef8" +checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" dependencies = [ "rustc-std-workspace-core", ] @@ -2466,9 +2442,9 @@ checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" [[package]] name = "litemap" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f34a3f4798fac63fb48cf277eefa38f94d3443baff555bb98e4f56bc9092368e" +checksum = "575d8a551c59104b4df91269921e5eab561aa1b77c618dac0414b5d44a4617de" [[package]] name = "lld-wrapper" @@ -2572,13 +2548,13 @@ dependencies = [ "memchr", "once_cell", "opener", - "pulldown-cmark 0.9.2", + "pulldown-cmark", "regex", "serde", "serde_json", "shlex", "tempfile", - "toml", + "toml 0.5.7", "topological-sort", ] @@ -2589,7 +2565,7 @@ dependencies = [ "anyhow", "handlebars 3.5.5", "pretty_assertions", - "pulldown-cmark 0.7.2", + "pulldown-cmark", "same-file", "serde_json", "url", @@ -2724,6 +2700,15 @@ dependencies = [ "version_check", ] +[[package]] +name = "nom8" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae01545c9c7fc4486ab7debaf2aad7003ac19431791868fb2e8066df97fad2f8" +dependencies = [ + "memchr", +] + [[package]] name = "normalize-line-endings" version = "0.3.0" @@ -3192,14 +3177,14 @@ checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" [[package]] name = "pretty_assertions" -version = "0.6.1" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f81e1644e1b54f5a68959a29aa86cde704219254669da328ecfdf6a1f09d427" +checksum = "a25e9bcb20aa780fd0bb16b72403a9064d6b3f22f026946029acb941a50af755" dependencies = [ - "ansi_term 0.11.0", "ctor", - "difference", + "diff", "output_vt100", + "yansi", ] [[package]] @@ -3277,17 +3262,6 @@ dependencies = [ "cc", ] -[[package]] -name = "pulldown-cmark" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca36dea94d187597e104a5c8e4b07576a8a45aa5db48a65e12940d3eb7461f55" -dependencies = [ - "bitflags", - "memchr", - "unicase", -] - [[package]] name = "pulldown-cmark" version = "0.9.2" @@ -3503,25 +3477,6 @@ dependencies = [ "serde_json", ] -[[package]] -name = "rls-data" -version = "0.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a58135eb039f3a3279a33779192f0ee78b56f57ae636e25cec83530e41debb99" -dependencies = [ - "rls-span", - "serde", -] - -[[package]] -name = "rls-span" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0eea58478fc06e15f71b03236612173a1b81e9770314edecfa664375e3e4c86" -dependencies = [ - "serde", -] - [[package]] name = "rust-demangler" version = "0.0.1" @@ -3573,6 +3528,7 @@ dependencies = [ "jemalloc-sys", "rustc_codegen_ssa", "rustc_driver", + "rustc_driver_impl", "rustc_smir", ] @@ -3678,6 +3634,7 @@ name = "rustc_ast" version = "0.0.0" dependencies = [ "bitflags", + "memchr", "rustc_data_structures", "rustc_index", "rustc_lexer", @@ -3693,7 +3650,6 @@ dependencies = [ name = "rustc_ast_lowering" version = "0.0.0" dependencies = [ - "rustc_arena", "rustc_ast", "rustc_ast_pretty", "rustc_data_structures", @@ -3702,7 +3658,6 @@ dependencies = [ "rustc_index", "rustc_macros", "rustc_middle", - "rustc_query_system", "rustc_session", "rustc_span", "rustc_target", @@ -3727,6 +3682,7 @@ dependencies = [ "rustc_session", "rustc_span", "rustc_target", + "thin-vec", "tracing", ] @@ -3736,6 +3692,7 @@ version = "0.0.0" dependencies = [ "rustc_ast", "rustc_span", + "thin-vec", ] [[package]] @@ -3762,7 +3719,6 @@ dependencies = [ "icu_locid", "icu_provider", "icu_provider_adapters", - "litemap", "zerovec", ] @@ -3841,11 +3797,12 @@ dependencies = [ "rustc_metadata", "rustc_middle", "rustc_query_system", - "rustc_serialize", "rustc_session", "rustc_span", "rustc_symbol_mangling", "rustc_target", + "serde", + "serde_json", "smallvec", "tempfile", "tracing", @@ -3867,7 +3824,6 @@ dependencies = [ "rustc_arena", "rustc_ast", "rustc_attr", - "rustc_const_eval", "rustc_data_structures", "rustc_errors", "rustc_fs_util", @@ -3908,7 +3864,6 @@ dependencies = [ "rustc_macros", "rustc_middle", "rustc_mir_dataflow", - "rustc_query_system", "rustc_session", "rustc_span", "rustc_target", @@ -3921,9 +3876,10 @@ dependencies = [ name = "rustc_data_structures" version = "0.0.0" dependencies = [ - "arrayvec", + "arrayvec 0.7.0", "bitflags", "cfg-if", + "elsa", "ena", "indexmap", "jobserver", @@ -3950,30 +3906,57 @@ dependencies = [ [[package]] name = "rustc_driver" version = "0.0.0" +dependencies = [ + "rustc_driver_impl", +] + +[[package]] +name = "rustc_driver_impl" +version = "0.0.0" dependencies = [ "libc", "rustc_ast", + "rustc_ast_lowering", + "rustc_ast_passes", "rustc_ast_pretty", + "rustc_attr", + "rustc_borrowck", + "rustc_builtin_macros", "rustc_codegen_ssa", + "rustc_const_eval", "rustc_data_structures", "rustc_error_codes", + "rustc_error_messages", "rustc_errors", + "rustc_expand", "rustc_feature", "rustc_hir", "rustc_hir_analysis", "rustc_hir_pretty", + "rustc_hir_typeck", + "rustc_incremental", + "rustc_infer", "rustc_interface", "rustc_lint", "rustc_log", "rustc_macros", "rustc_metadata", "rustc_middle", + "rustc_mir_build", + "rustc_mir_dataflow", + "rustc_monomorphize", "rustc_parse", + "rustc_passes", "rustc_plugin_impl", - "rustc_save_analysis", + "rustc_privacy", + "rustc_query_system", + "rustc_resolve", "rustc_session", "rustc_span", + "rustc_symbol_mangling", "rustc_target", + "rustc_trait_selection", + "rustc_ty_utils", "serde_json", "tracing", "winapi", @@ -4000,7 +3983,6 @@ dependencies = [ "rustc_span", "tracing", "unic-langid", - "writeable", ] [[package]] @@ -4096,21 +4078,19 @@ dependencies = [ "rustc_data_structures", "rustc_errors", "rustc_feature", - "rustc_graphviz", "rustc_hir", - "rustc_hir_pretty", "rustc_index", "rustc_infer", "rustc_lint", "rustc_macros", "rustc_middle", - "rustc_serialize", "rustc_session", "rustc_span", "rustc_target", "rustc_trait_selection", "rustc_type_ir", "smallvec", + "thin-vec", "tracing", ] @@ -4167,6 +4147,7 @@ dependencies = [ "rustc_serialize", "rustc_session", "rustc_span", + "thin-vec", "tracing", ] @@ -4174,7 +4155,7 @@ dependencies = [ name = "rustc_index" version = "0.0.0" dependencies = [ - "arrayvec", + "arrayvec 0.7.0", "rustc_macros", "rustc_serialize", "smallvec", @@ -4191,7 +4172,6 @@ dependencies = [ "rustc_macros", "rustc_middle", "rustc_serialize", - "rustc_session", "rustc_span", "rustc_target", "smallvec", @@ -4221,6 +4201,7 @@ dependencies = [ "rustc_hir_analysis", "rustc_hir_typeck", "rustc_incremental", + "rustc_index", "rustc_lint", "rustc_macros", "rustc_metadata", @@ -4234,7 +4215,6 @@ dependencies = [ "rustc_privacy", "rustc_query_impl", "rustc_resolve", - "rustc_serialize", "rustc_session", "rustc_span", "rustc_symbol_mangling", @@ -4332,6 +4312,7 @@ dependencies = [ name = "rustc_metadata" version = "0.0.0" dependencies = [ + "bitflags", "libloading", "odht", "rustc_ast", @@ -4399,7 +4380,6 @@ dependencies = [ "rustc_apfloat", "rustc_arena", "rustc_ast", - "rustc_attr", "rustc_data_structures", "rustc_errors", "rustc_hir", @@ -4431,7 +4411,6 @@ dependencies = [ "rustc_macros", "rustc_middle", "rustc_serialize", - "rustc_session", "rustc_span", "rustc_target", "smallvec", @@ -4562,7 +4541,6 @@ dependencies = [ "rustc_middle", "rustc_session", "rustc_span", - "rustc_trait_selection", "tracing", ] @@ -4583,7 +4561,6 @@ dependencies = [ "rustc_serialize", "rustc_session", "rustc_span", - "rustc_target", "thin-vec", "tracing", ] @@ -4617,6 +4594,7 @@ name = "rustc_resolve" version = "0.0.0" dependencies = [ "bitflags", + "pulldown-cmark", "rustc_arena", "rustc_ast", "rustc_ast_pretty", @@ -4638,27 +4616,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "rustc_save_analysis" -version = "0.0.0" -dependencies = [ - "rls-data", - "rls-span", - "rustc_ast", - "rustc_ast_pretty", - "rustc_data_structures", - "rustc_errors", - "rustc_hir", - "rustc_hir_pretty", - "rustc_lexer", - "rustc_macros", - "rustc_middle", - "rustc_session", - "rustc_span", - "serde_json", - "tracing", -] - [[package]] name = "rustc_serialize" version = "0.0.0" @@ -4761,12 +4718,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "rustc_tools_util" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "598f48ce2a421542b3e64828aa742b687cc1b91d2f96591cfdb7ac5988cd6366" - [[package]] name = "rustc_tools_util" version = "0.3.0" @@ -4777,6 +4728,7 @@ checksum = "8ba09476327c4b70ccefb6180f046ef588c26a24cf5d269a9feba316eb4f029f" name = "rustc_trait_selection" version = "0.0.0" dependencies = [ + "itertools", "rustc_ast", "rustc_attr", "rustc_data_structures", @@ -4784,7 +4736,6 @@ dependencies = [ "rustc_hir", "rustc_index", "rustc_infer", - "rustc_lint_defs", "rustc_macros", "rustc_middle", "rustc_parse_format", @@ -4806,7 +4757,6 @@ dependencies = [ "chalk-ir", "chalk-solve", "rustc_ast", - "rustc_attr", "rustc_data_structures", "rustc_hir", "rustc_index", @@ -4878,13 +4828,12 @@ dependencies = [ name = "rustdoc" version = "0.0.0" dependencies = [ - "arrayvec", + "arrayvec 0.7.0", "askama", "expect-test", "itertools", "minifier", "once_cell", - "pulldown-cmark 0.9.2", "rayon", "regex", "rustdoc-json-types", @@ -4892,7 +4841,6 @@ dependencies = [ "serde_json", "smallvec", "tempfile", - "thin-vec", "tracing", "tracing-subscriber", "tracing-tree", @@ -4931,7 +4879,7 @@ dependencies = [ [[package]] name = "rustfmt-config_proc_macro" -version = "0.2.0" +version = "0.3.0" dependencies = [ "proc-macro2", "quote", @@ -4941,7 +4889,7 @@ dependencies = [ [[package]] name = "rustfmt-nightly" -version = "1.5.1" +version = "1.5.2" dependencies = [ "annotate-snippets", "anyhow", @@ -4964,7 +4912,7 @@ dependencies = [ "serde_json", "term", "thiserror", - "toml", + "toml 0.5.7", "unicode-segmentation", "unicode-width", "unicode_categories", @@ -5130,6 +5078,15 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_spanned" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0efd8caf556a6cebd3b285caf480045fcc1ac04f6bd786b09a6f11af30c4fcf4" +dependencies = [ + "serde", +] + [[package]] name = "sha1" version = "0.10.5" @@ -5219,9 +5176,9 @@ checksum = "cc88c725d61fc6c3132893370cac4a0200e3fedf5da8331c570664b1987f5ca2" [[package]] name = "snap" -version = "1.0.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da73c8f77aebc0e40c300b93f0a5f1bece7a248a36eee287d4e095f35c7b7d6e" +checksum = "5e9f0ab6ef7eb7353d9119c170a436d1bf248eea575ac42d19d12f4e34130831" [[package]] name = "snapbox" @@ -5333,7 +5290,7 @@ dependencies = [ "dlmalloc", "fortanix-sgx-abi", "hashbrown 0.12.3", - "hermit-abi 0.2.6", + "hermit-abi 0.3.0", "libc", "miniz_oxide", "object 0.29.0", @@ -5387,9 +5344,9 @@ dependencies = [ [[package]] name = "strip-ansi-escapes" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d63676e2abafa709460982ddc02a3bb586b6d15a49b75c212e06edd3933acee" +checksum = "011cbb39cf7c1f62871aea3cc46e5817b0937b49e9447370c93cacbe93a766d8" dependencies = [ "vte", ] @@ -5528,10 +5485,8 @@ dependencies = [ name = "test" version = "0.0.0" dependencies = [ - "cfg-if", "core", "getopts", - "libc", "panic_abort", "panic_unwind", "proc_macro", @@ -5559,9 +5514,9 @@ checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb" [[package]] name = "thin-vec" -version = "0.2.9" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceb05e71730d396f960f8f3901cdb41be2d339b303e9d7d3a07c5ff0536e671b" +checksum = "aac81b6fd6beb5884b0cf3321b8117e6e5d47ecb6fc89f414cfdcca8b2fe2dd8" [[package]] name = "thiserror" @@ -5662,9 +5617,9 @@ dependencies = [ [[package]] name = "tinystr" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8aeafdfd935e4a7fe16a91ab711fa52d54df84f9c8f7ca5837a9d1d902ef4c2" +checksum = "7ac3f5b6856e931e15e07b478e98c8045239829a65f9156d4fa7e7788197a5ef" dependencies = [ "displaydoc", "zerovec", @@ -5706,26 +5661,37 @@ dependencies = [ "serde", ] +[[package]] +name = "toml" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7afcae9e3f0fe2c370fd4657108972cbb2fa9db1b9f84849cefd80741b01cb6" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit", +] + [[package]] name = "toml_datetime" -version = "0.5.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "808b51e57d0ef8f71115d8f3a01e7d3750d01c79cac4b3eda910f4389fdf92fd" +checksum = "3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622" dependencies = [ "serde", ] [[package]] name = "toml_edit" -version = "0.15.0" +version = "0.19.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1541ba70885967e662f69d31ab3aeca7b1aaecfcd58679590b893e9239c3646" +checksum = "5e6a7712b49e1775fb9a7b998de6635b299237f48b404dde71704f2e0e7f37e5" dependencies = [ - "combine", "indexmap", - "itertools", - "kstring", + "nom8", "serde", + "serde_spanned", "toml_datetime", ] @@ -5795,7 +5761,7 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "245da694cc7fc4729f3f418b304cb57789f1bed2a78c575407ab8a23f53cb4d3" dependencies = [ - "ansi_term 0.12.1", + "ansi_term", "lazy_static", "matchers", "parking_lot 0.11.2", @@ -5814,7 +5780,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3ce989c9962c7f61fe084dd4a230eec784649dfc2392467c790007c3a6e134e7" dependencies = [ - "ansi_term 0.12.1", + "ansi_term", "atty", "tracing-core", "tracing-log", @@ -5870,7 +5836,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "54ddb6f31025943e2f9d59237f433711c461a43d9415974c3eb3a4902edc1c1f" dependencies = [ "bstr 1.0.1", - "cargo_metadata 0.15.0", + "cargo_metadata 0.15.3", "color-eyre", "colored", "crossbeam-channel", @@ -6101,9 +6067,9 @@ checksum = "05e42f7c18b8f902290b009cde6d651262f956c98bc51bca4cd1d511c9cd85c7" [[package]] name = "utf8parse" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8772a4ccbb4e89959023bc5b7cb8623a795caa7092d99f3aa9501b9484d4557d" +checksum = "936e4b492acfd135421d8dca4b1aa80a7bfc26e702ef3af710e0752684df5372" [[package]] name = "uuid" @@ -6134,11 +6100,23 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "vte" -version = "0.3.3" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f42f536e22f7fcbb407639765c8fd78707a33109301f834a594758bedd6e8cf" +checksum = "6cbce692ab4ca2f1f3047fcf732430249c0e971bfdd2b234cf2c47ad93af5983" dependencies = [ + "arrayvec 0.5.2", "utf8parse", + "vte_generate_state_changes", +] + +[[package]] +name = "vte_generate_state_changes" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d257817081c7dffcdbab24b9e62d2def62e2ff7d00b1c20062551e6cccc145ff" +dependencies = [ + "proc-macro2", + "quote", ] [[package]] @@ -6331,9 +6309,9 @@ checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd" [[package]] name = "writeable" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8e6ab4f5da1b24daf2c590cfac801bacb27b15b4f050e84eb60149ea726f06b" +checksum = "92d74a687e3b9a7a129db0a8c82b4d464eb9c36f5a66ca68572a7e5f1cfdb5bc" [[package]] name = "xattr" @@ -6390,9 +6368,9 @@ dependencies = [ [[package]] name = "yoke" -version = "0.6.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fe1d55ca72c32d573bfbd5cb2f0ca65a497854c44762957a6d3da96041a5184" +checksum = "222180af14a6b54ef2c33493c1eff77ae95a3687a21b243e752624006fb8f26e" dependencies = [ "serde", "stable_deref_trait", @@ -6402,9 +6380,9 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.6.1" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1346e4cd025ae818b88566eac7eb65ab33a994ea55f355c86889af2e7e56b14e" +checksum = "ca800d73d6b7a7ee54f2608205c98b549fca71c9500c1abcb3abdc7708b4a8cb" dependencies = [ "proc-macro2", "quote", @@ -6441,9 +6419,9 @@ checksum = "c394b5bd0c6f669e7275d9c20aa90ae064cb22e75a1cad54e1b34088034b149f" [[package]] name = "zerovec" -version = "0.9.0" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9d919a74c17749ccb17beaf6405562e413cd94e98ba52ca1e64bbe7eefbd8b8" +checksum = "154df60c74c4a844bc04a53cef4fc18a909d3ea07e19f5225eaba86209da3aa6" dependencies = [ "yoke", "zerofrom", @@ -6452,9 +6430,9 @@ dependencies = [ [[package]] name = "zerovec-derive" -version = "0.9.0" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "490e5f878c2856225e884c35927e7ea6db3c24cdb7229b72542c7526ad7ed49e" +checksum = "2154cb6e2a748163354165e22c6a555effb09ca2d16334767bf66bb404f2206e" dependencies = [ "proc-macro2", "quote", diff --git a/README.md b/README.md index 0eb7c4b26..c424bd12f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # The Rust Programming Language +[![Rust Community](https://img.shields.io/badge/Rust_Community%20-Join_us-brightgreen?style=plastic&logo=rust)](https://www.rust-lang.org/community) + This is the main source code repository for [Rust]. It contains the compiler, standard library, and documentation. diff --git a/RELEASES.md b/RELEASES.md index e2b43690d..b89178a6f 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,105 @@ +Version 1.69.0 (2023-04-20) +========================== + + + +Language +-------- + +- [Deriving built-in traits on packed structs works with `Copy` fields.](https://github.com/rust-lang/rust/pull/104429/) +- [Stabilize the `cmpxchg16b` target feature on x86 and x86_64.](https://github.com/rust-lang/rust/pull/106774/) +- [Improve analysis of trait bounds for associated types.](https://github.com/rust-lang/rust/pull/103695/) +- [Allow associated types to be used as union fields.](https://github.com/rust-lang/rust/pull/106938/) +- [Allow `Self: Autotrait` bounds on dyn-safe trait methods.](https://github.com/rust-lang/rust/pull/107082/) +- [Treat `str` as containing `[u8]` for auto trait purposes.](https://github.com/rust-lang/rust/pull/107941/) + + + +Compiler +-------- + +- [Upgrade `*-pc-windows-gnu` on CI to mingw-w64 v10 and GCC 12.2.](https://github.com/rust-lang/rust/pull/100178/) +- [Rework min_choice algorithm of member constraints.](https://github.com/rust-lang/rust/pull/105300/) +- [Support `true` and `false` as boolean flags in compiler arguments.](https://github.com/rust-lang/rust/pull/107043/) +- [Default `repr(C)` enums to `c_int` size.](https://github.com/rust-lang/rust/pull/107592/) + + + +Libraries +--------- + +- [Implement the unstable `DispatchFromDyn` for cell types, allowing downstream experimentation with custom method receivers.](https://github.com/rust-lang/rust/pull/97373/) +- [Document that `fmt::Arguments::as_str()` may return `Some(_)` in more cases after optimization, subject to change.](https://github.com/rust-lang/rust/pull/106823/) +- [Implement `AsFd` and `AsRawFd` for `Rc`.](https://github.com/rust-lang/rust/pull/107317/) + + + +Stabilized APIs +--------------- + +- [`CStr::from_bytes_until_nul`](https://doc.rust-lang.org/stable/core/ffi/struct.CStr.html#method.from_bytes_until_nul) +- [`core::ffi::FromBytesUntilNulError`](https://doc.rust-lang.org/stable/core/ffi/struct.FromBytesUntilNulError.html) + +These APIs are now stable in const contexts: + +- [`SocketAddr::new`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.new) +- [`SocketAddr::ip`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.ip) +- [`SocketAddr::port`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.port) +- [`SocketAddr::is_ipv4`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.is_ipv4) +- [`SocketAddr::is_ipv6`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.is_ipv6) +- [`SocketAddrV4::new`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV4.html#method.new) +- [`SocketAddrV4::ip`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV4.html#method.ip) +- [`SocketAddrV4::port`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV4.html#method.port) +- [`SocketAddrV6::new`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.new) +- [`SocketAddrV6::ip`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.ip) +- [`SocketAddrV6::port`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.port) +- [`SocketAddrV6::flowinfo`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.flowinfo) +- [`SocketAddrV6::scope_id`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.scope_id) + + + +Cargo +----- + +- [Cargo now suggests `cargo fix` or `cargo clippy --fix` when compilation warnings are auto-fixable.](https://github.com/rust-lang/cargo/pull/11558/) +- [Cargo now suggests `cargo add` if you try to install a library crate.](https://github.com/rust-lang/cargo/pull/11410/) +- [Cargo now sets the `CARGO_BIN_NAME` environment variable also for binary examples.](https://github.com/rust-lang/cargo/pull/11705/) + + + +Rustdoc +----- + +- [Vertically compact trait bound formatting.](https://github.com/rust-lang/rust/pull/102842/) +- [Only include stable lints in `rustdoc::all` group.](https://github.com/rust-lang/rust/pull/106316/) +- [Compute maximum Levenshtein distance based on the query.](https://github.com/rust-lang/rust/pull/107141/) +- [Remove inconsistently-present sidebar tooltips.](https://github.com/rust-lang/rust/pull/107490/) +- [Search by macro when query ends with `!`.](https://github.com/rust-lang/rust/pull/108143/) + + + +Compatibility Notes +------------------- + +- [The `rust-analysis` component from `rustup` now only contains a warning placeholder.](https://github.com/rust-lang/rust/pull/101841/) This was primarily intended for RLS, and the corresponding `-Zsave-analysis` flag has been removed from the compiler as well. +- [Unaligned references to packed fields are now a hard error.](https://github.com/rust-lang/rust/pull/102513/) This has been a warning since 1.53, and denied by default with a future-compatibility warning since 1.62. +- [Update the minimum external LLVM to 14.](https://github.com/rust-lang/rust/pull/107573/) +- [Cargo now emits errors on invalid characters in a registry token.](https://github.com/rust-lang/cargo/pull/11600/) +- [When `default-features` is set to false of a workspace dependency, and an inherited dependency of a member has `default-features = true`, Cargo will enable default features of that dependency.](https://github.com/rust-lang/cargo/pull/11409/) +- [Cargo denies `CARGO_HOME` in the `[env]` configuration table. Cargo itself doesn't pick up this value, but recursive calls to cargo would, which was not intended.](https://github.com/rust-lang/cargo/pull/11644/) +- [Debuginfo for build dependencies is now off if not explicitly set. This is expected to improve the overall build time.](https://github.com/rust-lang/cargo/pull/11252/) + + + +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. + +- [Move `format_args!()` into AST (and expand it during AST lowering)](https://github.com/rust-lang/rust/pull/106745/) + Version 1.68.2 (2023-03-28) =========================== @@ -94,6 +196,7 @@ Misc Compatibility Notes ------------------- +- [Only support Android NDK 25 or newer](https://blog.rust-lang.org/2023/01/09/android-ndk-update-r25.html) - [Add `SEMICOLON_IN_EXPRESSIONS_FROM_MACROS` to future-incompat report](https://github.com/rust-lang/rust/pull/103418/) - [Only specify `--target` by default for `-Zgcc-ld=lld` on wasm](https://github.com/rust-lang/rust/pull/101792/) - [Bump `IMPLIED_BOUNDS_ENTAILMENT` to Deny + ReportNow](https://github.com/rust-lang/rust/pull/106465/) @@ -148,12 +251,13 @@ Compiler - [Optimize field ordering by grouping m\*2^n-sized fields with equivalently aligned ones.](https://github.com/rust-lang/rust/pull/102750/) - [Stabilize native library modifier `verbatim`.](https://github.com/rust-lang/rust/pull/104360/) -Added and removed targets: +Added, updated, and removed targets: - [Add a tier 3 target for PowerPC on AIX](https://github.com/rust-lang/rust/pull/102293/), `powerpc64-ibm-aix`. - [Add a tier 3 target for the Sony PlayStation 1](https://github.com/rust-lang/rust/pull/102689/), `mipsel-sony-psx`. - [Add tier 3 `no_std` targets for the QNX Neutrino RTOS](https://github.com/rust-lang/rust/pull/102701/), `aarch64-unknown-nto-qnx710` and `x86_64-pc-nto-qnx710`. +- [Promote UEFI targets to tier 2](https://github.com/rust-lang/rust/pull/103933/), `aarch64-unknown-uefi`, `i686-unknown-uefi`, and `x86_64-unknown-uefi`. - [Remove tier 3 `linuxkernel` targets](https://github.com/rust-lang/rust/pull/104015/) (not used by the actual kernel). Refer to Rust's [platform support page][platform-support-doc] @@ -3884,6 +3988,8 @@ Version 1.41.1 (2020-02-27) * [Always check types of static items][69145] * [Always check lifetime bounds of `Copy` impls][69145] * [Fix miscompilation in callers of `Layout::repeat`][69225] +* [Rust 1.41.0 was announced as the last Rust release with tier 1 or tier 2 support for 32-bit Apple targets][apple-32bit-drop]. + That announcement did not expect a patch release. 1.41.1 also includes release binaries for these targets. [69225]: https://github.com/rust-lang/rust/issues/69225 [69145]: https://github.com/rust-lang/rust/pull/69145 @@ -3976,7 +4082,7 @@ Misc Compatibility Notes ------------------- -- [As previously announced 1.41.0 will be the last tier 1 release for 32-bit +- [As previously announced 1.41 will be the last tier 1 release for 32-bit Apple targets.][apple-32bit-drop] This means that the source code is still available to build, but the targets are no longer being tested and release binaries for those platforms will no longer be distributed by the Rust project. diff --git a/compiler/rustc/Cargo.toml b/compiler/rustc/Cargo.toml index 27ee3dd2a..41003ad83 100644 --- a/compiler/rustc/Cargo.toml +++ b/compiler/rustc/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [dependencies] rustc_driver = { path = "../rustc_driver" } +rustc_driver_impl = { path = "../rustc_driver_impl" } # Make sure rustc_codegen_ssa ends up in the sysroot, because this # crate is intended to be used by codegen backends, which may not be in-tree. @@ -20,6 +21,6 @@ features = ['unprefixed_malloc_on_supported_platforms'] [features] jemalloc = ['jemalloc-sys'] -llvm = ['rustc_driver/llvm'] -max_level_info = ['rustc_driver/max_level_info'] -rustc_use_parallel_compiler = ['rustc_driver/rustc_use_parallel_compiler'] +llvm = ['rustc_driver_impl/llvm'] +max_level_info = ['rustc_driver_impl/max_level_info'] +rustc_use_parallel_compiler = ['rustc_driver_impl/rustc_use_parallel_compiler'] diff --git a/compiler/rustc_abi/src/layout.rs b/compiler/rustc_abi/src/layout.rs index 9c2cf58ef..54858b520 100644 --- a/compiler/rustc_abi/src/layout.rs +++ b/compiler/rustc_abi/src/layout.rs @@ -1,11 +1,5 @@ use super::*; -use std::{ - borrow::Borrow, - cmp, - fmt::Debug, - iter, - ops::{Bound, Deref}, -}; +use std::{borrow::Borrow, cmp, iter, ops::Bound}; #[cfg(feature = "randomize")] use rand::{seq::SliceRandom, SeedableRng}; @@ -33,7 +27,7 @@ pub trait LayoutCalculator { fn delay_bug(&self, txt: &str); fn current_data_layout(&self) -> Self::TargetDataLayoutRef; - fn scalar_pair(&self, a: Scalar, b: Scalar) -> LayoutS { + fn scalar_pair(&self, a: Scalar, b: Scalar) -> LayoutS { let dl = self.current_data_layout(); let dl = dl.borrow(); let b_align = b.align(dl); @@ -49,7 +43,7 @@ pub trait LayoutCalculator { .max_by_key(|niche| niche.available(dl)); LayoutS { - variants: Variants::Single { index: V::new(0) }, + variants: Variants::Single { index: VariantIdx::new(0) }, fields: FieldsShape::Arbitrary { offsets: vec![Size::ZERO, b_offset], memory_index: vec![0, 1], @@ -61,13 +55,13 @@ pub trait LayoutCalculator { } } - fn univariant<'a, V: Idx, F: Deref> + Debug>( + fn univariant( &self, dl: &TargetDataLayout, - fields: &[F], + fields: &[Layout<'_>], repr: &ReprOptions, kind: StructKind, - ) -> Option> { + ) -> Option { let pack = repr.pack; let mut align = if pack.is_some() { dl.i8_align } else { dl.aggregate_align }; let mut inverse_memory_index: Vec = (0..fields.len() as u32).collect(); @@ -76,17 +70,17 @@ pub trait LayoutCalculator { let end = if let StructKind::MaybeUnsized = kind { fields.len() - 1 } else { fields.len() }; let optimizing = &mut inverse_memory_index[..end]; - let effective_field_align = |f: &F| { + let effective_field_align = |layout: Layout<'_>| { if let Some(pack) = pack { // return the packed alignment in bytes - f.align.abi.min(pack).bytes() + layout.align().abi.min(pack).bytes() } else { // returns log2(effective-align). // This is ok since `pack` applies to all fields equally. // The calculation assumes that size is an integer multiple of align, except for ZSTs. // // group [u8; 4] with align-4 or [u8; 6] with align-2 fields - f.align.abi.bytes().max(f.size.bytes()).trailing_zeros() as u64 + layout.align().abi.bytes().max(layout.size().bytes()).trailing_zeros() as u64 } }; @@ -111,9 +105,9 @@ pub trait LayoutCalculator { // Place ZSTs first to avoid "interesting offsets", // especially with only one or two non-ZST fields. // Then place largest alignments first, largest niches within an alignment group last - let f = &fields[x as usize]; - let niche_size = f.largest_niche.map_or(0, |n| n.available(dl)); - (!f.is_zst(), cmp::Reverse(effective_field_align(f)), niche_size) + let f = fields[x as usize]; + let niche_size = f.largest_niche().map_or(0, |n| n.available(dl)); + (!f.0.is_zst(), cmp::Reverse(effective_field_align(f)), niche_size) }); } @@ -123,8 +117,8 @@ pub trait LayoutCalculator { // And put the largest niche in an alignment group at the end // so it can be used as discriminant in jagged enums optimizing.sort_by_key(|&x| { - let f = &fields[x as usize]; - let niche_size = f.largest_niche.map_or(0, |n| n.available(dl)); + let f = fields[x as usize]; + let niche_size = f.largest_niche().map_or(0, |n| n.available(dl)); (effective_field_align(f), niche_size) }); } @@ -160,15 +154,15 @@ pub trait LayoutCalculator { )); } - if field.is_unsized() { + if field.0.is_unsized() { sized = false; } // Invariant: offset < dl.obj_size_bound() <= 1<<61 let field_align = if let Some(pack) = pack { - field.align.min(AbiAndPrefAlign::new(pack)) + field.align().min(AbiAndPrefAlign::new(pack)) } else { - field.align + field.align() }; offset = offset.align_to(field_align.abi); align = align.max(field_align); @@ -176,7 +170,7 @@ pub trait LayoutCalculator { debug!("univariant offset: {:?} field: {:#?}", offset, field); offsets[i as usize] = offset; - if let Some(mut niche) = field.largest_niche { + if let Some(mut niche) = field.largest_niche() { let available = niche.available(dl); if available > largest_niche_available { largest_niche_available = available; @@ -185,7 +179,7 @@ pub trait LayoutCalculator { } } - offset = offset.checked_add(field.size, dl)?; + offset = offset.checked_add(field.size(), dl)?; } if let Some(repr_align) = repr.align { align = align.max(AbiAndPrefAlign::new(repr_align)); @@ -205,24 +199,26 @@ pub trait LayoutCalculator { // Unpack newtype ABIs and find scalar pairs. if sized && size.bytes() > 0 { // All other fields must be ZSTs. - let mut non_zst_fields = fields.iter().enumerate().filter(|&(_, f)| !f.is_zst()); + let mut non_zst_fields = fields.iter().enumerate().filter(|&(_, f)| !f.0.is_zst()); match (non_zst_fields.next(), non_zst_fields.next(), non_zst_fields.next()) { // We have exactly one non-ZST field. (Some((i, field)), None, None) => { // Field fills the struct and it has a scalar or scalar pair ABI. - if offsets[i].bytes() == 0 && align.abi == field.align.abi && size == field.size + if offsets[i].bytes() == 0 + && align.abi == field.align().abi + && size == field.size() { - match field.abi { + match field.abi() { // For plain scalars, or vectors of them, we can't unpack // newtypes for `#[repr(C)]`, as that affects C ABIs. Abi::Scalar(_) | Abi::Vector { .. } if optimize => { - abi = field.abi; + abi = field.abi(); } // But scalar pairs are Rust-specific and get // treated as aggregates by C ABIs anyway. Abi::ScalarPair(..) => { - abi = field.abi; + abi = field.abi(); } _ => {} } @@ -231,7 +227,7 @@ pub trait LayoutCalculator { // Two non-ZST fields, and they're both scalars. (Some((i, a)), Some((j, b)), None) => { - match (a.abi, b.abi) { + match (a.abi(), b.abi()) { (Abi::Scalar(a), Abi::Scalar(b)) => { // Order by the memory placement, not source order. let ((i, a), (j, b)) = if offsets[i] < offsets[j] { @@ -239,7 +235,7 @@ pub trait LayoutCalculator { } else { ((j, b), (i, a)) }; - let pair = self.scalar_pair::(a, b); + let pair = self.scalar_pair(a, b); let pair_offsets = match pair.fields { FieldsShape::Arbitrary { ref offsets, ref memory_index } => { assert_eq!(memory_index, &[0, 1]); @@ -264,11 +260,11 @@ pub trait LayoutCalculator { _ => {} } } - if fields.iter().any(|f| f.abi.is_uninhabited()) { + if fields.iter().any(|f| f.abi().is_uninhabited()) { abi = Abi::Uninhabited; } Some(LayoutS { - variants: Variants::Single { index: V::new(0) }, + variants: Variants::Single { index: VariantIdx::new(0) }, fields: FieldsShape::Arbitrary { offsets, memory_index }, abi, largest_niche, @@ -277,11 +273,11 @@ pub trait LayoutCalculator { }) } - fn layout_of_never_type(&self) -> LayoutS { + fn layout_of_never_type(&self) -> LayoutS { let dl = self.current_data_layout(); let dl = dl.borrow(); LayoutS { - variants: Variants::Single { index: V::new(0) }, + variants: Variants::Single { index: VariantIdx::new(0) }, fields: FieldsShape::Primitive, abi: Abi::Uninhabited, largest_niche: None, @@ -290,18 +286,18 @@ pub trait LayoutCalculator { } } - fn layout_of_struct_or_enum<'a, V: Idx, F: Deref> + Debug>( + fn layout_of_struct_or_enum( &self, repr: &ReprOptions, - variants: &IndexVec>, + variants: &IndexVec>>, is_enum: bool, is_unsafe_cell: bool, scalar_valid_range: (Bound, Bound), discr_range_of_repr: impl Fn(i128, i128) -> (Integer, bool), - discriminants: impl Iterator, + discriminants: impl Iterator, niche_optimize_enum: bool, always_sized: bool, - ) -> Option> { + ) -> Option { let dl = self.current_data_layout(); let dl = dl.borrow(); @@ -316,9 +312,9 @@ pub trait LayoutCalculator { // 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: &[F]| { - let uninhabited = fields.iter().any(|f| f.abi.is_uninhabited()); - let is_zst = fields.iter().all(|f| f.is_zst()); + let absent = |fields: &[Layout<'_>]| { + let uninhabited = fields.iter().any(|f| f.abi().is_uninhabited()); + let is_zst = fields.iter().all(|f| f.0.is_zst()); uninhabited && is_zst }; let (present_first, present_second) = { @@ -335,7 +331,7 @@ pub trait LayoutCalculator { } // If it's a struct, still compute a layout so that we can still compute the // field offsets. - None => V::new(0), + None => VariantIdx::new(0), }; let is_struct = !is_enum || @@ -439,12 +435,12 @@ pub trait LayoutCalculator { // 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>, + struct TmpLayout { + layout: LayoutS, + variants: IndexVec, } - let calculate_niche_filling_layout = || -> Option> { + let calculate_niche_filling_layout = || -> Option { if niche_optimize_enum { return None; } @@ -464,15 +460,16 @@ pub trait LayoutCalculator { Some(st) }) - .collect::>>()?; + .collect::>>()?; let largest_variant_index = variant_layouts .iter_enumerated() .max_by_key(|(_i, layout)| layout.size.bytes()) .map(|(i, _layout)| i)?; - let all_indices = (0..=variants.len() - 1).map(V::new); - let needs_disc = |index: V| index != largest_variant_index && !absent(&variants[index]); + let all_indices = (0..=variants.len() - 1).map(VariantIdx::new); + let needs_disc = + |index: VariantIdx| index != largest_variant_index && !absent(&variants[index]); let niche_variants = all_indices.clone().find(|v| needs_disc(*v)).unwrap().index() ..=all_indices.rev().find(|v| needs_disc(*v)).unwrap().index(); @@ -482,7 +479,7 @@ pub trait LayoutCalculator { let (field_index, niche, (niche_start, niche_scalar)) = variants[largest_variant_index] .iter() .enumerate() - .filter_map(|(j, field)| Some((j, field.largest_niche?))) + .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 = @@ -514,7 +511,7 @@ pub trait LayoutCalculator { match layout.fields { FieldsShape::Arbitrary { ref mut offsets, .. } => { for (j, offset) in offsets.iter_mut().enumerate() { - if !variants[i][j].is_zst() { + if !variants[i][j].0.is_zst() { *offset += this_offset; } } @@ -572,8 +569,8 @@ pub trait LayoutCalculator { tag: niche_scalar, tag_encoding: TagEncoding::Niche { untagged_variant: largest_variant_index, - niche_variants: (V::new(*niche_variants.start()) - ..=V::new(*niche_variants.end())), + niche_variants: (VariantIdx::new(*niche_variants.start()) + ..=VariantIdx::new(*niche_variants.end())), niche_start, }, tag_field: 0, @@ -598,7 +595,7 @@ pub trait LayoutCalculator { 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()) { + if variants[i].iter().any(|f| f.abi().is_uninhabited()) { continue; } if discr_type.is_signed() { @@ -636,7 +633,7 @@ pub trait LayoutCalculator { if repr.c() { for fields in variants { for field in fields { - prefix_align = prefix_align.max(field.align.abi); + prefix_align = prefix_align.max(field.align().abi); } } } @@ -655,8 +652,8 @@ pub trait LayoutCalculator { // Find the first field we can't move later // to make room for a larger discriminant. for field in st.fields.index_by_increasing_offset().map(|j| &field_layouts[j]) { - if !field.is_zst() || field.align.abi.bytes() != 1 { - start_align = start_align.min(field.align.abi); + if !field.0.is_zst() || field.align().abi.bytes() != 1 { + start_align = start_align.min(field.align().abi); break; } } @@ -664,7 +661,7 @@ pub trait LayoutCalculator { align = align.max(st.align); Some(st) }) - .collect::>>()?; + .collect::>>()?; // Align the maximum variant size to the largest alignment. size = size.align_to(align.abi); @@ -759,7 +756,7 @@ pub trait LayoutCalculator { let FieldsShape::Arbitrary { ref offsets, .. } = layout_variant.fields else { panic!(); }; - let mut fields = iter::zip(field_layouts, offsets).filter(|p| !p.0.is_zst()); + let mut fields = iter::zip(field_layouts, offsets).filter(|p| !p.0.0.is_zst()); let (field, offset) = match (fields.next(), fields.next()) { (None, None) => { common_prim_initialized_in_all_variants = false; @@ -771,7 +768,7 @@ pub trait LayoutCalculator { break; } }; - let prim = match field.abi { + let prim = match field.abi() { Abi::Scalar(scalar) => { common_prim_initialized_in_all_variants &= matches!(scalar, Scalar::Initialized { .. }); @@ -802,7 +799,7 @@ pub trait LayoutCalculator { // Common prim might be uninit. Scalar::Union { value: prim } }; - let pair = self.scalar_pair::(tag, prim_scalar); + 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, &[0, 1]); @@ -862,9 +859,8 @@ pub trait LayoutCalculator { // 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)) - }; + 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, @@ -884,11 +880,11 @@ pub trait LayoutCalculator { Some(best_layout.layout) } - fn layout_of_union<'a, V: Idx, F: Deref> + Debug>( + fn layout_of_union( &self, repr: &ReprOptions, - variants: &IndexVec>, - ) -> Option> { + variants: &IndexVec>>, + ) -> Option { let dl = self.current_data_layout(); let dl = dl.borrow(); let mut align = if repr.pack.is_some() { dl.i8_align } else { dl.aggregate_align }; @@ -900,15 +896,15 @@ pub trait LayoutCalculator { let optimize = !repr.inhibit_union_abi_opt(); let mut size = Size::ZERO; let mut abi = Abi::Aggregate { sized: true }; - let index = V::new(0); + let index = VariantIdx::new(0); for field in &variants[index] { - assert!(field.is_sized()); - align = align.max(field.align); + assert!(field.0.is_sized()); + align = align.max(field.align()); // If all non-ZST fields have the same ABI, forward this ABI - if optimize && !field.is_zst() { + if optimize && !field.0.is_zst() { // Discard valid range information and allow undef - let field_abi = match field.abi { + let field_abi = match field.abi() { Abi::Scalar(x) => Abi::Scalar(x.to_union()), Abi::ScalarPair(x, y) => Abi::ScalarPair(x.to_union(), y.to_union()), Abi::Vector { element: x, count } => { @@ -926,7 +922,7 @@ pub trait LayoutCalculator { } } - size = cmp::max(size, field.size); + size = cmp::max(size, field.size()); } if let Some(pack) = repr.pack { diff --git a/compiler/rustc_abi/src/lib.rs b/compiler/rustc_abi/src/lib.rs index f4cb459f3..39574ca55 100644 --- a/compiler/rustc_abi/src/lib.rs +++ b/compiler/rustc_abi/src/lib.rs @@ -8,6 +8,7 @@ use std::ops::{Add, AddAssign, Mul, RangeInclusive, Sub}; use std::str::FromStr; use bitflags::bitflags; +use rustc_data_structures::intern::Interned; #[cfg(feature = "nightly")] use rustc_data_structures::stable_hasher::StableOrd; use rustc_index::vec::{Idx, IndexVec}; @@ -170,7 +171,9 @@ pub struct TargetDataLayout { pub instruction_address_space: AddressSpace, - /// Minimum size of #[repr(C)] enums (default I32 bits) + /// Minimum size of #[repr(C)] enums (default c_int::BITS, usually 32) + /// Note: This isn't in LLVM's data layout string, it is `short_enum` + /// so the only valid spec for LLVM is c_int::BITS or 8 pub c_enum_min_size: Integer, } @@ -267,6 +270,9 @@ impl TargetDataLayout { ["a", ref a @ ..] => dl.aggregate_align = align(a, "a")?, ["f32", ref a @ ..] => dl.f32_align = align(a, "f32")?, ["f64", ref a @ ..] => dl.f64_align = align(a, "f64")?, + // FIXME(erikdesjardins): we should be parsing nonzero address spaces + // this will require replacing TargetDataLayout::{pointer_size,pointer_align} + // with e.g. `fn pointer_size_in(AddressSpace)` [p @ "p", s, ref a @ ..] | [p @ "p0", s, ref a @ ..] => { dl.pointer_size = size(s, p)?; dl.pointer_align = align(a, p)?; @@ -861,7 +867,7 @@ pub enum Primitive { Int(Integer, bool), F32, F64, - Pointer, + Pointer(AddressSpace), } impl Primitive { @@ -872,7 +878,10 @@ impl Primitive { Int(i, _) => i.size(), F32 => Size::from_bits(32), F64 => Size::from_bits(64), - Pointer => dl.pointer_size, + // FIXME(erikdesjardins): ignoring address space is technically wrong, pointers in + // different address spaces can have different sizes + // (but TargetDataLayout doesn't currently parse that part of the DL string) + Pointer(_) => dl.pointer_size, } } @@ -883,26 +892,12 @@ impl Primitive { Int(i, _) => i.align(dl), F32 => dl.f32_align, F64 => dl.f64_align, - Pointer => dl.pointer_align, + // FIXME(erikdesjardins): ignoring address space is technically wrong, pointers in + // different address spaces can have different alignments + // (but TargetDataLayout doesn't currently parse that part of the DL string) + Pointer(_) => dl.pointer_align, } } - - // FIXME(eddyb) remove, it's trivial thanks to `matches!`. - #[inline] - pub fn is_float(self) -> bool { - matches!(self, F32 | F64) - } - - // FIXME(eddyb) remove, it's completely unused. - #[inline] - pub fn is_int(self) -> bool { - matches!(self, Int(..)) - } - - #[inline] - pub fn is_ptr(self) -> bool { - matches!(self, Pointer) - } } /// Inclusive wrap-around range of valid values, that is, if @@ -1188,7 +1183,8 @@ impl FieldsShape { /// An identifier that specifies the address space that some operation /// should operate on. Special address spaces have an effect on code generation, /// depending on the target and the address spaces it implements. -#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord)] +#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[cfg_attr(feature = "nightly", derive(HashStable_Generic))] pub struct AddressSpace(pub u32); impl AddressSpace { @@ -1257,9 +1253,9 @@ impl Abi { #[derive(PartialEq, Eq, Hash, Clone, Debug)] #[cfg_attr(feature = "nightly", derive(HashStable_Generic))] -pub enum Variants { +pub enum Variants { /// Single enum variants, structs/tuples, unions, and all non-ADTs. - Single { index: V }, + Single { index: VariantIdx }, /// Enum-likes with more than one inhabited variant: each variant comes with /// a *discriminant* (usually the same as the variant index but the user can @@ -1269,15 +1265,15 @@ pub enum Variants { /// For enums, the tag is the sole field of the layout. Multiple { tag: Scalar, - tag_encoding: TagEncoding, + tag_encoding: TagEncoding, tag_field: usize, - variants: IndexVec>, + variants: IndexVec, }, } #[derive(PartialEq, Eq, Hash, Clone, Debug)] #[cfg_attr(feature = "nightly", derive(HashStable_Generic))] -pub enum TagEncoding { +pub enum TagEncoding { /// The tag directly stores the discriminant, but possibly with a smaller layout /// (so converting the tag to the discriminant can require sign extension). Direct, @@ -1292,7 +1288,11 @@ pub enum TagEncoding { /// For example, `Option<(usize, &T)>` is represented such that /// `None` has a null pointer for the second tuple field, and /// `Some` is the identity function (with a non-null reference). - Niche { untagged_variant: V, niche_variants: RangeInclusive, niche_start: u128 }, + Niche { + untagged_variant: VariantIdx, + niche_variants: RangeInclusive, + niche_start: u128, + }, } #[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)] @@ -1379,9 +1379,14 @@ impl Niche { } } +rustc_index::newtype_index! { + #[derive(HashStable_Generic)] + pub struct VariantIdx {} +} + #[derive(PartialEq, Eq, Hash, Clone)] #[cfg_attr(feature = "nightly", derive(HashStable_Generic))] -pub struct LayoutS { +pub struct LayoutS { /// Says where the fields are located within the layout. pub fields: FieldsShape, @@ -1392,7 +1397,7 @@ pub struct LayoutS { /// /// To access all fields of this layout, both `fields` and the fields of the active variant /// must be taken into account. - pub variants: Variants, + pub variants: Variants, /// The `abi` defines how this data is passed between functions, and it defines /// value restrictions via `valid_range`. @@ -1411,13 +1416,13 @@ pub struct LayoutS { pub size: Size, } -impl LayoutS { +impl LayoutS { pub fn scalar(cx: &C, scalar: Scalar) -> Self { let largest_niche = Niche::from_scalar(cx, Size::ZERO, scalar); let size = scalar.size(cx); let align = scalar.align(cx); LayoutS { - variants: Variants::Single { index: V::new(0) }, + variants: Variants::Single { index: VariantIdx::new(0) }, fields: FieldsShape::Primitive, abi: Abi::Scalar(scalar), largest_niche, @@ -1427,7 +1432,7 @@ impl LayoutS { } } -impl fmt::Debug for LayoutS { +impl fmt::Debug for LayoutS { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { // This is how `Layout` used to print before it become // `Interned`. We print it like this to avoid having to update @@ -1444,42 +1449,63 @@ impl fmt::Debug for LayoutS { } } -#[derive(Copy, Clone, PartialEq, Eq, Debug)] -pub enum PointerKind { - /// Most general case, we know no restrictions to tell LLVM. - SharedMutable, +#[derive(Copy, Clone, PartialEq, Eq, Hash, HashStable_Generic)] +#[rustc_pass_by_value] +pub struct Layout<'a>(pub Interned<'a, LayoutS>); + +impl<'a> fmt::Debug for Layout<'a> { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + // See comment on `::fmt` above. + self.0.0.fmt(f) + } +} - /// `&T` where `T` contains no `UnsafeCell`, is `dereferenceable`, `noalias` and `readonly`. - Frozen, +impl<'a> Layout<'a> { + pub fn fields(self) -> &'a FieldsShape { + &self.0.0.fields + } - /// `&mut T` which is `dereferenceable` and `noalias` but not `readonly`. - UniqueBorrowed, + pub fn variants(self) -> &'a Variants { + &self.0.0.variants + } - /// `&mut !Unpin`, which is `dereferenceable` but neither `noalias` nor `readonly`. - UniqueBorrowedPinned, + pub fn abi(self) -> Abi { + self.0.0.abi + } + + pub fn largest_niche(self) -> Option { + self.0.0.largest_niche + } + + pub fn align(self) -> AbiAndPrefAlign { + self.0.0.align + } - /// `Box`, which is `noalias` (even on return types, unlike the above) but neither `readonly` - /// nor `dereferenceable`. - UniqueOwned, + pub fn size(self) -> Size { + self.0.0.size + } +} + +#[derive(Copy, Clone, PartialEq, Eq, Debug)] +pub enum PointerKind { + /// Shared reference. `frozen` indicates the absence of any `UnsafeCell`. + SharedRef { frozen: bool }, + /// Mutable reference. `unpin` indicates the absence of any pinned data. + MutableRef { unpin: bool }, + /// Box. `unpin` indicates the absence of any pinned data. + Box { unpin: bool }, } +/// Note that this information is advisory only, and backends are free to ignore it. +/// It can only be used to encode potential optimizations, but no critical information. #[derive(Copy, Clone, Debug)] pub struct PointeeInfo { pub size: Size, pub align: Align, pub safe: Option, - pub address_space: AddressSpace, -} - -/// Used in `might_permit_raw_init` to indicate the kind of initialisation -/// that is checked to be valid -#[derive(Copy, Clone, Debug, PartialEq, Eq)] -pub enum InitKind { - Zero, - UninitMitigated0x01Fill, } -impl LayoutS { +impl LayoutS { /// Returns `true` if the layout corresponds to an unsized type. pub fn is_unsized(&self) -> bool { self.abi.is_unsized() diff --git a/compiler/rustc_ast/Cargo.toml b/compiler/rustc_ast/Cargo.toml index 9253b7e68..f0632ac92 100644 --- a/compiler/rustc_ast/Cargo.toml +++ b/compiler/rustc_ast/Cargo.toml @@ -7,6 +7,7 @@ edition = "2021" [dependencies] bitflags = "1.2.1" +memchr = "2.5.0" rustc_data_structures = { path = "../rustc_data_structures" } rustc_index = { path = "../rustc_index" } rustc_lexer = { path = "../rustc_lexer" } @@ -14,5 +15,5 @@ rustc_macros = { path = "../rustc_macros" } rustc_serialize = { path = "../rustc_serialize" } rustc_span = { path = "../rustc_span" } smallvec = { version = "1.8.1", features = ["union", "may_dangle"] } -thin-vec = "0.2.9" +thin-vec = "0.2.12" tracing = "0.1" diff --git a/compiler/rustc_ast/src/ast.rs b/compiler/rustc_ast/src/ast.rs index 9317579f7..03c375c46 100644 --- a/compiler/rustc_ast/src/ast.rs +++ b/compiler/rustc_ast/src/ast.rs @@ -18,6 +18,7 @@ //! - [`Attribute`]: Metadata associated with item. //! - [`UnOp`], [`BinOp`], and [`BinOpKind`]: Unary and binary operators. +pub use crate::format::*; pub use crate::util::parser::ExprPrecedence; pub use GenericArgs::*; pub use UnsafeSource::*; @@ -208,7 +209,7 @@ pub struct AngleBracketedArgs { /// The overall span. pub span: Span, /// The comma separated parts in the `<...>`. - pub args: Vec, + pub args: ThinVec, } /// Either an argument for a parameter e.g., `'a`, `Vec`, `0`, @@ -252,7 +253,7 @@ pub struct ParenthesizedArgs { pub span: Span, /// `(A, B)` - pub inputs: Vec>, + pub inputs: ThinVec>, /// ```text /// Foo(A, B) -> C @@ -383,7 +384,7 @@ impl GenericParam { /// a function, enum, trait, etc. #[derive(Clone, Encodable, Decodable, Debug)] pub struct Generics { - pub params: Vec, + pub params: ThinVec, pub where_clause: WhereClause, pub span: Span, } @@ -391,7 +392,7 @@ pub struct Generics { impl Default for Generics { /// Creates an instance of `Generics`. fn default() -> Generics { - Generics { params: Vec::new(), where_clause: Default::default(), span: DUMMY_SP } + Generics { params: ThinVec::new(), where_clause: Default::default(), span: DUMMY_SP } } } @@ -402,13 +403,13 @@ pub struct WhereClause { /// if we parsed no predicates (e.g. `struct Foo where {}`). /// This allows us to pretty-print accurately. pub has_where_token: bool, - pub predicates: Vec, + pub predicates: ThinVec, pub span: Span, } impl Default for WhereClause { fn default() -> WhereClause { - WhereClause { has_where_token: false, predicates: Vec::new(), span: DUMMY_SP } + WhereClause { has_where_token: false, predicates: ThinVec::new(), span: DUMMY_SP } } } @@ -440,7 +441,7 @@ impl WherePredicate { pub struct WhereBoundPredicate { pub span: Span, /// Any generics from a `for` binding. - pub bound_generic_params: Vec, + pub bound_generic_params: ThinVec, /// The type being bounded. pub bounded_ty: P, /// Trait and lifetime bounds (`Clone + Send + 'static`). @@ -470,7 +471,7 @@ pub struct WhereEqPredicate { #[derive(Clone, Encodable, Decodable, Debug)] pub struct Crate { pub attrs: AttrVec, - pub items: Vec>, + pub items: ThinVec>, pub spans: ModSpans, /// Must be equal to `CRATE_NODE_ID` after the crate root is expanded, but may hold /// expansion placeholders or an unassigned value (`DUMMY_NODE_ID`) before that. @@ -502,7 +503,7 @@ pub enum MetaItemKind { /// List meta item. /// /// E.g., `#[derive(..)]`, where the field represents the `..`. - List(Vec), + List(ThinVec), /// Name value meta item. /// @@ -530,7 +531,7 @@ pub enum NestedMetaItem { #[derive(Clone, Encodable, Decodable, Debug)] pub struct Block { /// The statements in the block. - pub stmts: Vec, + pub stmts: ThinVec, pub id: NodeId, /// Distinguishes between `unsafe { ... }` and `{ ... }`. pub rules: BlockCheckMode, @@ -580,7 +581,7 @@ impl Pat { // A tuple pattern `(P0, .., Pn)` can be reparsed as `(T0, .., Tn)` // assuming `T0` to `Tn` are all syntactically valid as types. PatKind::Tuple(pats) => { - let mut tys = Vec::with_capacity(pats.len()); + let mut tys = ThinVec::with_capacity(pats.len()); // FIXME(#48994) - could just be collected into an Option for pat in pats { tys.push(pat.to_ty()?); @@ -721,14 +722,14 @@ pub enum PatKind { /// A struct or struct variant pattern (e.g., `Variant {x, y, ..}`). /// The `bool` is `true` in the presence of a `..`. - Struct(Option>, Path, Vec, /* recovered */ bool), + Struct(Option>, Path, ThinVec, /* recovered */ bool), /// A tuple struct/variant pattern (`Variant(x, y, .., z)`). - TupleStruct(Option>, Path, Vec>), + TupleStruct(Option>, Path, ThinVec>), /// An or-pattern `A | B | C`. /// Invariant: `pats.len() >= 2`. - Or(Vec>), + Or(ThinVec>), /// A possibly qualified path pattern. /// Unqualified path patterns `A::B::C` can legally refer to variants, structs, constants @@ -737,7 +738,7 @@ pub enum PatKind { Path(Option>, Path), /// A tuple pattern (`(a, b)`). - Tuple(Vec>), + Tuple(ThinVec>), /// A `box` pattern. Box(P), @@ -752,7 +753,7 @@ pub enum PatKind { Range(Option>, Option>, Spanned), /// A slice pattern `[a, b, c]`. - Slice(Vec>), + Slice(ThinVec>), /// A rest pattern `..`. /// @@ -1168,7 +1169,7 @@ impl Expr { pub fn to_bound(&self) -> Option { match &self.kind { ExprKind::Path(None, path) => Some(GenericBound::Trait( - PolyTraitRef::new(Vec::new(), path.clone(), self.span), + PolyTraitRef::new(ThinVec::new(), path.clone(), self.span), TraitBoundModifier::None, )), _ => None, @@ -1203,7 +1204,7 @@ impl Expr { ExprKind::Array(exprs) if exprs.len() == 1 => exprs[0].to_ty().map(TyKind::Slice)?, ExprKind::Tup(exprs) => { - let tys = exprs.iter().map(|expr| expr.to_ty()).collect::>>()?; + let tys = exprs.iter().map(|expr| expr.to_ty()).collect::>>()?; TyKind::Tup(tys) } @@ -1269,6 +1270,7 @@ impl Expr { ExprKind::Try(..) => ExprPrecedence::Try, ExprKind::Yield(..) => ExprPrecedence::Yield, ExprKind::Yeet(..) => ExprPrecedence::Yeet, + ExprKind::FormatArgs(..) => ExprPrecedence::FormatArgs, ExprKind::Err => ExprPrecedence::Err, } } @@ -1335,7 +1337,7 @@ pub struct MethodCall { /// The receiver, e.g. `x`. pub receiver: P, /// The arguments, e.g. `a, b, c`. - pub args: Vec>, + pub args: ThinVec>, /// The span of the function, without the dot and receiver e.g. `foo::(a, b, c)`. pub span: Span, @@ -1355,7 +1357,7 @@ pub enum StructRest { pub struct StructExpr { pub qself: Option>, pub path: Path, - pub fields: Vec, + pub fields: ThinVec, pub rest: StructRest, } @@ -1364,7 +1366,7 @@ pub enum ExprKind { /// A `box x` expression. Box(P), /// An array (`[a, b, c, d]`) - Array(Vec>), + Array(ThinVec>), /// Allow anonymous constants from an inline `const` block ConstBlock(AnonConst), /// A function call @@ -1373,11 +1375,11 @@ pub enum ExprKind { /// and the second field is the list of arguments. /// This also represents calling the constructor of /// tuple-like ADTs such as tuple structs and enum variants. - Call(P, Vec>), + Call(P, ThinVec>), /// A method call (e.g. `x.foo::(a, b, c)`). MethodCall(Box), /// A tuple (e.g., `(a, b, c, d)`). - Tup(Vec>), + Tup(ThinVec>), /// A binary operation (e.g., `a + b`, `a * b`). Binary(BinOp, P, P), /// A unary operation (e.g., `!x`, `*x`). @@ -1412,7 +1414,7 @@ pub enum ExprKind { /// `'label: loop { block }` Loop(P, Option