Skip to content

Conversation

Dominator008
Copy link
Contributor

"as this document" should be "than this document"

"as this document" should be "than this document"
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 17, 2023
Fix runnable detection for `#[tokio::test]`

fix rust-lang#15141

It is hacky, and it wouldn't work for e.g. this case:
```Rust
use ::core::prelude;

#[prelude::v1::test]
fn foo() {
}
```
But it works for the tokio case. We should use the name resolution here somehow, and after that we should probably also get rid of the ast based `test_related_attribute` function.
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.

1 participant