rust/src
Yuki Okushi 6383540130
Rollup merge of #103382 - compiler-errors:anon-apit-lt-region-ice, r=cjgillot
Don't ICE when reporting borrowck errors involving regions from `anonymous_lifetime_in_impl_trait`

The issue here is that when we have:

```
trait Trait<'a> { .. }

fn foo(arg: impl Trait) { .. }
```

The anonymous lifetime `'_` that we generate for `arg: impl Trait` doesn't end up in the argument type (which is a param) but in a where-clause of the function, in a predicate whose self type is that param ty.

Fixes #101660

r? ``@cjgillot``
2022-10-25 08:01:28 +09:00
..
bootstrap Rollup merge of #103347 - RalfJung:rustc-src, r=Mark-Simulacrum 2022-10-23 14:48:16 -07:00
ci Auto merge of #103062 - cuviper:dist-mips, r=Mark-Simulacrum 2022-10-23 21:38:43 +00:00
doc Introduce dedicated -Zdylib-lto flag for enabling LTO on dylibs 2022-10-23 13:48:03 +02:00
etc Rollup merge of #102092 - kxxt:patch-1, r=joshtriplett 2022-10-14 23:43:42 +02:00
librustdoc Rollup merge of #99939 - saethlin:pre-sort-tests, r=thomcc,jackh726 2022-10-24 19:32:25 +09:00
llvm-project@4b85255772 Update LLVM submodule 2022-10-23 13:48:03 +02:00
rustdoc-json-types Rustdoc-Json: List impls for primitives 2022-09-26 18:06:48 +01:00
test Rollup merge of #103382 - compiler-errors:anon-apit-lt-region-ice, r=cjgillot 2022-10-25 08:01:28 +09:00
tools Auto merge of #103337 - flip1995:clippyup, r=Manishearth 2022-10-24 16:50:15 +00:00
README.md Remove miri from the submodule list and require it for CI to pass 2022-09-21 15:35:53 +00:00
stage0.json bump stage0 2022-09-26 10:13:46 +02:00
version bump version to 1.66.0 2022-09-16 10:51:09 +02:00

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

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

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