Files
rust/src
León Orell Valerian Liehr 1660db8082 Make resolved GAT paths induce trait object lifetime defaults for their own args (excl. self ty)
This automatically fixes trait object lifetime defaulting for trait refs
and trait alias refs, too.
These used to be broken because the index calculation for going from
middle generic args back to HIR ones didn't take into account the
implicit self ty param present on traits.

Moreover, in item signatures reject hidden trait object lifetime bounds
inside type-relative paths (excl. the self ty) on grounds of the default
being indeterminate.
2026-05-31 20:30:29 +02:00
..
…
…
…
…
…

This directory contains some source code for the Rust project, including:

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

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