Skip to content
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

Use a backslash escaping heuristic to keep non-path backslashes around #89

Closed
oli-obk opened this issue Jun 26, 2023 · 0 comments · Fixed by #102
Closed

Use a backslash escaping heuristic to keep non-path backslashes around #89

oli-obk opened this issue Jun 26, 2023 · 0 comments · Fixed by #102

Comments

@oli-obk
Copy link
Owner

oli-obk commented Jun 26, 2023

rust-lang/rust-clippy#10426 (comment)

Could we adapt the path heuristic from rust's compiletest here? I think it would need support in ui_test as it uses a non string Replacer

It would be nice to have non path backslashes stay as backslashes as that frequently confuses people writing tests

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 a pull request may close this issue.

1 participant