Bug 1508670 - [mozversion] Fix Rust code to be compatible with Rust 2018 edition. r=ato
authorHenrik Skupin <mail@hskupin.info>
Thu, 29 Nov 2018 20:43:52 +0000
changeset 508143 010ddcfda3180588d5b3cf830091e33e3e854da9
parent 508142 a359ecc0ef3a882673b5f64e15bfc7161b13088e
child 508144 03b632f92cded8208495b15dfbd3d8d046d9eb05
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersato
bugs1508670
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1508670 - [mozversion] Fix Rust code to be compatible with Rust 2018 edition. r=ato Depends on D13396 Differential Revision: https://phabricator.services.mozilla.com/D13397
testing/mozbase/rust/mozversion/src/lib.rs
--- a/testing/mozbase/rust/mozversion/src/lib.rs
+++ b/testing/mozbase/rust/mozversion/src/lib.rs
@@ -1,14 +1,14 @@
 extern crate ini;
 extern crate regex;
 extern crate semver;
 
+use crate::platform::ini_path;
 use ini::Ini;
-use platform::ini_path;
 use regex::Regex;
 use std::default::Default;
 use std::error;
 use std::fmt::{self, Display, Formatter};
 use std::path::Path;
 use std::str::FromStr;
 
 /// Details about the version of a Firefox build.