Added 4646 test case
This commit is contained in:
parent
384ba68d64
commit
1e2b0b7c72
2 changed files with 40 additions and 0 deletions
20
tests/source/issue-4646.rs
Normal file
20
tests/source/issue-4646.rs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
trait Foo {
|
||||
fn bar(&self)
|
||||
// where
|
||||
// Self: Bar
|
||||
;
|
||||
}
|
||||
|
||||
trait Foo {
|
||||
fn bar(&self)
|
||||
// where
|
||||
// Self: Bar
|
||||
;
|
||||
}
|
||||
|
||||
trait Foo {
|
||||
fn bar(&self)
|
||||
// where
|
||||
// Self: Bar
|
||||
;
|
||||
}
|
||||
20
tests/target/issue-4646.rs
Normal file
20
tests/target/issue-4646.rs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
trait Foo {
|
||||
fn bar(&self)
|
||||
// where
|
||||
// Self: Bar
|
||||
;
|
||||
}
|
||||
|
||||
trait Foo {
|
||||
fn bar(&self)
|
||||
// where
|
||||
// Self: Bar
|
||||
;
|
||||
}
|
||||
|
||||
trait Foo {
|
||||
fn bar(&self)
|
||||
// where
|
||||
// Self: Bar
|
||||
;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue