Skip to main content

Module attribute

Module attribute 

Source
Expand description

Completion for (built-in) attributes, derives and lints.

This module uses a bit of static metadata to provide completions for builtin-in attributes and lints.

Modulesยง

cfg ๐Ÿ”’
Completion for cfg
derive ๐Ÿ”’
Completion for derives
diagnostic ๐Ÿ”’
Completion for diagnostic attributes.
feature ๐Ÿ”’
Completion for features
lint ๐Ÿ”’
Completion for lints
macro_use ๐Ÿ”’
Completion for macros in #[macro_use(...)]
repr ๐Ÿ”’
Completion for representations.

Macrosยง

attrs ๐Ÿ”’

Structsยง

AttrCompletion ๐Ÿ”’

Constantsยง

ATTRIBUTES ๐Ÿ”’
https://doc.rust-lang.org/reference/attributes.html#built-in-attributes-index
EXPR_ATTRIBUTES ๐Ÿ”’

Staticsยง

KIND_TO_ATTRIBUTES ๐Ÿ”’

Functionsยง

attr ๐Ÿ”’
complete_attribute_path ๐Ÿ”’
complete_known_attribute_input ๐Ÿ”’
Complete inputs to known builtin attributes as well as derive attributes
parse_comma_sep_expr ๐Ÿ”’