diff options
| author | Chris Denton <chris@chrisdenton.dev> | 2025-08-09 07:02:01 +0000 |
|---|---|---|
| committer | Chris Denton <chris@chrisdenton.dev> | 2025-08-09 07:05:12 +0000 |
| commit | 89b366955ecab610dd6392e183e83600bc02ba11 (patch) | |
| tree | 0a1731317b793c403bf4f72c3fb5db96f7369e28 /tests/ui/async-await/recursive-async-auto-trait-overflow.rs | |
| parent | 6d091b2baa33698682453c7bb72809554204e434 (diff) | |
| download | rust-89b366955ecab610dd6392e183e83600bc02ba11.tar.gz rust-89b366955ecab610dd6392e183e83600bc02ba11.zip | |
Replace unsafe function with safe alternative
The `security_attributes` function is marked as safe despite taking a raw pointer which will later be used. Fortunately this function is only used internally and only in one place that has been basically the same for a decade now. However, we only ever set one bool so it's easy enough to replace with something that's actually safe.
Diffstat (limited to 'tests/ui/async-await/recursive-async-auto-trait-overflow.rs')
0 files changed, 0 insertions, 0 deletions
