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

pretty-print bounds in paths with no generic params #9264

Merged
merged 2 commits into from
Sep 18, 2013

Conversation

ben0x539
Copy link
Contributor

Since 3b6314c the pretty printer seems to only print trait bounds for ast::ty_path(...)s that have a generics arguments list. That seems wrong, so let's always print them.

Closes #9253, un-xfails test for #7673.

Since 3b6314c the pretty printer seems to only print trait bounds for
`ast::ty_path(...)`s that have a generics arguments list. That seems
wrong, so let's always print them.

Closes rust-lang#9253, un-xfails test for rust-lang#7673.
bors added a commit that referenced this pull request Sep 18, 2013
Since 3b6314c the pretty printer seems to only print trait bounds for `ast::ty_path(...)`s that have a generics arguments list. That seems wrong, so let's always print them.

Closes #9253, un-xfails test for #7673.
@bors bors closed this Sep 18, 2013
@bors bors merged commit 823ebb1 into rust-lang:master Sep 18, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Aug 11, 2022
Add `elapsed_instant` lint

Closes rust-lang#8603

- \[x] Followed [lint naming conventions][lint_naming]
- \[x] Added passing UI tests (including committed `.stderr` file)
- \[x] `cargo test` passes locally
- \[x] Executed `cargo dev update_lints`
- \[x] Added lint documentation
- \[x] Run `cargo dev fmt`

---

changelog: [`elapsed_instant`]: Add lint
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.

Pretty printer doesn't preserve built-in trait bounds on trait objects
3 participants