diff options
| author | bors <bors@rust-lang.org> | 2023-06-28 20:02:00 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-28 20:02:00 +0000 |
| commit | ad434fc4acc071e07dc77d1b78c98e933b776e36 (patch) | |
| tree | 5645d6d0ef1095155a85b2d47d838950180cb7b9 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff | |
| parent | 38dd674eabd5b4d6ebf610f1d39ea9d2a22176ee (diff) | |
| parent | 7901538dc8a770e75ebecb6317471d8d16aeb038 (diff) | |
| download | rust-ad434fc4acc071e07dc77d1b78c98e933b776e36.tar.gz rust-ad434fc4acc071e07dc77d1b78c98e933b776e36.zip | |
Auto merge of #15157 - HKalbasi:tokio-test, r=HKalbasi
Fix runnable detection for `#[tokio::test]`
fix #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.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
