Commit c44722b
committed
Make grammar::Error more verbose.
The carried `libloading::Error` is useful to debug actual issues occurring on
dependent projects — I had to adapt a bit of code in kak-tree-sitter to pinpoint
an issue while loading grammars with the wrong symbol (I was still trying to read
tree_sitter_<lang> while the API of tree-house sets the prefix on its own), and I
could have seen that right away if the {err} was present in the Display impl.1 parent bd161d9 commit c44722b
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
0 commit comments