Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 516866 Details for
Bug 645718
www-client/firefox-57.0.4 : error: unused import: std::ascii::AsciiExt
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix "unused import" error
firefox-allow-unused-imports.patch (text/plain), 9.73 KB, created by
Vladimir Gavrilov
on 2018-01-27 05:31:30 UTC
(
hide
)
Description:
Fix "unused import" error
Filename:
MIME Type:
Creator:
Vladimir Gavrilov
Created:
2018-01-27 05:31:30 UTC
Size:
9.73 KB
patch
obsolete
>diff -urN a/servo/components/selectors/parser.rs b/servo/components/selectors/parser.rs >--- a/servo/components/selectors/parser.rs 2018-01-27 04:45:24.251317189 +0000 >+++ b/servo/components/selectors/parser.rs 2018-01-27 04:46:32.052500931 +0000 >@@ -13,7 +13,7 @@ > use servo_arc::ThinArc; > use sink::Push; > use smallvec::SmallVec; >-use std::ascii::AsciiExt; >+#[allow(unused_imports)] use std::ascii::AsciiExt; > use std::borrow::{Borrow, Cow}; > use std::fmt::{self, Display, Debug, Write}; > use std::iter::Rev; >diff -urN a/servo/components/style/counter_style/mod.rs b/servo/components/style/counter_style/mod.rs >--- a/servo/components/style/counter_style/mod.rs 2018-01-27 04:45:24.339318725 +0000 >+++ b/servo/components/style/counter_style/mod.rs 2018-01-27 04:49:37.199733580 +0000 >@@ -15,7 +15,7 @@ > use parser::{ParserContext, ParserErrorContext, Parse}; > use selectors::parser::SelectorParseError; > use shared_lock::{SharedRwLockReadGuard, ToCssWithGuard}; >-use std::ascii::AsciiExt; >+#[allow(unused_imports)] use std::ascii::AsciiExt; > use std::borrow::Cow; > use std::fmt; > use std::ops::Range; >diff -urN a/servo/components/style/custom_properties.rs b/servo/components/style/custom_properties.rs >--- a/servo/components/style/custom_properties.rs 2018-01-27 04:45:24.335318655 +0000 >+++ b/servo/components/style/custom_properties.rs 2018-01-27 04:50:01.960165894 +0000 >@@ -14,7 +14,7 @@ > use selector_map::{PrecomputedHashSet, PrecomputedHashMap}; > use selectors::parser::SelectorParseError; > use servo_arc::Arc; >-use std::ascii::AsciiExt; >+#[allow(unused_imports)] use std::ascii::AsciiExt; > use std::borrow::{Borrow, Cow}; > use std::fmt; > use std::hash::Hash; >diff -urN a/servo/components/style/gecko_string_cache/mod.rs b/servo/components/style/gecko_string_cache/mod.rs >--- a/servo/components/style/gecko_string_cache/mod.rs 2018-01-27 04:45:24.383319493 +0000 >+++ b/servo/components/style/gecko_string_cache/mod.rs 2018-01-27 04:47:52.177899908 +0000 >@@ -13,7 +13,7 @@ > use gecko_bindings::structs::{nsIAtom, nsIAtom_AtomKind}; > use nsstring::{nsAString, nsString}; > use precomputed_hash::PrecomputedHash; >-use std::ascii::AsciiExt; >+#[allow(unused_imports)] use std::ascii::AsciiExt; > use std::borrow::{Cow, Borrow}; > use std::char::{self, DecodeUtf16}; > use std::fmt::{self, Write}; >diff -urN a/servo/components/style/str.rs b/servo/components/style/str.rs >--- a/servo/components/style/str.rs 2018-01-27 04:45:24.379319423 +0000 >+++ b/servo/components/style/str.rs 2018-01-27 04:50:19.048464255 +0000 >@@ -7,7 +7,7 @@ > #![deny(missing_docs)] > > use num_traits::ToPrimitive; >-use std::ascii::AsciiExt; >+#[allow(unused_imports)] use std::ascii::AsciiExt; > use std::borrow::Cow; > use std::convert::AsRef; > use std::iter::{Filter, Peekable}; >diff -urN a/servo/components/style/stylesheets/viewport_rule.rs b/servo/components/style/stylesheets/viewport_rule.rs >--- a/servo/components/style/stylesheets/viewport_rule.rs 2018-01-27 04:45:24.375319353 +0000 >+++ b/servo/components/style/stylesheets/viewport_rule.rs 2018-01-27 04:50:47.008952444 +0000 >@@ -20,7 +20,7 @@ > use rule_cache::RuleCacheConditions; > use selectors::parser::SelectorParseError; > use shared_lock::{SharedRwLockReadGuard, StylesheetGuards, ToCssWithGuard}; >-use std::ascii::AsciiExt; >+#[allow(unused_imports)] use std::ascii::AsciiExt; > use std::borrow::Cow; > use std::cell::RefCell; > use std::fmt; >diff -urN a/servo/components/style/values/mod.rs b/servo/components/style/values/mod.rs >--- a/servo/components/style/values/mod.rs 2018-01-27 04:45:24.331318585 +0000 >+++ b/servo/components/style/values/mod.rs 2018-01-27 04:51:03.577241725 +0000 >@@ -12,7 +12,7 @@ > pub use cssparser::{RGBA, Token, Parser, serialize_identifier, BasicParseError, CowRcStr}; > use parser::{Parse, ParserContext}; > use selectors::parser::SelectorParseError; >-use std::ascii::AsciiExt; >+#[allow(unused_imports)] use std::ascii::AsciiExt; > use std::fmt::{self, Debug}; > use std::hash; > use style_traits::{ToCss, ParseError, StyleParseError}; >diff -urN a/servo/components/style/values/specified/align.rs b/servo/components/style/values/specified/align.rs >--- a/servo/components/style/values/specified/align.rs 2018-01-27 04:45:24.331318585 +0000 >+++ b/servo/components/style/values/specified/align.rs 2018-01-27 04:51:42.577922674 +0000 >@@ -10,7 +10,7 @@ > use gecko_bindings::structs; > use parser::{Parse, ParserContext}; > use selectors::parser::SelectorParseError; >-use std::ascii::AsciiExt; >+#[allow(unused_imports)] use std::ascii::AsciiExt; > use std::fmt; > use style_traits::{ToCss, ParseError, StyleParseError}; > >diff -urN a/servo/components/style/values/specified/angle.rs b/servo/components/style/values/specified/angle.rs >--- a/servo/components/style/values/specified/angle.rs 2018-01-27 04:45:24.331318585 +0000 >+++ b/servo/components/style/values/specified/angle.rs 2018-01-27 04:51:54.658133592 +0000 >@@ -6,7 +6,7 @@ > > use cssparser::{Parser, Token, BasicParseError}; > use parser::{ParserContext, Parse}; >-use std::ascii::AsciiExt; >+#[allow(unused_imports)] use std::ascii::AsciiExt; > use std::fmt; > use style_traits::{ToCss, ParseError}; > use values::CSSFloat; >diff -urN a/servo/components/style/values/specified/calc.rs b/servo/components/style/values/specified/calc.rs >--- a/servo/components/style/values/specified/calc.rs 2018-01-27 04:45:24.335318655 +0000 >+++ b/servo/components/style/values/specified/calc.rs 2018-01-27 04:52:10.970418405 +0000 >@@ -8,7 +8,7 @@ > > use cssparser::{Parser, Token, BasicParseError}; > use parser::ParserContext; >-use std::ascii::AsciiExt; >+#[allow(unused_imports)] use std::ascii::AsciiExt; > use std::fmt; > use style_traits::{ToCss, ParseError, StyleParseError}; > use style_traits::values::specified::AllowedNumericType; >diff -urN a/servo/components/style/values/specified/grid.rs b/servo/components/style/values/specified/grid.rs >--- a/servo/components/style/values/specified/grid.rs 2018-01-27 04:45:24.331318585 +0000 >+++ b/servo/components/style/values/specified/grid.rs 2018-01-27 04:52:22.298616194 +0000 >@@ -7,7 +7,7 @@ > > use cssparser::{Parser, Token, BasicParseError}; > use parser::{Parse, ParserContext}; >-use std::ascii::AsciiExt; >+#[allow(unused_imports)] use std::ascii::AsciiExt; > use std::mem; > use style_traits::{ParseError, StyleParseError}; > use values::{CSSFloat, CustomIdent}; >diff -urN a/servo/components/style/values/specified/length.rs b/servo/components/style/values/specified/length.rs >--- a/servo/components/style/values/specified/length.rs 2018-01-27 04:45:24.335318655 +0000 >+++ b/servo/components/style/values/specified/length.rs 2018-01-27 04:52:42.778973780 +0000 >@@ -12,7 +12,7 @@ > use font_metrics::FontMetricsQueryResult; > use parser::{Parse, ParserContext}; > use std::{cmp, fmt, mem}; >-use std::ascii::AsciiExt; >+#[allow(unused_imports)] use std::ascii::AsciiExt; > use std::ops::{Add, Mul}; > use style_traits::{ToCss, ParseError, StyleParseError}; > use style_traits::values::specified::AllowedNumericType; >diff -urN a/servo/components/style/values/specified/mod.rs b/servo/components/style/values/specified/mod.rs >--- a/servo/components/style/values/specified/mod.rs 2018-01-27 04:45:24.331318585 +0000 >+++ b/servo/components/style/values/specified/mod.rs 2018-01-27 04:51:25.377622357 +0000 >@@ -11,7 +11,7 @@ > use cssparser::{Parser, Token, serialize_identifier, BasicParseError}; > use parser::{ParserContext, Parse}; > use self::url::SpecifiedUrl; >-use std::ascii::AsciiExt; >+#[allow(unused_imports)] use std::ascii::AsciiExt; > use std::f32; > use std::fmt; > use style_traits::{ToCss, ParseError, StyleParseError}; >diff -urN a/servo/components/style/values/specified/percentage.rs b/servo/components/style/values/specified/percentage.rs >--- a/servo/components/style/values/specified/percentage.rs 2018-01-27 04:45:24.335318655 +0000 >+++ b/servo/components/style/values/specified/percentage.rs 2018-01-27 04:52:55.691199226 +0000 >@@ -6,7 +6,7 @@ > > use cssparser::{BasicParseError, Parser, Token}; > use parser::{Parse, ParserContext}; >-use std::ascii::AsciiExt; >+#[allow(unused_imports)] use std::ascii::AsciiExt; > use std::fmt; > use style_traits::{ParseError, ToCss}; > use style_traits::values::specified::AllowedNumericType; >diff -urN a/servo/components/style/values/specified/text.rs b/servo/components/style/values/specified/text.rs >--- a/servo/components/style/values/specified/text.rs 2018-01-27 04:45:24.331318585 +0000 >+++ b/servo/components/style/values/specified/text.rs 2018-01-27 04:53:10.835463643 +0000 >@@ -7,7 +7,7 @@ > use cssparser::Parser; > use parser::{Parse, ParserContext}; > use selectors::parser::SelectorParseError; >-use std::ascii::AsciiExt; >+#[allow(unused_imports)] use std::ascii::AsciiExt; > use style_traits::ParseError; > use values::computed::{Context, ToComputedValue}; > use values::computed::text::LineHeight as ComputedLineHeight; >diff -urN a/servo/components/style/values/specified/time.rs b/servo/components/style/values/specified/time.rs >--- a/servo/components/style/values/specified/time.rs 2018-01-27 04:45:24.331318585 +0000 >+++ b/servo/components/style/values/specified/time.rs 2018-01-27 04:53:22.083660036 +0000 >@@ -6,7 +6,7 @@ > > use cssparser::{Parser, Token, BasicParseError}; > use parser::{ParserContext, Parse}; >-use std::ascii::AsciiExt; >+#[allow(unused_imports)] use std::ascii::AsciiExt; > use std::fmt; > use style_traits::{ToCss, ParseError, StyleParseError}; > use style_traits::values::specified::AllowedNumericType; >diff -urN a/servo/components/style_traits/viewport.rs b/servo/components/style_traits/viewport.rs >--- a/servo/components/style_traits/viewport.rs 2018-01-27 04:45:24.439320470 +0000 >+++ b/servo/components/style_traits/viewport.rs 2018-01-27 04:47:10.509172375 +0000 >@@ -7,7 +7,7 @@ > use {CSSPixel, PinchZoomFactor, ParseError}; > use cssparser::{Parser, ToCss, ParseError as CssParseError, BasicParseError}; > use euclid::TypedSize2D; >-use std::ascii::AsciiExt; >+#[allow(unused_imports)] use std::ascii::AsciiExt; > use std::fmt; > > define_css_keyword_enum!(UserZoom:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 645718
:
516580
|
516582
|
516584
|
516586
|
516588
|
516590
|
516592
| 516866