Commit e598b43
committed
Rollup merge of rust-lang#30997 - bluss:trait-default, r=nikomatsakis
Fix type parameter default error to mention type and trait definitions
Introduced in PR rust-lang#30724, needs to mention that type parameter defaults
are legal in trait and type definitions too.1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1918 | 1918 | | |
1919 | 1919 | | |
1920 | 1920 | | |
1921 | | - | |
1922 | | - | |
| 1921 | + | |
| 1922 | + | |
1923 | 1923 | | |
1924 | 1924 | | |
1925 | 1925 | | |
| |||
0 commit comments