Skip to content

Enable trimmed paths #7798

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

Open
camsteffen opened this issue Oct 9, 2021 · 0 comments
Open

Enable trimmed paths #7798

camsteffen opened this issue Oct 9, 2021 · 0 comments
Labels
C-tracking-issue Category: Tracking Issue

Comments

@camsteffen
Copy link
Contributor

Blocked on #7797.

This was initially attempted in #7668.

We probably should write an internal lint to detect trimmed path invocations that would ICE if a lint is not emitted (e.g. it is allowed). This would work by finding Ty as Display usages like type.to_string() or tcx.def_path_str calls that occur outside of span_clippy_lint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: Tracking Issue
Projects
None yet
Development

No branches or pull requests

1 participant