Skip to content

Incomplete inline tables should say either key or } is needed #296

@epage

Description

@epage

Cargo has a test case with a multi-line inline table. The error message is

  TOML parse error at line 8, column 27
    |
  8 |                 native = {
    |                           ^
  Unexpected `
  `
  Expected `key`

A } is also expected.

See rust-lang/cargo#10086

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-errorArea: Error reportingA-parseArea: Parsing TOMLC-bugCategory: Things not working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions