Skip to content

compile error for one line repeated 11 times #17291

Closed
@makoConstruct

Description

@makoConstruct
fn main() {
    for i in range(0, 30) {
    }
}

says

2:11: 2:16 error: cannot determine a type for this bounded type parameter: cannot determine the type of this integer; add a suffix to specify the type explicitly
2   for i in range(0, 30) {
             ^~~~~

11 times.

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