Skip to content

Type mismatch with format! on the 2018 edition #11572

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

Closed
lnicola opened this issue Feb 27, 2022 · 0 comments
Closed

Type mismatch with format! on the 2018 edition #11572

lnicola opened this issue Feb 27, 2022 · 0 comments
Labels
A-macro macro expansion C-bug Category: bug S-actionable Someone could pick this issue up and work on it right now

Comments

@lnicola
Copy link
Member

lnicola commented Feb 27, 2022

fn main() {
    assert!(true, format!(""));
    // Expected &str, got String
}
@lnicola lnicola added A-macro macro expansion C-bug Category: bug S-actionable Someone could pick this issue up and work on it right now labels Feb 27, 2022
@Veykril Veykril closed this as completed Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-macro macro expansion C-bug Category: bug S-actionable Someone could pick this issue up and work on it right now
Projects
None yet
Development

No branches or pull requests

2 participants