Skip to content

Commit cbefe8d

Browse files
committed
Relocate issues/issue-53300.rs to
type/cannot-find-wrapper-with-impl-trait.rs
1 parent a6196fa commit cbefe8d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/ui/issues/issue-53300.rs renamed to tests/ui/type/cannot-find-wrapper-with-impl-trait.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// issue 53300
1+
//! Regression test for issue <https://github.com/rust-lang/rust/issues/53300>
2+
//! Tests that an undefined type (Wrapper) used with impl Trait correctly gives E0412.
23
34
pub trait A {
45
fn add(&self, b: i32) -> i32;

tests/ui/issues/issue-53300.stderr renamed to tests/ui/type/cannot-find-wrapper-with-impl-trait.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0412]: cannot find type `Wrapper` in this scope
2-
--> $DIR/issue-53300.rs:7:18
2+
--> $DIR/cannot-find-wrapper-with-impl-trait.rs:8:18
33
|
44
LL | fn addition() -> Wrapper<impl A> {}
55
| ^^^^^^^ not found in this scope

0 commit comments

Comments
 (0)