about summary refs log tree commit diff
path: root/tests/ui/async-await/recursive-async-auto-trait-overflow.rs
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-08-10 15:43:54 -0400
committerGitHub <noreply@github.com>2025-08-10 15:43:54 -0400
commitadf522cefb725ec14ed52d8304c6fb7f0f1f5041 (patch)
tree961bc12652997818c159765a2ec09adb5764d0e7 /tests/ui/async-await/recursive-async-auto-trait-overflow.rs
parent92bdf9e8ee1f4107f58ffcfac75cb984ed44fe95 (diff)
parent89b366955ecab610dd6392e183e83600bc02ba11 (diff)
downloadrust-adf522cefb725ec14ed52d8304c6fb7f0f1f5041.tar.gz
rust-adf522cefb725ec14ed52d8304c6fb7f0f1f5041.zip
Rollup merge of #145150 - ChrisDenton:inherit, r=Mark-Simulacrum
Replace unsafe `security_attributes` function with safe `inherit_handle` 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.

In the future we might want to expose the ability for users to set security attributes. But that should be properly designed (and safe!).
Diffstat (limited to 'tests/ui/async-await/recursive-async-auto-trait-overflow.rs')
0 files changed, 0 insertions, 0 deletions