rustdoc: normalise type/field names in rustdoc-json-types/jsondoclint
This commit is contained in:
parent
d571ae851d
commit
f2696ab4d3
74 changed files with 382 additions and 375 deletions
|
@ -19,8 +19,8 @@ pub struct Struct;
|
|||
|
||||
impl Orig<i32> for Struct {}
|
||||
|
||||
//@ has "$.index[*][?(@.name=='takes_alias')].inner.function.decl.inputs[0][1].impl_trait"
|
||||
//@ is "$.index[*][?(@.name=='takes_alias')].inner.function.decl.inputs[0][1].impl_trait[0].trait_bound.trait.id" $Alias
|
||||
//@ has "$.index[*][?(@.name=='takes_alias')].inner.function.sig.inputs[0][1].impl_trait"
|
||||
//@ is "$.index[*][?(@.name=='takes_alias')].inner.function.sig.inputs[0][1].impl_trait[0].trait_bound.trait.id" $Alias
|
||||
//@ is "$.index[*][?(@.name=='takes_alias')].inner.function.generics.params[0].kind.type.bounds[0].trait_bound.trait.id" $Alias
|
||||
pub fn takes_alias(_: impl Alias) {}
|
||||
// FIXME: Should the trait be mentioned in both the decl and generics?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue