SIGN IN SIGN UP
rust-lang / rust UNCLAIMED

Empowering everyone to build reliable and efficient software.

0 0 65 Rust

Rollup merge of #148447 - estebank:outer-param-2, r=jackh726

Tweak E0401

More accurate span pointing at use place of outer param (at ident instead of full path).

Add note explaining why outer item params can't be used in inner item.

Use structured suggestion for what `Self` should have been.

Follow up to rust-lang/rust#148370.

Fix rust-lang/rust#37892.
M
Matthias Krüger committed
bcf227a99fafae89e20ccf5fabd5b7942491a2c7
Committed by GitHub <noreply@github.com> on 11/3/2025, 8:20:24 PM