rust/src
Matthias Krüger 6c94f99d83
Rollup merge of #92875 - BoxyUwU:infer_arg_opt_const_param_of, r=lcnr
Make `opt_const_param_of` work in the presence of `GenericArg::Infer`

highly recommend viewing the first and second commits on their own rather than looking at file changes 🤣

Because we filtered args down to just const args we would ignore `GenericArg::Infer` which made us get a `arg_index` which was wrong by however many const `GenericArg::Infer` came previously

[example](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=46dba6a53aca6333028a10908ef16e0b) of the [bugs](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=a8eebced26eefa4119fc2e7ae0c76de6) fixed.

r? ```@lcnr```
2022-01-15 02:25:20 +01:00
..
bootstrap Rollup merge of #92589 - ChrisDenton:break-loop, r=Mark-Simulacrum 2022-01-06 23:15:20 +01:00
build_helper Migrate to 2021 2021-09-20 22:21:42 -04:00
ci Add note about upstream commit musl-patch-configure.diff is derived from 2022-01-10 10:41:31 -05:00
doc Rollup merge of #92818 - GuillaumeGomez:update-doc-cfg-doc, r=camelid 2022-01-14 07:47:35 +01:00
etc Implement @snapshot check for htmldocck 2021-12-01 15:12:10 -08:00
librustdoc Rollup merge of #92868 - pierwill:librustdoc-clippy, r=camelid 2022-01-15 02:25:19 +01:00
llvm-project@6b3dbcc81a Backport LLVM changes to disable deferred inlining 2021-12-19 23:49:03 +02:00
rustdoc-json-types Moved format-version constant to rustdoc-json-types 2021-10-15 12:27:42 +03:00
test Rollup merge of #92875 - BoxyUwU:infer_arg_opt_const_param_of, r=lcnr 2022-01-15 02:25:20 +01:00
tools Rollup merge of #92849 - flip1995:clippyup, r=Manishearth 2022-01-14 07:47:37 +01:00
README.md
stage0.json Bump bootstrap compiler 2021-11-30 10:44:21 -05:00
version bump version to 1.60.0 2022-01-07 10:04:15 +01:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.