]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/synthetic_auto/no-redundancy.rs
Merge commit '0e87918536b9833bbc6c683d1f9d51ee2bf03ef1' into clippyup
[rust.git] / src / test / rustdoc / synthetic_auto / no-redundancy.rs
1 pub struct Inner<T> {
2     field: T,
3 }
4
5 unsafe impl<T> Send for Inner<T>
6 where
7     T: Copy + Send,
8 {
9 }
10
11 // @has no_redundancy/struct.Outer.html
12 // @has - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]//code' "impl<T> Send for \
13 // Outer<T> where T: Copy + Send"
14 pub struct Outer<T> {
15     inner_field: Inner<T>,
16 }