diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
commit | 218caa410aa38c29984be31a5229b9fa717560ee (patch) | |
tree | c54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/rustdoc/bounds-in-multiple-parts.rs | |
parent | Releasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip |
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/rustdoc/bounds-in-multiple-parts.rs')
-rw-r--r-- | src/test/rustdoc/bounds-in-multiple-parts.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/test/rustdoc/bounds-in-multiple-parts.rs b/src/test/rustdoc/bounds-in-multiple-parts.rs deleted file mode 100644 index 279e3c148..000000000 --- a/src/test/rustdoc/bounds-in-multiple-parts.rs +++ /dev/null @@ -1,20 +0,0 @@ -#![crate_name = "foo"] - -pub trait Eq {} -pub trait Eq2 {} - -// Checking that "where predicates" and "generics params" are merged. -// @has 'foo/trait.T.html' -// @has - "//*[@id='tymethod.f']/h4" "fn f<'a, 'b, 'c, T>()where Self: Eq, T: Eq + 'a, 'c: 'b + 'a," -pub trait T { - fn f<'a, 'b, 'c: 'a, T: Eq + 'a>() - where Self: Eq, Self: Eq, T: Eq, 'c: 'b; -} - -// Checking that a duplicated "where predicate" is removed. -// @has 'foo/trait.T2.html' -// @has - "//*[@id='tymethod.f']/h4" "fn f<T>()where Self: Eq + Eq2, T: Eq2 + Eq," -pub trait T2 { - fn f<T: Eq>() - where Self: Eq, Self: Eq2, T: Eq2; -} |