Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update toml from 0.5 to 0.8 #1152

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Conversation

dtolnay
Copy link
Member

@dtolnay dtolnay commented Dec 17, 2023

The toml crate has a much improved parser based on toml_edit, which produces more accurate error messages.

Before:

[ERROR rust_team] failed to parse teams/libs.toml
    
    Caused by:
        invalid type: map, expected a sequence for key `github` at line 53 column 1

After:

[ERROR rust_team] failed to parse teams/libs.toml
    
    Caused by:
        TOML parse error at line 20, column 1
           |
        20 | [github]
           | ^^^^^^^^
        invalid type: map, expected a sequence

@Mark-Simulacrum Mark-Simulacrum merged commit 0e6dbd2 into rust-lang:master Dec 18, 2023
1 check passed
@dtolnay dtolnay deleted the toml branch December 18, 2023 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants