mirror of
https://github.com/JakeStanger/universal-config-rs.git
synced 2026-07-11 13:15:57 +01:00
[GH-ISSUE #6] Invalid toml configs display wrong error location #3
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/universal-config-rs#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ToxicMushroom on GitHub (Nov 19, 2024).
Original GitHub issue: https://github.com/JakeStanger/universal-config-rs/issues/6
Example occurred with my ironbar config after upgrading recently:
Whilst this actually occurs on like 63
direction = "left_to_right"@JakeStanger commented on GitHub (Nov 19, 2024):
This is possibly a limitation of the
tomlcrate. Are you able to share the full config please?@ToxicMushroom commented on GitHub (Nov 20, 2024):
@JakeStanger commented on GitHub (Apr 14, 2025):
Sorry for the delay. I've just had a look into this.
The erroneous span is coming directly from the TOML crate, so there's nothing I can do about it. My best guess is it's related to Ironbar's use of
flattenand this issue https://github.com/toml-rs/toml/issues/589