about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-06-28 20:02:00 +0000
committerbors <bors@rust-lang.org>2023-06-28 20:02:00 +0000
commitad434fc4acc071e07dc77d1b78c98e933b776e36 (patch)
tree5645d6d0ef1095155a85b2d47d838950180cb7b9 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
parent38dd674eabd5b4d6ebf610f1d39ea9d2a22176ee (diff)
parent7901538dc8a770e75ebecb6317471d8d16aeb038 (diff)
downloadrust-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