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

builtin_macros: expect raw strings too #114014

Merged
merged 3 commits into from
Jul 25, 2023

Commits on Jul 24, 2023

  1. builtin_macros: expect raw strings too

    `expr_to_string` allows raw strings through so this code should be
    expected to handle those.
    
    Signed-off-by: David Wood <[email protected]>
    davidtwco committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    c06a7eb View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2023

  1. builtin_macros: raw str in diagnostic output

    If a raw string was used in the `env!` invocation, then it should also
    be shown in the diagnostic messages as a raw string.
    
    Signed-off-by: David Wood <[email protected]>
    davidtwco committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    75df62d View commit details
    Browse the repository at this point in the history
  2. clippy: env! invocations can't be b"" literals

    Signed-off-by: David Wood <[email protected]>
    davidtwco committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    516a565 View commit details
    Browse the repository at this point in the history