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.
1 parent 23f890f commit 949874aCopy full SHA for 949874a
src/librustc/lint/mod.rs
@@ -646,11 +646,6 @@ impl LintBuffer {
646
pub fn take(&mut self, id: ast::NodeId) -> Vec<BufferedEarlyLint> {
647
self.map.remove(&id).unwrap_or_default()
648
}
649
-
650
- pub fn get_any(&self) -> Option<&[BufferedEarlyLint]> {
651
- let key = self.map.keys().next().map(|k| *k);
652
- key.map(|k| &self.map[&k][..])
653
- }
654
655
656
pub fn struct_lint_level<'a>(sess: &'a Session,
0 commit comments