File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
compiler/rustc_attr_parsing/src Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -561,20 +561,6 @@ impl<'a> MetaItemListParser<'a> {
561561 self . len ( ) == 0
562562 }
563563
564- /// Asserts that every item in the list is another list starting with a word.
565- ///
566- /// See [`MetaItemParser::word`] for examples of words.
567- pub fn all_word_list < ' s > ( & ' s self ) -> Option < Vec < ( Ident , & ' s ArgParser < ' a > ) > > {
568- self . mixed ( ) . map ( |i| i. meta_item ( ) ?. word ( ) ) . collect ( )
569- }
570-
571- /// Asserts that every item in the list is another list starting with a full path.
572- ///
573- /// See [`MetaItemParser::path`] for examples of paths.
574- pub fn all_path_list < ' s > ( & ' s self ) -> Option < Vec < ( PathParser < ' a > , & ' s ArgParser < ' a > ) > > {
575- self . mixed ( ) . map ( |i| Some ( i. meta_item ( ) ?. path ( ) ) ) . collect ( )
576- }
577-
578564 /// Returns Some if the list contains only a single element.
579565 ///
580566 /// Inside the Some is the parser to parse this single element.
You can’t perform that action at this time.
0 commit comments