Skip to content

Commit bc74139

Browse files
committed
---
yaml --- r: 216567 b: refs/heads/stable c: e6c23bb h: refs/heads/master i: 216565: 169136b 216563: 954880d 216559: eba349f v: v3
1 parent 80e3720 commit bc74139

25 files changed

+43
-213
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ refs/heads/tmp: 378a370ff2057afeb1eae86eb6e78c476866a4a6
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: a5286998df566e736b32f6795bfc3803bdaf453d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 9b481f89d104963e0b91c234ce9c8f2eb2216f15
32+
refs/heads/stable: e6c23bb8939213653e58031430606059700da8ea
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375

branches/stable/src/librustc_trans/back/link.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@ fn add_local_native_libraries(cmd: &mut Command, sess: &Session) {
10781078
sess.target_filesearch(PathKind::All).for_each_lib_search_path(|path, k| {
10791079
match k {
10801080
PathKind::Framework => { cmd.arg("-F").arg(path); }
1081-
_ => { cmd.arg("-L").arg(path); }
1081+
_ => { cmd.arg("-L").arg(&fix_windows_verbatim_for_gcc(path)); }
10821082
}
10831083
FileDoesntMatch
10841084
});

branches/stable/src/test/auxiliary/issue-19163.rs

Lines changed: 0 additions & 16 deletions
This file was deleted.

branches/stable/src/test/compile-fail/issue-12511.rs

Lines changed: 0 additions & 19 deletions
This file was deleted.

branches/stable/src/test/compile-fail/issue-17959.rs

Lines changed: 0 additions & 31 deletions
This file was deleted.

branches/stable/src/test/compile-fail/issue-19109.rs

Lines changed: 0 additions & 22 deletions
This file was deleted.

branches/stable/src/test/compile-fail/issue-19163.rs

Lines changed: 0 additions & 21 deletions
This file was deleted.

branches/stable/src/test/compile-fail/issue-19380.rs

Lines changed: 0 additions & 28 deletions
This file was deleted.

branches/stable/src/test/run-make/issue-18943/Makefile

Lines changed: 0 additions & 7 deletions
This file was deleted.

branches/stable/src/test/run-make/issue-18943/foo.rs

Lines changed: 0 additions & 16 deletions
This file was deleted.

branches/stable/src/test/run-pass/associated-types-impl-redirect.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// for `ByRef`. The right answer was to consider the result ambiguous
1515
// until more type information was available.
1616

17+
// ignore-pretty -- FIXME(#17362)
18+
1719
#![feature(lang_items, unboxed_closures)]
1820
#![no_implicit_prelude]
1921

branches/stable/src/test/run-pass/associated-types-where-clause-impl-ambiguity.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// for `ByRef`. The right answer was to consider the result ambiguous
1515
// until more type information was available.
1616

17+
// ignore-pretty -- FIXME(#17362) pretty prints with `<<` which lexes wrong
18+
1719
#![feature(lang_items, unboxed_closures)]
1820
#![no_implicit_prelude]
1921

branches/stable/src/test/run-pass/deriving-cmp-generic-struct-enum.rs

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

11+
// no-pretty-expanded FIXME #15189
12+
13+
1114
#[derive(PartialEq, Eq, PartialOrd, Ord)]
1215
enum ES<T> {
1316
ES1 { x: T },

branches/stable/src/test/run-pass/deriving-cmp-generic-struct.rs

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

11+
// no-pretty-expanded FIXME #15189
12+
13+
1114
#[derive(PartialEq, Eq, PartialOrd, Ord)]
1215
struct S<T> {
1316
x: T,

branches/stable/src/test/run-pass/deriving-cmp-generic-tuple-struct.rs

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

11+
// no-pretty-expanded FIXME #15189
12+
13+
1114
#[derive(PartialEq, Eq, PartialOrd, Ord)]
1215
struct TS<T>(T,T);
1316

branches/stable/src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs

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

11+
// ignore-test FIXME #11820: & is unreliable in deriving
12+
1113
use std::cmp::Ordering::{Less,Equal,Greater};
1214

13-
#[derive(PartialEq, Eq, PartialOrd, Ord)]
15+
#[derive(Eq,Ord)]
1416
struct A<'a> {
1517
x: &'a isize
1618
}

branches/stable/src/test/run-pass/generic-recursive-tag.rs

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

11+
// ignore-pretty FIXME(#14193)
12+
1113
#![allow(unknown_features)]
1214
#![feature(box_syntax)]
1315

branches/stable/src/test/run-pass/issue-14564.rs

Lines changed: 0 additions & 15 deletions
This file was deleted.

branches/stable/src/test/run-pass/issue-17170.rs

Lines changed: 0 additions & 20 deletions
This file was deleted.

branches/stable/src/test/run-pass/issue-19081.rs

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

11+
// ignore-pretty -- FIXME(#17362) pretty prints as `Hash<<Self as Hasher...` which fails to parse
12+
1113
pub trait Hasher {
1214
type State;
1315

branches/stable/src/test/run-pass/last-use-in-cap-clause.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ struct A { a: Box<isize> }
2020
fn foo() -> Box<FnMut() -> isize + 'static> {
2121
let k: Box<_> = box 22;
2222
let _u = A {a: k.clone()};
23+
// FIXME(#16640) suffix in `22` suffix shouldn't be necessary
2324
let result = || 22;
2425
// FIXME (#22405): Replace `Box::new` with `box` here when/if possible.
2526
Box::new(result)

branches/stable/src/test/run-pass/ufcs-polymorphic-paths.rs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ use std::default::Default;
1717
use std::iter::FromIterator;
1818
use std::ops::Add;
1919
use std::option::IntoIter as OptionIter;
20+
// FIXME the glob std::prelude::*; import of Vec is missing non-static inherent
21+
// methods.
22+
use std::vec::Vec;
2023

2124
pub struct XorShiftRng;
2225
use XorShiftRng as DummyRng;
@@ -78,10 +81,11 @@ tests! {
7881
Vec::map_in_place, fn(Vec<u8>, fn(u8) -> i8) -> Vec<i8>, (vec![b'f', b'o', b'o'], u8_as_i8);
7982
Vec::map_in_place::<i8, fn(u8) -> i8>, fn(Vec<u8>, fn(u8) -> i8) -> Vec<i8>,
8083
(vec![b'f', b'o', b'o'], u8_as_i8);
81-
Vec::<u8>::map_in_place, fn(Vec<u8>, fn(u8) -> i8) -> Vec<i8>
82-
, (vec![b'f', b'o', b'o'], u8_as_i8);
83-
Vec::<u8>::map_in_place::<i8, fn(u8) -> i8>, fn(Vec<u8>, fn(u8) -> i8) -> Vec<i8>
84-
, (vec![b'f', b'o', b'o'], u8_as_i8);
84+
// FIXME these break with "type parameter might not appear here pointing at `<u8>`.
85+
// Vec::<u8>::map_in_place: fn(Vec<u8>, fn(u8) -> i8) -> Vec<i8>
86+
// , (vec![b'f', b'o', b'o'], u8_as_i8);
87+
// Vec::<u8>::map_in_place::<i8, fn(u8) -> i8>: fn(Vec<u8>, fn(u8) -> i8) -> Vec<i8>
88+
// , (vec![b'f', b'o', b'o'], u8_as_i8);
8589

8690
// Trait static methods.
8791
bool::size, fn() -> usize, ();

branches/stable/src/test/run-pass/unfold-cross-crate.rs

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

11+
// no-pretty-expanded FIXME #15189
12+
13+
1114
#![feature(core)]
1215

1316
use std::iter::Unfold;

branches/stable/src/test/run-pass/utf8.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10+
//
11+
// no-pretty-expanded FIXME #15189
1012

1113
pub fn main() {
1214
let yen: char = '¥'; // 0xa5

branches/stable/src/test/run-pass/vec-fixed-length.rs

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,18 @@
1111

1212
use std::mem::size_of;
1313

14-
#[cfg(not(target_pointer_width = "64"))]
15-
fn test_big_vec() {}
16-
17-
#[cfg(target_pointer_width = "64")]
18-
fn test_big_vec()
19-
{
20-
assert_eq!(size_of::<[u8; (1 << 32)]>(), (1 << 32));
21-
}
22-
23-
fn main() {
14+
pub fn main() {
2415
let x: [isize; 4] = [1, 2, 3, 4];
2516
assert_eq!(x[0], 1);
2617
assert_eq!(x[1], 2);
2718
assert_eq!(x[2], 3);
2819
assert_eq!(x[3], 4);
2920

3021
assert_eq!(size_of::<[u8; 4]>(), 4);
31-
test_big_vec();
22+
23+
// FIXME #10183
24+
// FIXME #18069
25+
//if cfg!(target_pointer_width = "64") {
26+
// assert_eq!(size_of::<[u8; (1 << 32)]>(), (1 << 32));
27+
//}
3228
}

0 commit comments

Comments
 (0)