rustdoc-json: Add tests for re-exports of primitives
This commit is contained in:
parent
4e73d90ce0
commit
3dfd268745
1 changed files with 6 additions and 0 deletions
|
@ -12,3 +12,9 @@ mod usize {}
|
||||||
// @has - "$.index[*][?(@.name=='checked_add')]"
|
// @has - "$.index[*][?(@.name=='checked_add')]"
|
||||||
// @!is - "$.index[*][?(@.name=='checked_add')]" $local_crate_id
|
// @!is - "$.index[*][?(@.name=='checked_add')]" $local_crate_id
|
||||||
// @!has - "$.index[*][?(@.name=='is_ascii_uppercase')]"
|
// @!has - "$.index[*][?(@.name=='is_ascii_uppercase')]"
|
||||||
|
|
||||||
|
// @is - "$.index[*][?(@.kind=='import' && @.inner.name=='my_i32')].inner.id" null
|
||||||
|
pub use i32 as my_i32;
|
||||||
|
|
||||||
|
// @is - "$.index[*][?(@.kind=='import' && @.inner.name=='u32')].inner.id" null
|
||||||
|
pub use u32;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue