We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
b
bstringify!(foo)
Reduced testcase:
fn foo() -> bool { b"".starts_with(stringify!(foo)) }
Compiler output:
error[E0308]: mismatched types --> src/main.rs:2:21 | 2 | b"".starts_with(stringify!(foo)) | ^^^^^^^^^^^^^^^ | | | expected slice, found str | help: consider adding a leading `b`: `bstringify!(foo)` | = note: expected type `&[u8]` found type `&'static str`
The text was updated successfully, but these errors were encountered:
(duplicate of #48835 and #48364, I think)
Sorry, something went wrong.
Closing as duplicate of #48835. Thanks for the bug report anyway!
No branches or pull requests
Reduced testcase:
Compiler output:
The text was updated successfully, but these errors were encountered: