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
While filing #102427, I noticed rustfmt erases dyn* from types.
dyn*
Input:
#![feature(dyn_star)] #![allow(incomplete_features)] use std::fmt::Display; fn make_dyn_star() -> dyn* Display { Box::new(42) as dyn* Display } fn main() { let x = make_dyn_star(); println!("{x}"); }
Output:
#![feature(dyn_star)] #![allow(incomplete_features)] use std::fmt::Display; fn make_dyn_star() -> Display { Box::new(42) as Display } fn main() { let x = make_dyn_star(); println!("{x}"); }
Expected: The input should not have changed because it was already formatted correctly.
The text was updated successfully, but these errors were encountered:
See also rust-lang/rustfmt#5542
Sorry, something went wrong.
Let's close this. We do not use this repository to track work for rustfmt, similar to many of the other dev tools
Sounds good!
No branches or pull requests
While filing #102427, I noticed rustfmt erases
dyn*
from types.Input:
Output:
Expected: The input should not have changed because it was already formatted correctly.
The text was updated successfully, but these errors were encountered: