diff --git a/src/librustc/middle/trans/base.rs b/src/librustc/middle/trans/base.rs index 55cf1ae23b8fc..26700b83c9f1e 100644 --- a/src/librustc/middle/trans/base.rs +++ b/src/librustc/middle/trans/base.rs @@ -804,9 +804,9 @@ pub fn invoke(bcx: block, llfn: ValueRef, +llargs: ~[ValueRef]) -> block { if bcx.unreachable { return bcx; } match bcx.node_info { - None => error!("invoke at ???"), + None => debug!("invoke at ???"), Some(node_info) => { - error!("invoke at %s", + debug!("invoke at %s", bcx.sess().codemap.span_to_str(node_info.span)); } } @@ -1512,7 +1512,7 @@ pub fn alloc_ty(bcx: block, t: ty::t) -> ValueRef { let _icx = bcx.insn_ctxt("alloc_ty"); let ccx = bcx.ccx(); let llty = type_of::type_of(ccx, t); - if ty::type_has_params(t) { error!("%s", ty_to_str(ccx.tcx, t)); } + if ty::type_has_params(t) { debug!("%s", ty_to_str(ccx.tcx, t)); } fail_unless!(!ty::type_has_params(t)); let val = alloca(bcx, llty); return val; diff --git a/src/librusti/rusti.rc b/src/librusti/rusti.rc index 182cfc43ade9e..ed07ea1a448fe 100644 --- a/src/librusti/rusti.rc +++ b/src/librusti/rusti.rc @@ -386,6 +386,10 @@ pub fn main() { stmts: ~"" }; + io::println("WARNING: The Rust REPL is experimental and may be"); + io::println("unstable. If you encounter problems, please use the"); + io::println("compiler instead."); + unsafe { do rl::complete |line, suggest| { if line.starts_with(":") { diff --git a/src/librustpkg/rustpkg.rc b/src/librustpkg/rustpkg.rc index 5b9f3c3cd229e..c2e3ce04f0645 100644 --- a/src/librustpkg/rustpkg.rc +++ b/src/librustpkg/rustpkg.rc @@ -867,6 +867,9 @@ impl Ctx { } pub fn main() { + io::println("WARNING: The Rust package manager is experimental and may"); + io::println("be unstable."); + let args = os::args(); let opts = ~[getopts::optflag(~"h"), getopts::optflag(~"help"), getopts::optflag(~"j"), getopts::optflag(~"json"),