Skip to content

Commit 36d513c

Browse files
committed
---
yaml --- r: 97215 b: refs/heads/dist-snap c: 0607c13 h: refs/heads/master i: 97213: 5c4729a 97211: b6689c4 97207: c1d746c 97199: e501f60 97183: 9ccc4e6 97151: 8577238 v: v3
1 parent e0f345e commit 36d513c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+206
-233
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: c274a6888410ce3e357e014568b43310ed787d36
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: 0cbb44aff9a9840c133ea454db7d302c247d5f0f
9+
refs/heads/dist-snap: 0607c138caf991c7dbe4fef57a08958a5e7fb621
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[submodule "src/llvm"]
22
path = src/llvm
3-
url = https://github.com/luqmana/llvm.git
3+
url = https://github.com/alexcrichton/llvm.git
44
branch = master
55
[submodule "src/libuv"]
66
path = src/libuv

branches/dist-snap/mk/docs.mk

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
######################################################################
1414

1515
DOCS :=
16-
CDOCS :=
1716
DOCS_L10N :=
1817

1918
BASE_DOC_OPTS := --from=markdown --standalone --toc --number-sections
@@ -233,21 +232,8 @@ doc/$(1)/index.html: $$(RUSTDOC) $$(TLIB2_T_$(3)_H_$(3))/$(CFG_STDLIB_$(3))
233232
DOCS += doc/$(1)/index.html
234233
endef
235234

236-
define compiledoc
237-
doc/$(1)/index.html: $$(RUSTDOC) $$(TLIB2_T_$(3)_H_$(3))/$(CFG_STDLIB_$(3))
238-
@$$(call E, rustdoc: $$@)
239-
$(Q)$(RUSTDOC) --cfg stage2 $(2)
240-
241-
CDOCS += doc/$(1)/index.html
242-
endef
243-
244235
$(eval $(call libdoc,std,$(STDLIB_CRATE),$(CFG_BUILD)))
245236
$(eval $(call libdoc,extra,$(EXTRALIB_CRATE),$(CFG_BUILD)))
246-
$(eval $(call libdoc,native,$(LIBNATIVE_CRATE),$(CFG_BUILD)))
247-
$(eval $(call libdoc,green,$(LIBGREEN_CRATE),$(CFG_BUILD)))
248-
249-
$(eval $(call compiledoc,rustc,$(COMPILER_CRATE),$(CFG_BUILD)))
250-
$(eval $(call compiledoc,syntax,$(LIBSYNTAX_CRATE),$(CFG_BUILD)))
251237

252238

253239
ifdef CFG_DISABLE_DOCS
@@ -270,7 +256,6 @@ doc/version_info.html: version_info.html.template $(MKFILE_DEPS) \
270256
GENERATED += doc/version.md doc/version_info.html
271257

272258
docs: $(DOCS)
273-
compiler-docs: $(CDOCS)
274259

275260
docs-l10n: $(DOCS_L10N)
276261

branches/dist-snap/src/libgreen/sched.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1433,7 +1433,7 @@ mod test {
14331433
drop(handle);
14341434

14351435
let mut handle = pool.spawn_sched();
1436-
handle.send(PinnedTask(pool.task(TaskOpts::new(), proc() {
1436+
handle.send(TaskFromFriend(pool.task(TaskOpts::new(), proc() {
14371437
// Wait until the other task has its lock
14381438
start_po.recv();
14391439

branches/dist-snap/src/librustc/front/test.rs

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ struct Test {
4040
struct TestCtxt {
4141
sess: session::Session,
4242
path: RefCell<~[ast::Ident]>,
43-
ext_cx: @ExtCtxt,
43+
ext_cx: ExtCtxt,
4444
testfns: RefCell<~[Test]>,
4545
is_extra: bool,
4646
config: ast::CrateConfig,
@@ -163,8 +163,7 @@ fn generate_test_harness(sess: session::Session, crate: ast::Crate)
163163
config: crate.config.clone(),
164164
};
165165

166-
let ext_cx = cx.ext_cx;
167-
ext_cx.bt_push(ExpnInfo {
166+
cx.ext_cx.bt_push(ExpnInfo {
168167
call_site: dummy_sp(),
169168
callee: NameAndSpan {
170169
name: @"test",
@@ -177,7 +176,7 @@ fn generate_test_harness(sess: session::Session, crate: ast::Crate)
177176
cx: cx
178177
};
179178
let res = fold.fold_crate(crate);
180-
ext_cx.bt_pop();
179+
cx.ext_cx.bt_pop();
181180
return res;
182181
}
183182

@@ -313,7 +312,7 @@ fn mk_test_module(cx: &TestCtxt) -> @ast::item {
313312

314313
// The synthesized main function which will call the console test runner
315314
// with our list of tests
316-
let mainfn = (quote_item!(cx.ext_cx,
315+
let mainfn = (quote_item!(&cx.ext_cx,
317316
pub fn main() {
318317
#[main];
319318
extra::test::test_main_static(::std::os::args(), TESTS);
@@ -377,7 +376,7 @@ fn mk_tests(cx: &TestCtxt) -> @ast::item {
377376
// The vector of test_descs for this crate
378377
let test_descs = mk_test_descs(cx);
379378

380-
(quote_item!(cx.ext_cx,
379+
(quote_item!(&cx.ext_cx,
381380
pub static TESTS : &'static [self::extra::test::TestDescAndFn] =
382381
$test_descs
383382
;
@@ -438,24 +437,24 @@ fn mk_test_desc_and_fn_rec(cx: &TestCtxt, test: &Test) -> @ast::Expr {
438437
};
439438

440439
let t_expr = if test.bench {
441-
quote_expr!(cx.ext_cx, self::extra::test::StaticBenchFn($fn_expr) )
440+
quote_expr!(&cx.ext_cx, self::extra::test::StaticBenchFn($fn_expr) )
442441
} else {
443-
quote_expr!(cx.ext_cx, self::extra::test::StaticTestFn($fn_expr) )
442+
quote_expr!(&cx.ext_cx, self::extra::test::StaticTestFn($fn_expr) )
444443
};
445444

446445
let ignore_expr = if test.ignore {
447-
quote_expr!(cx.ext_cx, true )
446+
quote_expr!(&cx.ext_cx, true )
448447
} else {
449-
quote_expr!(cx.ext_cx, false )
448+
quote_expr!(&cx.ext_cx, false )
450449
};
451450

452451
let fail_expr = if test.should_fail {
453-
quote_expr!(cx.ext_cx, true )
452+
quote_expr!(&cx.ext_cx, true )
454453
} else {
455-
quote_expr!(cx.ext_cx, false )
454+
quote_expr!(&cx.ext_cx, false )
456455
};
457456

458-
let e = quote_expr!(cx.ext_cx,
457+
let e = quote_expr!(&cx.ext_cx,
459458
self::extra::test::TestDescAndFn {
460459
desc: self::extra::test::TestDesc {
461460
name: self::extra::test::StaticTestName($name_expr),

branches/dist-snap/src/librustdoc/clean.rs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,8 +1123,6 @@ fn lit_to_str(lit: &ast::lit) -> ~str {
11231123

11241124
fn name_from_pat(p: &ast::Pat) -> ~str {
11251125
use syntax::ast::*;
1126-
debug!("Trying to get a name from pattern: {:?}", p);
1127-
11281126
match p.node {
11291127
PatWild => ~"_",
11301128
PatWildMulti => ~"..",
@@ -1136,12 +1134,9 @@ fn name_from_pat(p: &ast::Pat) -> ~str {
11361134
PatBox(p) => name_from_pat(p),
11371135
PatUniq(p) => name_from_pat(p),
11381136
PatRegion(p) => name_from_pat(p),
1139-
PatLit(..) => {
1140-
warn!("tried to get argument name from PatLit, \
1141-
which is silly in function arguments");
1142-
~"()"
1143-
},
1144-
PatRange(..) => fail!("tried to get argument name from PatRange, \
1137+
PatLit(..) => fail!("tried to get argument name from pat_lit, \
1138+
which is not allowed in function arguments"),
1139+
PatRange(..) => fail!("tried to get argument name from pat_range, \
11451140
which is not allowed in function arguments"),
11461141
PatVec(..) => fail!("tried to get argument name from pat_vec, \
11471142
which is not allowed in function arguments")

branches/dist-snap/src/librustpkg/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ struct ListenerFn {
7575

7676
struct ReadyCtx {
7777
sess: session::Session,
78-
ext_cx: @ExtCtxt,
78+
ext_cx: ExtCtxt,
7979
path: ~[ast::Ident],
8080
fns: ~[ListenerFn]
8181
}

branches/dist-snap/src/libstd/any.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Traits for dynamic typing of any type (through runtime reflection)
12-
//!
1311
//! This module implements the `Any` trait, which enables dynamic typing
1412
//! of any type, through runtime reflection.
1513
//!

branches/dist-snap/src/libstd/ascii.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations on ASCII strings and characters
11+
//! Operations on ASCII strings and characters.
1212
1313
use to_str::{ToStr,IntoStr};
1414
use str;

branches/dist-snap/src/libstd/at_vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations on managed vectors (`@[T]` type)
11+
//! Managed vectors
1212
1313
use clone::Clone;
1414
use container::Container;

branches/dist-snap/src/libstd/bool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations on boolean values (`bool` type)
11+
//! The `bool` module contains useful code to help work with boolean values.
1212
//!
1313
//! A quick summary:
1414
//!

branches/dist-snap/src/libstd/char.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Unicode characters manipulation (`char` type)
11+
//! Utilities for manipulating the char type
1212
1313
use cast::transmute;
1414
use option::{None, Option, Some};

branches/dist-snap/src/libstd/clone.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
/*! The `Clone` trait for types that cannot be 'implicitly copied'
11+
/*! The Clone trait for types that cannot be "implicitly copied"
1212
1313
In Rust, some simple types are "implicitly copyable" and when you
1414
assign them or pass them as arguments, the receiver will get a copy,

branches/dist-snap/src/libstd/comm/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Communication primitives for concurrent tasks (`Chan` and `Port` types)
11+
//! Rust Communication Primitives
1212
//!
1313
//! Rust makes it very difficult to share data among tasks to prevent race
1414
//! conditions and to improve parallelism, but there is often a need for
@@ -599,7 +599,7 @@ impl<T: Send> Chan<T> {
599599
// the TLS overhead can be a bit much.
600600
n => {
601601
assert!(n >= 0);
602-
if can_resched && n > 0 && n % RESCHED_FREQ == 0 {
602+
if n > 0 && n % RESCHED_FREQ == 0 {
603603
let task: ~Task = Local::take();
604604
task.maybe_yield();
605605
}

branches/dist-snap/src/libstd/container.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Traits for generic containers (including `Map` and `Set`)
11+
//! Container traits
1212
1313
use option::Option;
1414

branches/dist-snap/src/libstd/default.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! The `Default` trait for types which may have meaningful default values
11+
//! The Default trait
1212
1313
/// A trait that types which have a useful default value should implement.
1414
pub trait Default {

branches/dist-snap/src/libstd/either.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Representing values with two possibilities (`Either` type)
11+
//! A type that represents one of two alternatives
1212
1313
#[allow(missing_doc)];
1414

branches/dist-snap/src/libstd/fmt/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
/*!
1212
13-
Utilities for formatting and printing strings
13+
The Formatting Module
1414
1515
This module contains the runtime support for the `format!` syntax extension.
1616
This macro is implemented in the compiler to emit calls to this module in order

branches/dist-snap/src/libstd/from_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! The `FromStr` trait for types that can be created from strings
11+
//! The trait for types that can be created from strings
1212
1313
use option::Option;
1414

branches/dist-snap/src/libstd/hashmap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Unordered containers, implemented as hash-tables (`HashSet` and `HashMap` types)
11+
//! An unordered map and set type implemented as hash tables
1212
//!
1313
//! The tables use a keyed hash with new random keys generated for each container, so the ordering
1414
//! of a set of keys in a hash table is randomized.

branches/dist-snap/src/libstd/kinds.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
/*!
12-
Primitive traits representing basic 'kinds' of types
12+
The kind traits
1313
1414
Rust types can be classified in various useful ways according to
1515
intrinsic properties of the type. These classifications, often called

branches/dist-snap/src/libstd/logging.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
/*!
1212
13-
Utilities for program-wide and customizable logging
13+
Logging
1414
1515
This module is used by the compiler when emitting output for the logging family
1616
of macros. The methods of this module shouldn't necessarily be used directly,

branches/dist-snap/src/libstd/num/cmath.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
#[allow(non_uppercase_statics)];
1313
#[allow(dead_code)];
1414

15-
//! Bindings for the C math library (for basic mathematic functions)
16-
1715
// function names are almost identical to C's libmath, a few have been
1816
// renamed, grep for "rename:"
1917

branches/dist-snap/src/libstd/num/f32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for 32-bits floats (`f32` type)
11+
//! Operations and constants for `f32`
1212
#[allow(missing_doc)];
1313

1414
use prelude::*;

branches/dist-snap/src/libstd/num/f64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for 64-bits floats (`f64` type)
11+
//! Operations and constants for `f64`
1212
1313
#[allow(missing_doc)];
1414

branches/dist-snap/src/libstd/num/i16.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for signed 16-bits integers (`i16` type)
11+
//! Operations and constants for `i16`
1212
1313
#[allow(non_uppercase_statics)];
1414

branches/dist-snap/src/libstd/num/i32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for signed 32-bits integers (`i32` type)
11+
//! Operations and constants for `i32`
1212
1313
#[allow(non_uppercase_statics)];
1414

branches/dist-snap/src/libstd/num/i64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for signed 64-bits integers (`i64` type)
11+
//! Operations and constants for `i64`
1212
1313
#[allow(non_uppercase_statics)];
1414

branches/dist-snap/src/libstd/num/i8.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for signed 8-bits integers (`i8` type)
11+
//! Operations and constants for `i8`
1212
1313
#[allow(non_uppercase_statics)];
1414

branches/dist-snap/src/libstd/num/int.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for architecture-sized signed integers (`int` type)
11+
//! Operations and constants for `int`
1212
1313
#[allow(non_uppercase_statics)];
1414

0 commit comments

Comments
 (0)