diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-08-26 20:09:19 +0000 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-09-12 22:34:16 +0200 |
commit | 53cd37ce39213cc49c058a4cfa576c0499a86c00 (patch) | |
tree | 7eddbd996f53ab0a558bc96b34dc0ccf1ba45952 /components/style | |
parent | b0f3a68a6cb38823dba8556be91d8486e08eec78 (diff) | |
download | servo-53cd37ce39213cc49c058a4cfa576c0499a86c00.tar.gz servo-53cd37ce39213cc49c058a4cfa576c0499a86c00.zip |
style: Remove old warning allow which is no longer relevant.
-moz-appearance uses cbindgen since a long time ago.
Differential Revision: https://phabricator.services.mozilla.com/D43472
Diffstat (limited to 'components/style')
-rw-r--r-- | components/style/properties/gecko.mako.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs index 7739014410e..8de2861f263 100644 --- a/components/style/properties/gecko.mako.rs +++ b/components/style/properties/gecko.mako.rs @@ -345,10 +345,7 @@ def set_gecko_property(ffi_name, expr): </%def> <%def name="impl_keyword_clone(ident, gecko_ffi_name, keyword, cast_type='u8')"> - // FIXME: We introduced non_upper_case_globals for -moz-appearance only - // since the prefix of Gecko value starts with ThemeWidgetType_NS_THEME. - // We should remove this after fix bug 1371809. - #[allow(non_snake_case, non_upper_case_globals)] + #[allow(non_snake_case)] pub fn clone_${ident}(&self) -> longhands::${ident}::computed_value::T { use crate::properties::longhands::${ident}::computed_value::T as Keyword; // FIXME(bholley): Align binary representations and ditch |match| for cast + static_asserts |