[−][src]Crate tag_safe
Provides a lint that warns/errors when a function calls a method that is marked with a particular kind of unsafety.
Four attributes are used to allow functions to be marked.
#[not_safe(tags)]
- Marks a function as not being safe for the given tags#[is_safe(tags)]
- Marks the function as being safe for the given tags (despite what it does internally)#[tagged_safe(tag="file")]
Loads a list of tagged functions for an extern crate from a file.#[req_safe(tags)]
- Enables linting this function for use the given tags
Functions
plugin_registrar |