INTERNAL: Do not use. 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() {
// ...
}
Import path
import codeql.rust.elements.internal.generated.RawIndirect supertypes
Predicates
| getExpr | Gets the expression of this meta, if it exists. |
| getPath | Gets the path of this meta, if it exists. |
| getTokenTree | Gets the token tree of this meta, if it exists. |
| isUnsafe | Holds if this meta is unsafe. |
| toString |