Files
codeql/rust/ql/test/extractor-tests/generated/Meta/gen_meta.rs
Arthur Baars c44a7c3036 Rust: codegen
2025-05-30 22:56:04 +02:00

15 lines
405 B
Rust
Generated

// generated by codegen, do not edit
fn test_meta() -> () {
// A meta item in an attribute.
//
// For example:
#[unsafe(lint::name = "reason_for_bypass")]
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#[deprecated(since = "1.2.0", note = "Use bar instead", unsafe=true)]
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
fn foo() {
// ...
}
}