Skip to content

Commit 4d84d71

Browse files
committed
---
yaml --- r: 195061 b: refs/heads/beta c: 0156011 h: refs/heads/master i: 195059: d1c1dd1 v: v3
1 parent 09ad1a4 commit 4d84d71

File tree

9 files changed

+8
-11
lines changed

9 files changed

+8
-11
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
3232
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34-
refs/heads/beta: e361b25c5e0ae2b49b1850499f0c19683c843fe6
34+
refs/heads/beta: 01560112b8dda59d7e45b33d4d344dfdea589ea2
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
3737
refs/heads/tmp: be7f6ac7008f8ddf980ac07026b05bdd865f29cc

branches/beta/src/doc/trpl/lang-items.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ and one for deallocation. A freestanding program that uses the `Box`
1616
sugar for dynamic allocations via `malloc` and `free`:
1717

1818
```
19-
#![feature(lang_items, box_syntax, start, no_std)]
19+
#![feature(lang_items, box_syntax, start, no_std, libc)]
2020
#![no_std]
2121
2222
extern crate libc;

branches/beta/src/doc/trpl/no-stdlib.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The function marked `#[start]` is passed the command line parameters
2121
in the same format as C:
2222

2323
```
24-
#![feature(lang_items, start, no_std)]
24+
#![feature(lang_items, start, no_std, libc)]
2525
#![no_std]
2626
2727
// Pull in the system libc library for what crt0.o likely requires
@@ -104,7 +104,7 @@ As an example, here is a program that will calculate the dot product of two
104104
vectors provided from C, using idiomatic Rust practices.
105105

106106
```
107-
#![feature(lang_items, start, no_std)]
107+
#![feature(lang_items, start, no_std, core, libc)]
108108
#![no_std]
109109
110110
# extern crate libc;

branches/beta/src/doc/trpl/tracing-macros.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ macro_rules! bct {
3131

3232
This is pretty complex! we can see the output
3333

34-
```rust
34+
```rust,ignore
3535
#![feature(trace_macros)]
3636
3737
macro_rules! bct {
@@ -61,6 +61,7 @@ fn main() {
6161
6262
bct!(0, 0, 1, 1, 1 ; 1, 0, 1);
6363
}
64+
```
6465

6566
This will print out a wall of text:
6667

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
% Unstable Rust

branches/beta/src/libcore/option.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ use default::Default;
151151
use iter::{ExactSizeIterator};
152152
use iter::{Iterator, IteratorExt, DoubleEndedIterator, FromIterator, IntoIterator};
153153
use mem;
154-
use ops::{Deref, FnOnce};
154+
use ops::FnOnce;
155155
use result::Result::{Ok, Err};
156156
use result::Result;
157157
#[allow(deprecated)]

branches/beta/src/libcoretest/option.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,6 @@ fn test_cloned() {
258258
assert_eq!(opt_none.clone(), None);
259259
assert_eq!(opt_none.cloned(), None);
260260

261-
// Mutable refs work
262-
assert_eq!(opt_mut_ref.cloned(), Some(2u32));
263-
264261
// Immutable ref works
265262
assert_eq!(opt_ref.clone(), Some(&val1));
266263
assert_eq!(opt_ref.cloned(), Some(1u32));

branches/beta/src/librustc_borrowck/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
#![allow(non_camel_case_types)]
2323

24-
#![feature(core)]
2524
#![feature(quote)]
2625
#![feature(rustc_diagnostic_macros)]
2726
#![feature(rustc_private)]

branches/beta/src/librustc_resolve/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
#![feature(alloc)]
2323
#![feature(collections)]
24-
#![feature(core)]
2524
#![feature(rustc_diagnostic_macros)]
2625
#![feature(rustc_private)]
2726
#![feature(staged_api)]

0 commit comments

Comments
 (0)