Rollup merge of #69847 - GuillaumeGomez:cleanup-e0393, r=Dylan-DPC
clean up E0393 explanation r? @Dylan-DPC
This commit is contained in:
commit
6f1db996c1
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
A type parameter which references `Self` in its default value was not specified.
|
||||
Example of erroneous code:
|
||||
|
||||
Erroneous code example:
|
||||
|
||||
```compile_fail,E0393
|
||||
trait A<T=Self> {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue