Commit 39c4312
committed
Add test file
Add test file
Add changes & test results
Add stderr reference file
Move break to correct position. Failing test added from tests in ui
Update compiler/rustc_hir_typeck/src/method/suggest.rs
Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
Update compiler/rustc_hir_typeck/src/method/suggest.rs
Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
Match to find Error type: BadReturnType
Print info
whitespace
fmt
Use probe_name_for_many
Revert probe.rs
Update .stderr
Update compiler/rustc_hir_typeck/src/method/suggest.rs
Add span.note - this pottlues other tests
span_labels
add span_label
Ignore candidtes beyond the scope of current context
Move check to end of function to filter out methods with better context errors
Whiteline
Format
Remove mutation check
Whitespace
Fmt again1 parent c3ae470 commit 39c4312
File tree
4 files changed
+69
-2
lines changed- compiler/rustc_hir_typeck/src/method
- tests/ui
- structs
- suggestions
4 files changed
+69
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
487 | 486 | | |
488 | 487 | | |
489 | 488 | | |
| |||
1240 | 1239 | | |
1241 | 1240 | | |
1242 | 1241 | | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
1243 | 1265 | | |
| 1266 | + | |
| 1267 | + | |
1244 | 1268 | | |
1245 | 1269 | | |
1246 | 1270 | | |
| |||
| 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 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
0 commit comments