aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-12-19 01:33:23 +0000
committerGitHub <[email protected]>2020-12-19 01:33:23 +0000
commite47e7a0143a537ef76b0f946dfc3ec56ed2e0507 (patch)
tree79031d647dc0b20f750d1f29163d78887f071171 /crates/hir_def/src
parent83a272582864bec707365dd196b07d5cfdf59dc6 (diff)
parent0ac75f89825478baf3ba744ccf4760e5918ec207 (diff)
Merge #6943
6943: Remove resolved FIXME r=jonas-schievink a=jonas-schievink bors r+ Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/hir_def/src')
-rw-r--r--crates/hir_def/src/attr.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/hir_def/src/attr.rs b/crates/hir_def/src/attr.rs
index 18525406c..d1ed23947 100644
--- a/crates/hir_def/src/attr.rs
+++ b/crates/hir_def/src/attr.rs
@@ -258,7 +258,6 @@ impl Attrs {
258 } 258 }
259 259
260 pub fn cfg(&self) -> Option<CfgExpr> { 260 pub fn cfg(&self) -> Option<CfgExpr> {
261 // FIXME: handle cfg_attr :-)
262 let mut cfgs = self.by_key("cfg").tt_values().map(CfgExpr::parse).collect::<Vec<_>>(); 261 let mut cfgs = self.by_key("cfg").tt_values().map(CfgExpr::parse).collect::<Vec<_>>();
263 match cfgs.len() { 262 match cfgs.len() {
264 0 => None, 263 0 => None,