Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Literal as result of paste #92

Merged
merged 4 commits into from
Dec 12, 2022
Merged

Support Literal as result of paste #92

merged 4 commits into from
Dec 12, 2022

Commits on Dec 12, 2022

  1. Add regression test for issue 91

    Currently fails with:
    
        error: `"1_u32"` is not a valid identifier
          --> tests/test_expr.rs:56:49
           |
        56 |                         [<vec_ $bit>].insert(0, [<1_u $bit>]);
           |                                                 ^^^^^^^^^^^^
        ...
        63 |     vec_insert!(32);
           |     --------------- in this macro invocation
           |
           = note: this error originates in the macro `vec_insert` (in Nightly builds, run with -Z macro-backtrace for more info)
    
        error[E0425]: cannot find function `vector_insert_32_bit` in this scope
          --> tests/test_expr.rs:64:5
           |
        64 |     vector_insert_32_bit(2);
           |     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
    dtolnay committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    5814fa7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8c15baf View commit details
    Browse the repository at this point in the history
  3. Simplify literal suffix test

    dtolnay committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    0ffe860 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b3b77f2 View commit details
    Browse the repository at this point in the history