about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry/patchable-function-entry-attribute.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-03 12:44:21 +0000
committerbors <bors@rust-lang.org>2024-06-03 12:44:21 +0000
commitbdd2bd1925abca2a7277ec803f80e88e0630c715 (patch)
tree850f5dcad2b257f70eb1a4b05218a3c232c441e8 /tests/ui/patchable-function-entry/patchable-function-entry-attribute.rs
parentaf65ff500a3de0b9c295fab5e16e111431071a3c (diff)
parentee26bcb9ce4ce83009649ea16cf4452f6f977cbd (diff)
downloadrust-bdd2bd1925abca2a7277ec803f80e88e0630c715.tar.gz
rust-bdd2bd1925abca2a7277ec803f80e88e0630c715.zip
Auto merge of #17329 - Nilstrieb:rustc_deprecated_safe_2024, r=Veykril
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