moved 2 tests to organized locations

This commit is contained in:
rishi-techo-14
2026-04-12 19:22:45 +05:30
parent 4c4205163a
commit e4da93435e
3 changed files with 5 additions and 1 deletions
@@ -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,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