Commit 537bb27
committed
add code to handle new-style rustc errors
These errors are available on nightly builds (or will be soon), but
only (at the moment) when enabled via environment variable. They will
become the default at some point in the future.
In this commit we match on the `-->`, but after that we have to scroll
the compilation window to make the error visible. One shortcoming is
that if you enter the window and click on the filename/line-number, then
the "next-error-hook" doesn't seem to run. (If you click at the start of
the line, it does.) It may be possible to tweak the "hyperlink" here to
make that work more smoothly, or perhaps add a hook somewhere else.1 parent b23efef commit 537bb27
1 file changed
+35
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1381 | 1381 | | |
1382 | 1382 | | |
1383 | 1383 | | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
1384 | 1394 | | |
1385 | 1395 | | |
1386 | 1396 | | |
| |||
1390 | 1400 | | |
1391 | 1401 | | |
1392 | 1402 | | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
1393 | 1406 | | |
1394 | 1407 | | |
1395 | 1408 | | |
1396 | 1409 | | |
1397 | 1410 | | |
1398 | 1411 | | |
1399 | 1412 | | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
1400 | 1435 | | |
1401 | 1436 | | |
1402 | 1437 | | |
| |||
0 commit comments