rust/src
Yuki Okushi b263b7e64c
Rollup merge of #102338 - compiler-errors:assoc-ty-binding-in-assoc-ty-binding, r=cjgillot
Deny associated type bindings within associated type bindings

Fixes #102335

This was made worse by #100865, which unified the way we generate substs for GATs and non-generic associated types. However, the issue was not _caused_ by #100865, evidenced by the test I added for GATs:

```rust
trait T {
    type A: S<C<(), i32 = ()> = ()>;
    //~^ ERROR associated type bindings are not allowed here
}

trait Q {}

trait S {
    type C<T>: Q;
}

fn main() {}
```

^ which passes on beta (where GATs are stable) and presumably ever since GATs support was added to `create_substs_for_associated_item` in astconv.
2022-09-28 13:07:18 +09:00
..
bootstrap fix check_cfg 2022-09-26 10:14:48 +02:00
ci Auto merge of #98483 - dvtkrlbs:bootstrap-dist, r=jyn514 2022-09-24 20:00:51 +00:00
doc Rollup merge of #101997 - cuviper:drop-legacy-pm, r=nikic 2022-09-25 22:06:38 +08:00
etc Remove check_missing_items.py 2022-09-14 16:14:15 +01:00
librustdoc Rollup merge of #102369 - GuillaumeGomez:results-colors, r=notriddle 2022-09-27 21:42:25 +02:00
llvm-project@670e5f673a Update LLVM submodule 2022-09-02 10:18:12 +02:00
rustdoc-json-types Rustdoc-Json: List impls for primitives 2022-09-26 18:06:48 +01:00
test Rollup merge of #102338 - compiler-errors:assoc-ty-binding-in-assoc-ty-binding, r=cjgillot 2022-09-28 13:07:18 +09:00
tools Rollup merge of #102232 - Urgau:stabilize-bench_black_box, r=TaKO8Ki 2022-09-28 13:07:17 +09: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.