-
-
Notifications
You must be signed in to change notification settings - Fork 147
Inaccuracies in errors #1108
Copy link
Copy link
Open
Description
use toml;
fn main() {
let toml = "x = 42_hello";
match toml::from_str::<toml::Value>(toml) {
Ok(value) => println!("Parsed: {value:#?}"),
Err(err) => eprintln!("Parse error: {err}"),
}
}Parse error: TOML parse error at line 1, column 8
|
1 | x = 42_hello
| ^^^^^
invalid float, expected nothingi think it should be an invalid integer here
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels