Skip to content

Commit 8a23d0c

Browse files
author
Nick Hamann
committed
---
yaml --- r: 219574 b: refs/heads/snap-stage3 c: 079bfad h: refs/heads/master v: v3
1 parent a4860a3 commit 8a23d0c

File tree

5 files changed

+21
-43
lines changed

5 files changed

+21
-43
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: c044791d80ea0dc5c4b57b6030a67b69f8510239
3-
refs/heads/snap-stage3: 009e53d70f722bcd8faf474c48c43d57b51f3b29
3+
refs/heads/snap-stage3: 079bfad72d1ec329a5ecdb134960777ae4320303
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/snap-stage3/configure

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -899,18 +899,6 @@ then
899899
fi
900900
fi
901901

902-
# If the clang isn't already enabled, check for GCC, and if it is missing, turn
903-
# on clang as a backup.
904-
if [ -z "$CFG_ENABLE_CLANG" ]
905-
then
906-
CFG_GCC_VERSION=$("$CFG_GCC" --version 2>&1)
907-
if [ $? -ne 0 ]
908-
then
909-
step_msg "GCC not installed, will try using Clang"
910-
CFG_ENABLE_CLANG=1
911-
fi
912-
fi
913-
914902
# Okay, at this point, we have made up our minds about whether we are
915903
# going to force CFG_ENABLE_CLANG or not; save the setting if so.
916904
if [ ! -z "$CFG_ENABLE_CLANG" ]
@@ -932,7 +920,7 @@ then
932920
LLVM_VERSION=$($LLVM_CONFIG --version)
933921

934922
case $LLVM_VERSION in
935-
(3.[5-7]*)
923+
(3.[5-6]*)
936924
msg "found ok version of LLVM: $LLVM_VERSION"
937925
;;
938926
(*)

branches/snap-stage3/src/libcollectionstest/lib.rs

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

1111
#![feature(append)]
12+
#![feature(bit_vec_append_split_off)]
1213
#![feature(bitset)]
1314
#![feature(bitvec)]
1415
#![feature(box_syntax)]

branches/snap-stage3/src/liblibc/lib.rs

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3600,11 +3600,6 @@ pub mod consts {
36003600
pub const SHUT_RD: c_int = 0;
36013601
pub const SHUT_WR: c_int = 1;
36023602
pub const SHUT_RDWR: c_int = 2;
3603-
3604-
pub const LOCK_SH: c_int = 1;
3605-
pub const LOCK_EX: c_int = 2;
3606-
pub const LOCK_NB: c_int = 4;
3607-
pub const LOCK_UN: c_int = 8;
36083603
}
36093604
#[cfg(any(target_arch = "mips",
36103605
target_arch = "mipsel"))]
@@ -3689,11 +3684,6 @@ pub mod consts {
36893684
pub const SHUT_RD: c_int = 0;
36903685
pub const SHUT_WR: c_int = 1;
36913686
pub const SHUT_RDWR: c_int = 2;
3692-
3693-
pub const LOCK_SH: c_int = 1;
3694-
pub const LOCK_EX: c_int = 2;
3695-
pub const LOCK_NB: c_int = 4;
3696-
pub const LOCK_UN: c_int = 8;
36973687
}
36983688
#[cfg(any(target_arch = "x86",
36993689
target_arch = "x86_64",
@@ -4237,11 +4227,6 @@ pub mod consts {
42374227
pub const SHUT_RD: c_int = 0;
42384228
pub const SHUT_WR: c_int = 1;
42394229
pub const SHUT_RDWR: c_int = 2;
4240-
4241-
pub const LOCK_SH: c_int = 1;
4242-
pub const LOCK_EX: c_int = 2;
4243-
pub const LOCK_NB: c_int = 4;
4244-
pub const LOCK_UN: c_int = 8;
42454230
}
42464231
pub mod extra {
42474232
use types::os::arch::c95::c_int;
@@ -4666,11 +4651,6 @@ pub mod consts {
46664651
pub const SHUT_RD: c_int = 0;
46674652
pub const SHUT_WR: c_int = 1;
46684653
pub const SHUT_RDWR: c_int = 2;
4669-
4670-
pub const LOCK_SH: c_int = 1;
4671-
pub const LOCK_EX: c_int = 2;
4672-
pub const LOCK_NB: c_int = 4;
4673-
pub const LOCK_UN: c_int = 8;
46744654
}
46754655
pub mod extra {
46764656
use types::os::arch::c95::c_int;
@@ -5112,11 +5092,6 @@ pub mod consts {
51125092
pub const SHUT_RD: c_int = 0;
51135093
pub const SHUT_WR: c_int = 1;
51145094
pub const SHUT_RDWR: c_int = 2;
5115-
5116-
pub const LOCK_SH: c_int = 1;
5117-
pub const LOCK_EX: c_int = 2;
5118-
pub const LOCK_NB: c_int = 4;
5119-
pub const LOCK_UN: c_int = 8;
51205095
}
51215096
pub mod extra {
51225097
use types::os::arch::c95::c_int;
@@ -6146,7 +6121,6 @@ pub mod funcs {
61466121
-> c_int;
61476122
pub fn realpath(pathname: *const c_char, resolved: *mut c_char)
61486123
-> *mut c_char;
6149-
pub fn flock(fd: c_int, operation: c_int) -> c_int;
61506124
}
61516125
}
61526126

@@ -6163,7 +6137,6 @@ pub mod funcs {
61636137
-> c_int;
61646138
pub fn mincore(addr: *mut c_void, len: size_t, vec: *mut c_uchar)
61656139
-> c_int;
6166-
pub fn flock(fd: c_int, operation: c_int) -> c_int;
61676140
}
61686141
}
61696142

branches/snap-stage3/src/test/run-pass/issue-22375.rs renamed to branches/snap-stage3/src/test/compile-fail/issue-19538.rs

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

11-
trait A<T: A<T>> {}
11+
trait Foo {
12+
fn foo<T>(&self, val: T);
13+
}
1214

13-
fn main() {}
15+
trait Bar: Foo { }
16+
17+
pub struct Thing;
18+
19+
impl Foo for Thing {
20+
fn foo<T>(&self, val: T) { }
21+
}
22+
23+
impl Bar for Thing { }
24+
25+
fn main() {
26+
let mut thing = Thing;
27+
let test: &mut Bar = &mut thing;
28+
//~^ ERROR cannot convert to a trait object because trait `Bar` is not object-safe
29+
}

0 commit comments

Comments
 (0)