Commit 8183c74
committed
auto merge of #8940 : pnkfelix/rust/fsk-8468-allow-underscore-paramname-in-trait-default-method, r=alexcrichton
Fix #8468. (Though the right answer in the end, as noted on the dialogue on the ticket, might be to just require trait methods to name their parameters, regardless of whether they have a default method implementation or not.)File tree
2 files changed
+26
-2
lines changed- src
- libsyntax/parse
- test/run-pass
2 files changed
+26
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
350 | 354 | | |
351 | 355 | | |
352 | 356 | | |
| |||
1242 | 1246 | | |
1243 | 1247 | | |
1244 | 1248 | | |
| 1249 | + | |
| 1250 | + | |
1245 | 1251 | | |
1246 | | - | |
| 1252 | + | |
1247 | 1253 | | |
1248 | 1254 | | |
1249 | | - | |
| 1255 | + | |
1250 | 1256 | | |
1251 | 1257 | | |
1252 | 1258 | | |
| |||
1256 | 1262 | | |
1257 | 1263 | | |
1258 | 1264 | | |
| 1265 | + | |
| 1266 | + | |
1259 | 1267 | | |
1260 | 1268 | | |
1261 | 1269 | | |
| |||
1266 | 1274 | | |
1267 | 1275 | | |
1268 | 1276 | | |
| 1277 | + | |
1269 | 1278 | | |
1270 | 1279 | | |
1271 | 1280 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments