diff options
| author | Eric <e.lim0322@gmail.com> | 2021-08-30 21:17:43 +1200 |
|---|---|---|
| committer | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2021-09-02 20:53:15 -0500 |
| commit | ae5696a7c4c2edf642c37f06c526eb6bdf78c23b (patch) | |
| tree | 40ecf5d035f1194bc878f8155e04a3b0778dcbb5 | |
| parent | bfc60466bdbab90d578c6912083fe2e238e29166 (diff) | |
| download | rust-ae5696a7c4c2edf642c37f06c526eb6bdf78c23b.tar.gz rust-ae5696a7c4c2edf642c37f06c526eb6bdf78c23b.zip | |
test: add test for #4322
| -rw-r--r-- | tests/source/issue_4322.rs | 3 | ||||
| -rw-r--r-- | tests/target/issue_4322.rs | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/source/issue_4322.rs b/tests/source/issue_4322.rs new file mode 100644 index 00000000000..b28cc7cdd12 --- /dev/null +++ b/tests/source/issue_4322.rs @@ -0,0 +1,3 @@ +trait Bar { + type X<'a> where Self: 'a; +} diff --git a/tests/target/issue_4322.rs b/tests/target/issue_4322.rs new file mode 100644 index 00000000000..0ec0547119f --- /dev/null +++ b/tests/target/issue_4322.rs @@ -0,0 +1,5 @@ +trait Bar { + type X<'a> + where + Self: 'a; +} |
