Commit abf8d01
committed
fix(yew-router): include route pattern and error in build_router panic
matchit has stricter conflict detection than route-recognizer, so
users migrating with ambiguous routes (e.g. `/{id}` and `/{name}`)
will hit this panic. The old message ("failed to insert route") gave
no indication of which route or why; now it shows both.1 parent 2101b96 commit abf8d01
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments