mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
15 lines
405 B
Rust
Generated
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() {
|
|
// ...
|
|
}
|
|
}
|