diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2024-06-02 14:56:38 +0200 |
|---|---|---|
| committer | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2024-06-02 15:04:26 +0200 |
| commit | ee26bcb9ce4ce83009649ea16cf4452f6f977cbd (patch) | |
| tree | 6a97bd6666d95d1e5e42d6e421c2493f7f18ffbf /tests/ui/patchable-function-entry/patchable-function-entry-attribute.rs | |
| parent | 4717bdfc1343953b770887460d5822c87e434d97 (diff) | |
| download | rust-ee26bcb9ce4ce83009649ea16cf4452f6f977cbd.tar.gz rust-ee26bcb9ce4ce83009649ea16cf4452f6f977cbd.zip | |
Don't mark `#[rustc_deprecated_safe_2024]` functions as unsafe
`std::env::set_var` will be unsafe in edition 2024, but not before it. I couldn't quite figure out how to check for the span properly, so for now we just turn the false positives into false negatives, which are less bad.
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-attribute.rs')
0 files changed, 0 insertions, 0 deletions
