File tree
2,758 files changed
+38267
-24039
lines changed- .github/workflows
- compiler- rustc_arena/src
- rustc_ast_lowering- src
 
- rustc_ast_passes/src
- rustc_ast_pretty/src- pprust
 
- rustc_ast/src- util
 
- rustc_attr/src
- rustc_borrowck/src- constraints
- diagnostics
- polonius
- region_infer
- type_check
 
- rustc_builtin_macros/src
- rustc_codegen_cranelift- .github/workflows
- .vscode
- build_system
- patches
- src- abi
- debuginfo
- driver
- intrinsics
 
 
- rustc_codegen_gcc/src
- rustc_codegen_llvm- src- coverageinfo
- llvm
 
 
- rustc_codegen_ssa/src- back
- debuginfo
- mir
 
- rustc_const_eval/src- const_eval
- interpret
- transform- check_consts
 
- util
 
- rustc_data_structures/src
- rustc_driver_impl- src
 
- rustc_error_codes/src- error_codes
 
- rustc_error_messages/src
- rustc_errors- src
 
- rustc_expand/src- mbe
 
- rustc_feature/src
- rustc_fluent_macro/src
- rustc_fs_util/src
- rustc_graphviz/src
- rustc_hir_analysis- src- astconv
- check- compare_impl_item
 
- coherence
- collect
- structured_errors
- variance
 
 
- rustc_hir_pretty/src
- rustc_hir_typeck- src- fn_ctxt
- method
 
 
- rustc_hir/src
- rustc_incremental/src- persist
 
- rustc_index/src
- rustc_infer/src- errors
- infer- canonical
- error_reporting- nice_region_error
 
- lexical_region_resolve
- outlives
- relate
 
- traits/error_reporting
 
- rustc_interface/src
- rustc_lexer/src- unescape
 
- rustc_lint_defs/src
- rustc_lint/src- context
 
- rustc_llvm- llvm-wrapper
- src
 
- rustc_log/src
- rustc_macros- src- diagnostics
 
 
- rustc_metadata/src- rmeta- decoder
 
 
- rustc_middle/src- hir- map
 
- infer
- middle
- mir- interpret
 
- query
- traits
- ty- consts
- print
 
- util
 
- rustc_mir_build- src- build- expr
- matches
 
- thir- cx
- pattern
 
 
 
- rustc_mir_dataflow/src- move_paths
 
- rustc_mir_transform/src- coroutine
- coverage- spans
 
- inline
 
- rustc_monomorphize/src
- rustc_next_trait_solver/src
- rustc_parse_format/src
- rustc_parse- src- lexer
- parser
 
 
- rustc_passes- src
 
- rustc_pattern_analysis- src
 
- rustc_privacy- src
 
- rustc_query_impl/src
- rustc_query_system/src- dep_graph
 
- rustc_resolve- src- late
 
 
- rustc_serialize/src
- rustc_session/src
- rustc_smir/src- rustc_internal
- rustc_smir/convert
 
- rustc_span/src- source_map
 
- rustc_symbol_mangling/src- typeid
 
- rustc_target/src- abi/call
- spec- abi
- targets
 
 
- rustc_trait_selection/src- solve- assembly
- eval_ctxt
- normalizes_to
 
- traits- error_reporting
- query
- select
- specialize
 
 
- rustc_traits/src
- rustc_transmute/src
- rustc_ty_utils/src
- rustc_type_ir/src
- stable_mir/src- mir
 
 
- library- alloc- src- ffi
- sync
- vec
 
- tests
 
- core- src- array
- ascii
- char
- ffi
- iter/adapters
- net
- num
- ops
- ptr
- slice
- task
 
- tests
 
- portable-simd/crates/core_simd/src/vendor
- proc_macro/src/bridge
- std- src- collections/hash
- io- buffered
- error
 
- os- wasi_preview2
- wasi
- windows
 
- sys_common
- sys/pal- sgx
- teeos
- unix- locks
- process- process_unsupported
 
 
- wasi_preview2
- wasi
- windows
- xous/net
 
 
- tests
 
- test- src- helpers
 
 
 
- src- bootstrap- src- core- build_steps- setup
 
- builder
- config
 
- utils- change_tracker
- helpers
 
 
 
- ci- docker- host-x86_64- x86_64-gnu-integration
- x86_64-gnu-tools
 
 
- github-actions
- scripts
 
- doc- rustc/src- platform-support
 
- unstable-book/src- compiler-flags
- library-features
 
 
- etc/natvis
- librustdoc- clean
- html- render
- static- css
- js
 
 
- passes- lint
 
 
- tools- build-manifest/src
- clippy- book/src
- clippy_config/src
- clippy_dev- src
 
- clippy_lints- src- cargo
- casts
- doc
- loops
- methods
- operators
- transmute
- utils- internal_lints
 
 
 
- clippy_utils/src
- src
- tests- ui-cargo/multiple_crate_versions- 12145_with_dashes- src
 
- 12176_allow_duplicate_crates- src
 
 
- ui-internal
- ui-toml- pub_underscore_fields/exported
- toml_unknown_key
 
- ui- author
- auxiliary
- branches_sharing_code
- crashes
- doc
 
 
 
- compiletest/src
- error_index_generator
- miri- .github/workflows
- cargo-miri/src
- src- bin
- borrow_tracker
- shims- intrinsics
- unix- freebsd
- macos
 
 
 
- tests- fail
- pass-dep/shims
- pass- issues
- weak_memory
 
 
 
- rust-analyzer- .github/workflows
- crates- base-db- src
 
- cfg/src
- flycheck/src
- hir-def/src- body
- hir
- macro_expansion_tests- mbe
 
- nameres
 
- hir-expand/src
- hir-ty- src- diagnostics- match_check
 
- infer
- layout
- mir- eval- shim
 
- lower
 
- tests
 
 
- hir- src- semantics
 
 
- ide-assists- src- handlers
- tests
 
 
- ide-completion- src- completions
- context
- render
- tests
 
 
- ide-db/src- generated
- imports- insert_use
 
 
- ide-diagnostics- src- handlers
 
 
- ide-ssr/src
- ide/src- hover
- inlay_hints
 
- mbe/src- expander
 
- parser/src- grammar
 
- proc-macro-api/src
- proc-macro-srv-cli/src
- proc-macro-srv- proc-macro-test
- src- server
 
 
- profile- src
 
- project-model/src
- rust-analyzer- src- bin
- cli
- handlers
- lsp
- tracing
 
- tests/slow-tests
 
- span/src
- stdx- src
 
- syntax- src- ast
 
 
- test-utils- src
 
 
- docs- dev
- user
 
- editors/code- src
 
- lib/lsp-server/src
- xtask/src
 
- rustfmt/src/parse
- tidy/src
 
 
- tests- assembly- targets
 
- codegen-units/item-collection
- codegen- cffi
 
- coverage
- debuginfo
- incremental- const-generics- try_unify_abstract_const_regression_tests
 
- hashes
- hygiene/auxiliary
 
- mir-opt- building
- dataflow-const-prop
- inline
- instsimplify
- pre-codegen
- sroa
 
- pretty
- run-make- rust-lld-custom-target
- rustdoc-target-spec-json-path
- symbol-mangling-hashed
- target-specs
 
- rustdoc-ui- issues
- lints
 
- rustdoc
- ui-fulldeps- internal-lints
- session-diagnostic
 
- ui- abi
- anon-params
- array-slice-vec
- asm- aarch64
 
- associated-consts
- associated-inherent-types
- associated-type-bounds- return-type-notation
 
- associated-types
- async-await- async-closures- auxiliary
 
- async-fn
- in-trait- auxiliary
 
- issues
 
- auto-traits
- binding
- binop
- block-result
- box/unit
- builtin-superkinds
- cast
- check-cfg
- closure-expected-type
- closures- 2229_closure_analysis- diagnostics/borrowck
- match
- run_pass
 
- binder
 
- cmse-nonsecure/cmse-nonsecure-entry
- codegen
- coercion
- coherence- occurs-check
 
- const-generics- adt_const_params
- defaults
- generic_arg_infer
- generic_const_exprs
- issues
- late-bound-vars
 
- consts- const-blocks
- const-eval- stable-metric
 
- const_in_pattern
- control-flow
 
- coroutine- print
 
- delegation
- derives
- deriving
- diagnostic-width
- did_you_mean
- drop
- dst
- dyn-keyword
- dynamically-sized-types
- enum-discriminant
- enum
- error-codes
- errors- trait-bound-error-spans
- traits
 
- explicit-tail-calls
- explicit
- expr/if
- extenv
- extern-flag
- extern
- feature-gates
- fmt
- fn
- for
- function-pointer
- generic-associated-types- extended
 
- generic-const-items
- generics
- half-open-range-patterns
- higher-ranked- subtype
- trait-bounds- normalize-under-binder
 
 
- hygiene
- impl-trait- in-trait
 
- imports
- indexing
- inference- need_type_info
 
- infinite
- inline-const
- interior-mutability
- internal
- invalid
- issues- issue-1920-absolute-paths- auxiliary
 
- issue-23302-enum-infinite-recursion
- issue-32122-deref-coercions-composition
- issue-3668-non-constant-value-in-constant
- issue-40510-captured-variable-return
- issue-57741-dereference-boxed-value
- issue-5997-outer-generic-parameter
- issue-71676-suggest-deref
- issue-76077-inaccesible-private-fields
 
- iterators
- kindck
- lang-items
- layout
- lazy-type-alias
- lifetimes- lifetime-errors
 
- lint- dead-code
- force-warn
- rfc-2383-lint-reason
 
- liveness
- loops
- macros
- malformed
- marker_trait_attr
- match
- methods- issues
 
- mir- validate
 
- mismatched_types
- modules
- moves
- mut
- never_type
- nll
- not-panic
- numbers-arithmetic
- object-safety
- offset-of
- on-unimplemented
- or-patterns
- overloaded
- panic-handler
- parallel-rustc
- parser- attribute
- issues
- recover
 
- pattern- bindings-after-at
- usefulness
 
- pin-macro
- precondition-checks
- print_type_sizes
- privacy- sealed-traits
 
- proc-macro- auxiliary
 
- range
- recursion
- regions
- reserved
- resolve
- rfcs- rfc-0000-never_patterns
- rfc-1445-restrict-constants-in-patterns
- rfc-1937-termination-trait
- rfc-2027-object-safe-for-dispatch
- rfc-2091-track-caller
- rfc-2361-dbg-macro
- rfc-2396-target_feature-11
- rfc-2397-do-not-recommend
- rfc-2632-const-trait-impl
 
- rust-2018
- self
- sized
- span
- specialization- defaultimpl
- min_specialization
 
- stability-attribute
- statics
- static
- stats
- stdlib-unit-tests
- structs-enums- enum-rec
 
- str
- suggestions- lifetimes
 
- symbol-mangling-version
- symbol-names
- sync
- test-attrs
- threads-sendsync
- trait-bounds
- traits- alias
- bound
- default-method
- inductive-overflow
- negative-impls
- next-solver- alias-relate
- assembly
- coherence
- overflow
 
- non_lifetime_binders
- object
- suggest-dereferences
- trait-upcasting
- wf-object
 
- transmutability
- treat-err-as-bug
- try-block
- try-trait
- type-alias-enum-variants
- type-alias-impl-trait
- typeck
- typeof
- type
- ufcs
- unboxed-closures
- underscore-lifetime
- uninhabited
- union
- unsafe
- unsized-locals
- unsized
- variance
- wf
- where-clauses
 
 
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
2,758 files changed
+38267
-24039
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
|  | |||
| 28 | 28 |  | |
| 29 | 29 |  | |
| 30 | 30 |  | |
|  | 31 | + | |
| 31 | 32 |  | |
| 32 | 33 |  | |
| 33 | 34 |  | |
|  | |||
| 42 | 43 |  | |
| 43 | 44 |  | |
| 44 | 45 |  | |
|  | 46 | + | |
| 45 | 47 |  | |
| 46 | 48 |  | |
| 47 | 49 |  | |
|  | |||
| 172 | 174 |  | |
| 173 | 175 |  | |
| 174 | 176 |  | |
|  | 177 | + | |
| 175 | 178 |  | |
| 176 | 179 |  | |
| 177 | 180 |  | |
|  | |||
| 291 | 294 |  | |
| 292 | 295 |  | |
| 293 | 296 |  | |
| 294 |  | - | |
|  | 297 | + | |
| 295 | 298 |  | |
| 296 | 299 |  | |
| 297 | 300 |  | |
|  | |||
| 316 | 319 |  | |
| 317 | 320 |  | |
| 318 | 321 |  | |
| 319 |  | - | |
|  | 322 | + | |
| 320 | 323 |  | |
| 321 | 324 |  | |
| 322 | 325 |  | |
|  | |||
| 329 | 332 |  | |
| 330 | 333 |  | |
| 331 | 334 |  | |
| 332 |  | - | |
|  | 335 | + | |
| 333 | 336 |  | |
| 334 | 337 |  | |
| 335 | 338 |  | |
|  | |||
| 340 | 343 |  | |
| 341 | 344 |  | |
| 342 | 345 |  | |
| 343 |  | - | |
|  | 346 | + | |
| 344 | 347 |  | |
| 345 | 348 |  | |
| 346 | 349 |  | |
|  | |||
| 351 | 354 |  | |
| 352 | 355 |  | |
| 353 | 356 |  | |
| 354 |  | - | |
|  | 357 | + | |
| 355 | 358 |  | |
| 356 | 359 |  | |
| 357 | 360 |  | |
|  | |||
| 361 | 364 |  | |
| 362 | 365 |  | |
| 363 | 366 |  | |
| 364 |  | - | |
| 365 |  | - | |
|  | 367 | + | |
|  | 368 | + | |
| 366 | 369 |  | |
| 367 | 370 |  | |
| 368 | 371 |  | |
|  | |||
| 372 | 375 |  | |
| 373 | 376 |  | |
| 374 | 377 |  | |
| 375 |  | - | |
| 376 |  | - | |
|  | 378 | + | |
|  | 379 | + | |
|  | 380 | + | |
|  | 381 | + | |
|  | 382 | + | |
|  | 383 | + | |
|  | 384 | + | |
|  | 385 | + | |
|  | 386 | + | |
|  | 387 | + | |
|  | 388 | + | |
|  | 389 | + | |
|  | 390 | + | |
|  | 391 | + | |
| 377 | 392 |  | |
| 378 | 393 |  | |
| 379 | 394 |  | |
|  | |||
| 554 | 569 |  | |
| 555 | 570 |  | |
| 556 | 571 |  | |
|  | 572 | + | |
| 557 | 573 |  | |
| 558 | 574 |  | |
| 559 | 575 |  | |
|  | |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
|  | |||
| 37 | 37 |  | |
| 38 | 38 |  | |
| 39 | 39 |  | |
| 40 |  | - | |
|  | 40 | + | |
| 41 | 41 |  | |
| 42 |  | - | |
|  | 42 | + | |
| 43 | 43 |  | |
| 44 | 44 |  | |
| 45 | 45 |  | |
|  | |||
| 382 | 382 |  | |
| 383 | 383 |  | |
| 384 | 384 |  | |
| 385 |  | - | |
|  | 385 | + | |
| 386 | 386 |  | |
| 387 |  | - | |
|  | 387 | + | |
| 388 | 388 |  | |
| 389 | 389 |  | |
| 390 | 390 |  | |
|  | |||
| 596 | 596 |  | |
| 597 | 597 |  | |
| 598 | 598 |  | |
| 599 |  | - | |
|  | 599 | + | |
| 600 | 600 |  | |
| 601 | 601 |  | |
| 602 | 602 |  | |
| 603 |  | - | |
|  | 603 | + | |
| 604 | 604 |  | |
| 605 | 605 |  | |
| 606 | 606 |  | |
|  | |||
| 610 | 610 |  | |
| 611 | 611 |  | |
| 612 | 612 |  | |
| 613 |  | - | |
|  | 613 | + | |
| 614 | 614 |  | |
| 615 | 615 |  | |
| 616 | 616 |  | |
|  | |||
| 1268 | 1268 |  | |
| 1269 | 1269 |  | |
| 1270 | 1270 |  | |
| 1271 |  | - | |
| 1272 | 1271 |  | |
| 1273 | 1272 |  | |
| 1274 | 1273 |  | |
|  | |||
| 2170 | 2169 |  | |
| 2171 | 2170 |  | |
| 2172 | 2171 |  | |
| 2173 |  | - | |
|  | 2172 | + | |
| 2174 | 2173 |  | |
| 2175 |  | - | |
|  | 2174 | + | |
| 2176 | 2175 |  | |
| 2177 | 2176 |  | |
| 2178 | 2177 |  | |
|  | |||
| 2351 | 2350 |  | |
| 2352 | 2351 |  | |
| 2353 | 2352 |  | |
| 2354 |  | - | |
|  | 2353 | + | |
| 2355 | 2354 |  | |
| 2356 | 2355 |  | |
| 2357 | 2356 |  | |
|  | |||
| 2596 | 2595 |  | |
| 2597 | 2596 |  | |
| 2598 | 2597 |  | |
| 2599 |  | - | |
|  | 2598 | + | |
| 2600 | 2599 |  | |
| 2601 |  | - | |
|  | 2600 | + | |
| 2602 | 2601 |  | |
| 2603 | 2602 |  | |
| 2604 | 2603 |  | |
|  | |||
| 2626 | 2625 |  | |
| 2627 | 2626 |  | |
| 2628 | 2627 |  | |
| 2629 |  | - | |
| 2630 |  | - | |
| 2631 |  | - | |
| 2632 |  | - | |
| 2633 |  | - | |
| 2634 |  | - | |
| 2635 |  | - | |
| 2636 |  | - | |
| 2637 |  | - | |
| 2638 |  | - | |
| 2639 | 2628 |  | |
| 2640 | 2629 |  | |
| 2641 | 2630 |  | |
|  | |||
| 3014 | 3003 |  | |
| 3015 | 3004 |  | |
| 3016 | 3005 |  | |
| 3017 |  | - | |
|  | 3006 | + | |
| 3018 | 3007 |  | |
| 3019 |  | - | |
|  | 3008 | + | |
| 3020 | 3009 |  | |
| 3021 |  | - | |
|  | 3010 | + | |
| 3022 | 3011 |  | |
| 3023 | 3012 |  | |
| 3024 | 3013 |  | |
|  | |||
| 3711 | 3700 |  | |
| 3712 | 3701 |  | |
| 3713 | 3702 |  | |
| 3714 |  | - | |
| 3715 | 3703 |  | |
| 3716 | 3704 |  | |
| 3717 | 3705 |  | |
|  | |||
| 3784 | 3772 |  | |
| 3785 | 3773 |  | |
| 3786 | 3774 |  | |
|  | 3775 | + | |
| 3787 | 3776 |  | |
| 3788 | 3777 |  | |
| 3789 | 3778 |  | |
|  | 3779 | + | |
| 3790 | 3780 |  | |
| 3791 | 3781 |  | |
| 3792 | 3782 |  | |
|  | |||
| 4352 | 4342 |  | |
| 4353 | 4343 |  | |
| 4354 | 4344 |  | |
| 4355 |  | - | |
| 4356 | 4345 |  | |
| 4357 | 4346 |  | |
| 4358 | 4347 |  | |
|  | |||
| 4385 | 4374 |  | |
| 4386 | 4375 |  | |
| 4387 | 4376 |  | |
|  | 4377 | + | |
| 4388 | 4378 |  | |
| 4389 | 4379 |  | |
| 4390 | 4380 |  | |
|  | |||
| 4797 | 4787 |  | |
| 4798 | 4788 |  | |
| 4799 | 4789 |  | |
| 4800 |  | - | |
|  | 4790 | + | |
| 4801 | 4791 |  | |
| 4802 |  | - | |
|  | 4792 | + | |
| 4803 | 4793 |  | |
| 4804 | 4794 |  | |
| 4805 |  | - | |
|  | 4795 | + | |
| 4806 | 4796 |  | |
| 4807 | 4797 |  | |
| 4808 | 4798 |  | |
|  | |||
| 5332 | 5322 |  | |
| 5333 | 5323 |  | |
| 5334 | 5324 |  | |
|  | 5325 | + | |
| 5335 | 5326 |  | |
| 5336 | 5327 |  | |
| 5337 | 5328 |  | |
|  | |||
| 5365 | 5356 |  | |
| 5366 | 5357 |  | |
| 5367 | 5358 |  | |
| 5368 |  | - | |
| 5369 |  | - | |
| 5370 |  | - | |
| 5371 |  | - | |
| 5372 |  | - | |
| 5373 |  | - | |
| 5374 |  | - | |
| 5375 |  | - | |
| 5376 |  | - | |
| 5377 |  | - | |
| 5378 |  | - | |
| 5379 |  | - | |
| 5380 |  | - | |
| 5381 |  | - | |
| 5382 |  | - | |
| 5383 |  | - | |
| 5384 |  | - | |
| 5385 |  | - | |
| 5386 |  | - | |
| 5387 |  | - | |
| 5388 | 5359 |  | |
| 5389 | 5360 |  | |
| 5390 | 5361 |  | |
|  | |||
| 5757 | 5728 |  | |
| 5758 | 5729 |  | |
| 5759 | 5730 |  | |
| 5760 |  | - | |
|  | 5731 | + | |
| 5761 | 5732 |  | |
| 5762 |  | - | |
|  | 5733 | + | |
| 5763 | 5734 |  | |
| 5764 | 5735 |  | |
| 5765 | 5736 |  | |
| 5766 | 5737 |  | |
| 5767 | 5738 |  | |
| 5768 | 5739 |  | |
| 5769 | 5740 |  | |
| 5770 |  | - | |
|  | 5741 | + | |
| 5771 | 5742 |  | |
| 5772 |  | - | |
|  | 5743 | + | |
| 5773 | 5744 |  | |
| 5774 | 5745 |  | |
| 5775 | 5746 |  | |
| 5776 | 5747 |  | |
| 5777 | 5748 |  | |
| 5778 | 5749 |  | |
| 5779 |  | - | |
|  | 5750 | + | |
| 5780 | 5751 |  | |
| 5781 |  | - | |
|  | 5752 | + | |
| 5782 | 5753 |  | |
| 5783 | 5754 |  | |
| 5784 | 5755 |  | |
|  | |||
| 5788 | 5759 |  | |
| 5789 | 5760 |  | |
| 5790 | 5761 |  | |
| 5791 |  | - | |
|  | 5762 | + | |
| 5792 | 5763 |  | |
| 5793 |  | - | |
|  | 5764 | + | |
| 5794 | 5765 |  | |
| 5795 | 5766 |  | |
| 5796 | 5767 |  | |
| 5797 |  | - | |
|  | 5768 | + | |
| 5798 | 5769 |  | |
| 5799 | 5770 |  | |
| 5800 | 5771 |  | |
|  | |||
| 6437 | 6408 |  | |
| 6438 | 6409 |  | |
| 6439 | 6410 |  | |
| 6440 |  | - | |
|  | 6411 | + | |
| 6441 | 6412 |  | |
| 6442 |  | - | |
|  | 6413 | + | |
| 6443 | 6414 |  | |
| 6444 | 6415 |  | |
| 6445 | 6416 |  | |
| 6446 | 6417 |  | |
| 6447 | 6418 |  | |
| 6448 | 6419 |  | |
| 6449 |  | - | |
|  | 6420 | + | |
| 6450 | 6421 |  | |
| 6451 |  | - | |
|  | 6422 | + | |
| 6452 | 6423 |  | |
| 6453 | 6424 |  | |
| 6454 | 6425 |  | |
|  | |||
0 commit comments