rustc: "import" -> "use" in .rc files

This commit is contained in:
Patrick Walton 2012-09-05 11:46:25 -07:00
parent ba94b64698
commit 47dac47e96
5 changed files with 10 additions and 10 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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 {