Skip to content

1u32 << 1u32 doesn't work #15223

@stepancheg

Description

@stepancheg

Code:

1u32 << 1u32

results in:

tmp.rs:2:13: 2:17 error: mismatched types: expected `uint` but found `u32` (expected uint but found u32)
tmp.rs:2     1u32 << 1u32;
                     ^~~~
error: aborting due to previous error

Not sure it is a bug, at least it worked several days ago.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions