Commit 3f05b1f
committed
don't return a
this gives a more helpful backtrace if it fails
before:
```
thread 'main' panicked at 'symlink_dir_force(&builder.config, &out, &out_dir) failed with No such file or directory (os error 2)', doc.rs:697:9
```
after:
```
thread 'main' panicked at 'symlink_dir(config, original, link) failed with No such file or directory (os error 2) ("failed to create link from /home/jyn/src/rust2/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/doc -> /home/jyn/src/rust2/build/x86_64-unknown-linux-gnu/compiler-doc")', doc.rs:975:5
```Result from symlink_dir_force1 parent c57eb1b commit 3f05b1f
1 file changed
+11
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
694 | 693 | | |
695 | 694 | | |
696 | 695 | | |
697 | | - | |
| 696 | + | |
698 | 697 | | |
699 | 698 | | |
700 | 699 | | |
701 | | - | |
| 700 | + | |
702 | 701 | | |
703 | 702 | | |
704 | 703 | | |
| |||
816 | 815 | | |
817 | 816 | | |
818 | 817 | | |
819 | | - | |
| 818 | + | |
820 | 819 | | |
821 | 820 | | |
822 | 821 | | |
| |||
959 | 958 | | |
960 | 959 | | |
961 | 960 | | |
962 | | - | |
| 961 | + | |
963 | 962 | | |
964 | | - | |
| 963 | + | |
965 | 964 | | |
966 | 965 | | |
967 | 966 | | |
968 | | - | |
| 967 | + | |
969 | 968 | | |
970 | 969 | | |
971 | 970 | | |
972 | | - | |
| 971 | + | |
973 | 972 | | |
974 | 973 | | |
975 | 974 | | |
976 | | - | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
977 | 979 | | |
978 | 980 | | |
979 | 981 | | |
| |||
0 commit comments