Fix invalid bounds string generation in rustdoc
This commit is contained in:
parent
2002b4b39a
commit
ddd034aa6f
6 changed files with 26 additions and 11 deletions
7
src/test/rustdoc/useless_lifetime_bound.rs
Normal file
7
src/test/rustdoc/useless_lifetime_bound.rs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
use std::marker::PhantomData;
|
||||
|
||||
// @has useless_lifetime_bound/struct.Scope.html
|
||||
// @!has - '//*[@class="rust struct"]' "'env: 'env"
|
||||
pub struct Scope<'env> {
|
||||
_marker: PhantomData<&'env mut &'env ()>,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue