diff --git a/rr_frontend/.cargo/config.toml b/rr_frontend/.cargo/config.toml
index 9640f899a7b37a7d057bf754bba376e0c682fb4f..3b62dcb07aaab348e6b716e8a776a10f2a08f12d 100644
--- a/rr_frontend/.cargo/config.toml
+++ b/rr_frontend/.cargo/config.toml
@@ -21,7 +21,6 @@ rustflags = [
     "-Aunused_variables",
 
     # clippy::complexity
-    "-Aclippy::unnecessary_unwrap",
     "-Aclippy::useless_conversion",
     "-Aclippy::useless_format",
 
diff --git a/rr_frontend/translation/src/spec_parsers/const_attr_parser.rs b/rr_frontend/translation/src/spec_parsers/const_attr_parser.rs
index f4924365cf831e141ba2fab5d13022465e932ab1..c65c949fdf52e9f6571be119079a06b4571f2d5d 100644
--- a/rr_frontend/translation/src/spec_parsers/const_attr_parser.rs
+++ b/rr_frontend/translation/src/spec_parsers/const_attr_parser.rs
@@ -63,12 +63,11 @@ impl ConstAttrParser for VerboseConstAttrParser {
                 }
             }
         }
-        if name.is_none() {
-            Err(format!("no name attribute specified on const"))
+
+        if let Some(name) = name {
+            Ok(ConstAttrs { name })
         } else {
-            Ok(ConstAttrs {
-                name: name.unwrap(),
-            })
+            Err(format!("no name attribute specified on const"))
         }
     }
 }