mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
moved 2 tests to organized locations
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
//! Regression test for https://github.com/rust-lang/rust/issues/16774
|
||||
|
||||
//@ run-pass
|
||||
#![feature(box_patterns)]
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Regression test for https://github.com/rust-lang/rust/issues/3154
|
||||
|
||||
struct Thing<'a, Q:'a> {
|
||||
x: &'a Q
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
error[E0621]: explicit lifetime required in the type of `x`
|
||||
--> $DIR/issue-3154.rs:6:5
|
||||
--> $DIR/missing-lifetime-in-return.rs:8:5
|
||||
|
|
||||
LL | Thing { x: x }
|
||||
| ^^^^^^^^^^^^^^ lifetime `'a` required
|
||||
Reference in New Issue
Block a user