rename test-cases

This commit is contained in:
Trinity Pointard 2021-06-16 14:42:51 +02:00
parent 2d76d44eae
commit 5f7d44171d
2 changed files with 4 additions and 4 deletions

View File

@ -9,13 +9,13 @@ impl B { pub fn foo_b(&self) {} }
pub struct C {}
impl C { pub fn foo_c(&self) {} }
// @has issue_85037/struct.A.html '//div[@class="sidebar-links"]' 'foo_b'
// @has recursive_deref_sidebar/struct.A.html '//div[@class="sidebar-links"]' 'foo_b'
impl Deref for A {
type Target = B;
fn deref(&self) -> &B { todo!() }
}
// @!has issue_85037/struct.A.html '//div[@class="sidebar-links"]' 'foo_c'
// @!has recursive_deref_sidebar/struct.A.html '//div[@class="sidebar-links"]' 'foo_c'
impl Deref for B {
type Target = C;
fn deref(&self) -> &C { todo!() }

View File

@ -3,7 +3,7 @@
pub struct A;
pub struct B;
// @has issue_85095/struct.A.html '//code' 'impl Deref for A'
// @has recursive_deref/struct.A.html '//code' 'impl Deref for A'
impl Deref for A {
type Target = B;
@ -12,7 +12,7 @@ fn deref(&self) -> &Self::Target {
}
}
// @has issue_85095/struct.B.html '//code' 'impl Deref for B'
// @has recursive_deref/struct.B.html '//code' 'impl Deref for B'
impl Deref for B {
type Target = A;