-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Fix missing impl trait display as ret type #53541
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
3f6f8ef
to
8cbae59
Compare
8cbae59
to
e67bba8
Compare
LGTM, I think, r? @oli-obk |
@bors r+ rollup |
📌 Commit e67bba8 has been approved by |
Rollup of 10 pull requests Successful merges: - #53418 (Mark some suggestions as MachineApplicable) - #53431 (Moved some feature gate ui tests to correct location) - #53442 (Update version of rls-data used with save-analysis) - #53504 (Set applicability for more suggestions.) - #53541 (Fix missing impl trait display as ret type) - #53544 (Point at the trait argument when using unboxed closure) - #53558 (Normalize source line and column numbers.) - #53562 (Lament the invincibility of the Turbofish) - #53574 (Suggest direct raw-pointer dereference) - #53585 (Remove super old comment on function that parses items) Failed merges: - #53472 (Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc.) - #53563 (use String::new() instead of String::from(""), "".to_string(), "".to_owned() or "".into()) r? @ghost
I need to convert a
TraitPredicate
into aTraitBound
to get the returned impl trait. So far, didn't find how or even if it was the good way to do it.cc @eddyb @oli-obk (since you're the one behind the change apparently 😉)