Fix invalid bounds string generation in rustdoc

This commit is contained in:
Guillaume Gomez 2019-03-31 15:32:25 +02:00
parent 2002b4b39a
commit ddd034aa6f
6 changed files with 26 additions and 11 deletions

View 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 ()>,
}