Skip to content

Commit caf455a

Browse files
committed
Remove "Self" as a "type parameter" wrt scoping rules
See rust-lang/rust#112194.
1 parent e09e4a8 commit caf455a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

text/0000-return-position-impl-trait-in-traits.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ Formally, given a trait method with a return type like `-> impl A + ... + Z` and
187187

188188
* Concrete types, constant expressions, and `'static`
189189
* Any generic type and const parameters in scope, including:
190-
* `Self`
191190
* Type and const parameters on the impl
192191
* Explicit type and const parameters on the method
193192
* Implicit type parameters on the method (argument-position `impl Trait` types)

0 commit comments

Comments
 (0)