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 rustc(vers = "0.4");
|
||||||
use syntax(vers = "0.4");
|
use syntax(vers = "0.4");
|
||||||
|
|
||||||
import core::*;
|
use core::*;
|
||||||
|
|
||||||
mod pgp;
|
mod pgp;
|
||||||
|
@ -10,7 +10,7 @@ use core(vers = "0.4");
|
|||||||
use std(vers = "0.4");
|
use std(vers = "0.4");
|
||||||
use syntax(vers = "0.4");
|
use syntax(vers = "0.4");
|
||||||
|
|
||||||
import core::*;
|
use core::*;
|
||||||
|
|
||||||
// Local Variables:
|
// Local Variables:
|
||||||
// fill-column: 78;
|
// fill-column: 78;
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#[warn(non_camel_case_types)];
|
#[warn(non_camel_case_types)];
|
||||||
|
|
||||||
use core(vers = "0.4");
|
use core(vers = "0.4");
|
||||||
import core::*;
|
use core::*;
|
||||||
|
|
||||||
export net, net_tcp, net_ip, net_url;
|
export net, net_tcp, net_ip, net_url;
|
||||||
export uv, uv_ll, uv_iotask, uv_global_loop;
|
export uv, uv_ll, uv_iotask, uv_global_loop;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
use core(vers = "0.4");
|
use core(vers = "0.4");
|
||||||
use std(vers = "0.4");
|
use std(vers = "0.4");
|
||||||
|
|
||||||
import core::*;
|
use core::*;
|
||||||
|
|
||||||
mod attr;
|
mod attr;
|
||||||
mod diagnostic;
|
mod diagnostic;
|
||||||
|
@ -18,7 +18,7 @@ use core(vers = "0.4");
|
|||||||
use std(vers = "0.4");
|
use std(vers = "0.4");
|
||||||
use syntax(vers = "0.4");
|
use syntax(vers = "0.4");
|
||||||
|
|
||||||
import core::*;
|
use core::*;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Alternate names for some modules.
|
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
|
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.
|
rest of the compiler, then uses these to access the original implementation.
|
||||||
*/
|
*/
|
||||||
import util_ = util;
|
use util_ = util;
|
||||||
import lib_ = lib;
|
use lib_ = lib;
|
||||||
import driver_ = driver;
|
use driver_ = driver;
|
||||||
import middle_ = middle;
|
use middle_ = middle;
|
||||||
import back_ = back;
|
use back_ = back;
|
||||||
|
|
||||||
mod middle {
|
mod middle {
|
||||||
mod trans {
|
mod trans {
|
||||||
|
Loading…
Reference in New Issue
Block a user