We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6eb09b commit c966c45Copy full SHA for c966c45
src/test/rustdoc/useless_lifetime_bound.rs
@@ -5,3 +5,9 @@ use std::marker::PhantomData;
5
pub struct Scope<'env> {
6
_marker: PhantomData<&'env mut &'env ()>,
7
}
8
+
9
+// @has useless_lifetime_bound/struct.Scope.html
10
+// @!has - '//*[@class="rust struct"]' "T: 'a + 'a"
11
+pub struct SomeStruct<'a, T: 'a> {
12
+ _marker: PhantomData<&'a T>,
13
+}
0 commit comments