-
Notifications
You must be signed in to change notification settings - Fork 1.9k
multi-token mapping for runnables.rs (#10070) #10184
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
Conversation
|
r? @Veykril EDIT: sorry, never mind. |
jonas-schievink
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I haven't figured out a way to test this yet, since "Peek Related Tests" does not work on first and second in the following code:
fn first() {}
fn second() {}
macro_rules! m {
($test:ident -> $first:ident, $second:ident) => {
#[test]
fn $test() {
$first();
}
mod module {
#[test]
fn $test() {
crate::$second();
}
}
};
}
m!(abc -> first, second);
Does it depend on some other aspect of this ticket or another missing feature? |
I don't think it's part of #10070, but I'm not really sure what exactly the problem is either |
|
bors d+ Looks like CI will do the remaining review, feel free to r+ once that passes |
|
✌️ spookyvision can now approve this pull request. To approve and merge a pull request, simply reply with |
|
Squashing should fix the CI error. |
|
bors r+ |
10184: multi-token mapping for runnables.rs (#10070) r=spookyvision a=spookyvision implement #10070 in [`runnables`](https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/runnables.rs) Co-authored-by: Anatol Ulrich <anatol.ulrich@ferrous-systems.com> Co-authored-by: Anatol Ulrich <45840+spookyvision@users.noreply.github.com>
|
But you didn't squash.. |
sorry - how should I fix this now? |
|
bors r- |
|
Canceled. |
|
Untested: |
|
Umm, that didn't come out right. |
|
Ah, sorry, that should have been |
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
3d51632 to
ccd6756
Compare
sorry, I wasn't clear in my phrasing, I wanted to ask how to undo the bors action 😆 - that seems resolved after your (rebase help is also always appreciated, but I think I nailed it now, after making it much worse temporarily) |
|
bors r+ |
|
bors r- I already filed and r+ed #10188.
Oh, sorry. |
|
Canceled. |
implement #10070 in
runnables