Uh oh!
There was an error while loading. Please reload this page.
Remove unused abs_path method from rustc_span::source_map::FileLoader - #71263
Conversation
rust-highfive
commented
Apr 17, 2020
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nikomatsakis (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
shlevy
commented
Apr 17, 2020
I noticed this was unused, but I'm not sure if we want to keep it around for compatibility or not. |
2b8faca to
c7899a0CompareXanewok
commented
Apr 17, 2020
FWIW it's used by the RLS but the function is so trivial I'd be fine with removing this (in fact it is even reimplemented in the ipc bridge for of the RLS). |
shlevy
commented
Apr 17, 2020
@Xanewok Looks like it's only used to implement the method itself in a wrapper? 🙂 |
Xanewok
commented
Apr 17, 2020
bors
commented
Apr 17, 2020
📌 Commit c7899a0 has been approved by |
…r=Xanewok Remove unused abs_path method from rustc_span::source_map::FileLoader
Dylan-DPC-zz
commented
Apr 18, 2020
probably breaking rls in the rollup @bors r- |
Xanewok
commented
Apr 18, 2020
Is this no-breakage week for tools already? |
Dylan-DPC-zz
commented
Apr 18, 2020
Yep |
shlevy
commented
Apr 18, 2020
Sorry, does this mean we can't do this removal at all, or just that we have to wait a week? If we can't remove it, can we mark it deprecated/unused? |
Dylan-DPC-zz
commented
Apr 18, 2020
@shlevy just have to wait a week :) |
shlevy
commented
Apr 26, 2020
@Xanewok@Dylan-DPC Good to move forward? |
Xanewok
commented
Apr 26, 2020
I believe so, thanks @bors r+ |
bors
commented
Apr 26, 2020
📌 Commit c7899a0 has been approved by |
Rollup of 6 pull requests Successful merges: - rust-lang#68716 (Stabilize `Span::mixed_site`) - rust-lang#71263 (Remove unused abs_path method from rustc_span::source_map::FileLoader) - rust-lang#71409 (Point at the return type on `.into()` failure caused by `?`) - rust-lang#71419 (add message for resolution failure because wrong namespace) - rust-lang#71438 (Tweak some suggestions in `rustc_resolve`) - rust-lang#71589 (remove Unique::from for shared pointer types) Failed merges: r? @ghost
Breakage caused by rust-lang#71263.
Update RLS to unbreak toolstate Breakage caused by rust-lang#71263. r? @ghost
No description provided.