fix: Convince Rust we're using a must_use value in a panicking test
parent
5d0fd1c603
commit
b21ef26d24
|
|
@ -566,6 +566,6 @@ mod tests {
|
|||
#[test]
|
||||
#[should_panic(expected = "string must be [0-9a-z_]+ got: \"foo bar\"")]
|
||||
fn illegal_attribute_name() {
|
||||
Attributes::from(&[("foo bar", "value")]);
|
||||
let _ = Attributes::from(&[("foo bar", "value")]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue