Add failing test for cross-crate enum in type alias
This commit is contained in:
parent
d84b903754
commit
dbfed2c43e
@ -3,3 +3,8 @@ pub struct InlineOne<A> {
|
||||
}
|
||||
|
||||
pub type InlineU64 = InlineOne<u64>;
|
||||
|
||||
pub enum GenericEnum<T> {
|
||||
Variant(T),
|
||||
Variant2(T, T),
|
||||
}
|
||||
|
@ -117,3 +117,10 @@ pub struct HighlyGenericStruct<A, B, C, D> {
|
||||
// @count - '//*[@id="variants"]' 0
|
||||
// @count - '//*[@id="fields"]' 1
|
||||
pub use cross_crate_generic_typedef::InlineU64;
|
||||
|
||||
// @has 'inner_variants/type.InlineEnum.html'
|
||||
// @count - '//*[@id="aliased-type"]' 1
|
||||
// @count - '//*[@id="variants"]' 1
|
||||
// @count - '//*[@id="fields"]' 0
|
||||
// @count - '//*[@class="variant"]' 2
|
||||
pub type InlineEnum = cross_crate_generic_typedef::GenericEnum<i32>;
|
||||
|
Loading…
Reference in New Issue
Block a user