Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Hygiene breaks add_one! macro #15

Closed
@dtolnay

Description

@dtolnay

The add_one! example from the readme works with nightly-2017-12-02 but not nightly-2017-12-03.

   Compiling example v0.0.0
error[E0425]: cannot find value `x` in this scope
 --> src/main.rs:8:16
  |
8 |     let nine = add_one!(x) + add_one!(2 + 3);
  |                ^^^^^^^^^^^ not found in this scope
  |

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions