Skip to content

Commit efbe1e6

Browse files
committed
---
yaml --- r: 235119 b: refs/heads/stable c: 18e9007 h: refs/heads/master i: 235117: 7d20cc7 235115: 9cc6ac9 235111: 875bacf 235103: 9154f88 v: v3
1 parent dfc4413 commit efbe1e6

File tree

7 files changed

+9
-7
lines changed

7 files changed

+9
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 1e7a6b880c84176a11525e7be5b5a9b15f8143b1
32+
refs/heads/stable: 18e9007ac249c542aa3b73b5aa275e52825ca940
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
fn main() {
1212
static foo: Fn() -> u32 = || -> u32 {
1313
//~^ ERROR: mismatched types:
14-
//~| expected `core::ops::Fn() -> u32`,
14+
//~| expected `core::ops::Fn() -> u32 + 'static`,
1515
//~| found closure
1616
//~| (expected trait core::ops::Fn,
1717
//~| found closure)

branches/stable/src/test/compile-fail/object-lifetime-default-elision.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ fn load0<'a>(ss: &'a Box<SomeTrait>) -> Box<SomeTrait> {
4141

4242
deref(ss)
4343
//~^ ERROR cannot infer
44+
//~| WARNING E0398
4445
}
4546

4647
fn load1(ss: &SomeTrait) -> &SomeTrait {

branches/stable/src/test/compile-fail/object-lifetime-default-mybox.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ fn deref<T>(ss: &T) -> T {
2828

2929
fn load0(ss: &MyBox<SomeTrait>) -> MyBox<SomeTrait> {
3030
deref(ss) //~ ERROR cannot infer
31+
//~^ WARNING E0398
3132
}
3233

3334
fn load1<'a,'b>(a: &'a MyBox<SomeTrait>,

branches/stable/src/test/compile-fail/object-lifetime-default.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
#![feature(rustc_attrs)]
1212

1313
#[rustc_object_lifetime_default]
14-
struct A<T>(T); //~ ERROR None
14+
struct A<T>(T); //~ ERROR BaseDefault
1515

1616
#[rustc_object_lifetime_default]
17-
struct B<'a,T>(&'a (), T); //~ ERROR None
17+
struct B<'a,T>(&'a (), T); //~ ERROR BaseDefault
1818

1919
#[rustc_object_lifetime_default]
2020
struct C<'a,T:'a>(&'a T); //~ ERROR 'a

branches/stable/src/test/compile-fail/trait-bounds-cant-coerce.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ fn c(x: Box<Foo+Sync+Send>) {
2222

2323
fn d(x: Box<Foo>) {
2424
a(x); //~ ERROR mismatched types
25-
//~| expected `Box<Foo + Send>`
26-
//~| found `Box<Foo>`
25+
//~| expected `Box<Foo + Send + 'static>`
26+
//~| found `Box<Foo + 'static>`
2727
//~| expected bounds `Send`
2828
//~| found no bounds
2929
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ fn main() {
2626
std::intrinsics::type_name::<NT>(),
2727
// DST
2828
std::intrinsics::type_name::<DST>()
29-
)}, ("[u8]", "str", "core::marker::Copy", "NT", "DST"));
29+
)}, ("[u8]", "str", "core::marker::Copy + 'static", "NT", "DST"));
3030
}

0 commit comments

Comments
 (0)