rustc: "import" -> "use" in .rc files
This commit is contained in:
parent
ba94b64698
commit
47dac47e96
|
@ -26,6 +26,6 @@ use std(vers = "0.4");
|
|||
use rustc(vers = "0.4");
|
||||
use syntax(vers = "0.4");
|
||||
|
||||
import core::*;
|
||||
use core::*;
|
||||
|
||||
mod pgp;
|
||||
|
|
|
@ -10,7 +10,7 @@ use core(vers = "0.4");
|
|||
use std(vers = "0.4");
|
||||
use syntax(vers = "0.4");
|
||||
|
||||
import core::*;
|
||||
use core::*;
|
||||
|
||||
// Local Variables:
|
||||
// fill-column: 78;
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#[warn(non_camel_case_types)];
|
||||
|
||||
use core(vers = "0.4");
|
||||
import core::*;
|
||||
use core::*;
|
||||
|
||||
export net, net_tcp, net_ip, net_url;
|
||||
export uv, uv_ll, uv_iotask, uv_global_loop;
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
use core(vers = "0.4");
|
||||
use std(vers = "0.4");
|
||||
|
||||
import core::*;
|
||||
use core::*;
|
||||
|
||||
mod attr;
|
||||
mod diagnostic;
|
||||
|
|
|
@ -18,7 +18,7 @@ use core(vers = "0.4");
|
|||
use std(vers = "0.4");
|
||||
use syntax(vers = "0.4");
|
||||
|
||||
import core::*;
|
||||
use core::*;
|
||||
|
||||
/*
|
||||
Alternate names for some modules.
|
||||
|
@ -27,11 +27,11 @@ I am using this to help extract metadata into its own crate. In metadata.rs
|
|||
it redefines all these modules in order to gate access from metadata to the
|
||||
rest of the compiler, then uses these to access the original implementation.
|
||||
*/
|
||||
import util_ = util;
|
||||
import lib_ = lib;
|
||||
import driver_ = driver;
|
||||
import middle_ = middle;
|
||||
import back_ = back;
|
||||
use util_ = util;
|
||||
use lib_ = lib;
|
||||
use driver_ = driver;
|
||||
use middle_ = middle;
|
||||
use back_ = back;
|
||||
|
||||
mod middle {
|
||||
mod trans {
|
||||
|
|
Loading…
Reference in New Issue