don't use 'static_in_const' feature as it's not yet in stable
@@ -347,7 +347,7 @@ use syn::*;
/// List of chars that some vendors use in their peripheral/field names but
/// that are not valid in Rust ident
-const BLACKLIST_CHARS: &[char] = &['(', ')'];
+const BLACKLIST_CHARS: &'static [char] = &['(', ')'];
trait ToSanitizedPascalCase {
fn to_sanitized_pascal_case(&self) -> Cow<str>;
