We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ArgParser::list
1 parent ec3f438 commit efed69eCopy full SHA for efed69e
1 file changed
compiler/rustc_attr_parsing/src/parser.rs
@@ -176,6 +176,7 @@ impl ArgParser {
176
///
177
/// - `#[allow(clippy::complexity)]`: `(clippy::complexity)` is a list
178
/// - `#[rustfmt::skip::macros(target_macro_name)]`: `(target_macro_name)` is a list
179
+ #[deprecated = "use `AcceptContext::single_element_list` instead"]
180
pub fn list(&self) -> Option<&MetaItemListParser> {
181
match self {
182
Self::List(l) => Some(l),
0 commit comments