Skip to content

Add a path to the parent dir of rustfmt.toml as a prefix to paths in ignore #3522

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

Merged
merged 3 commits into from
Apr 24, 2019

Conversation

topecongiro
Copy link
Contributor

@topecongiro topecongiro commented Apr 22, 2019

Paths users specify in ignore configuraiton option is relative to the
directory which contains the rustfmt.toml file. When processing the ignore paths
internally, rustfmt should add a path to the directory as a prefix since
RealPath passed from libsyntax is a full path.

Closes #3521.

Paths users specify in `ignore` configuraiton option is relative to the
directory which contains the rustfmt.toml file. When processing the ignore paths
internally, rustfmt should add a path to the directory as a  prefix since
RealPath passed from libsyntax is a full path.
@topecongiro topecongiro merged commit aeb556e into rust-lang:master Apr 24, 2019
@topecongiro topecongiro deleted the issue-3521 branch April 24, 2019 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ignore configuration option not working as expected
1 participant