Skip to content

Missing error message #33262

Closed
Closed
@tbtlr

Description

@tbtlr

After some refactoring of quite a large code base I accidentally ended up with code similar to this:

for i in 0..a as {
  ...
}

Which fails with an error at compile time, but no error message nor line indication whatsoever.

Steps to reproduce: https://play.rust-lang.org/?gist=292a681d9c575bf728805b0c24e4e25a&version=stable&backtrace=0

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions