We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
self
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
$ cat /tmp/test.rs use foo::{self}; $ rustfmt /tmp/test.rs --emit=stdout --config-path rustfmt.toml /tmp/test.rs: use foo::self;
The newly formatted code cannot compile because Rust requires self to appear within {}. Related: #3807.
{}
The text was updated successfully, but these errors were encountered:
Yup, indeed a bug. Will open a PR with a fix shortly
Sorry, something went wrong.
{self}
tests: add more merge_import tests for rust-lang#3808
634e244
use foo::{self}
merge_derives
Successfully merging a pull request may close this issue.
The newly formatted code cannot compile because Rust requires
self
to appear within{}
. Related: #3807.The text was updated successfully, but these errors were encountered: