-
Notifications
You must be signed in to change notification settings - Fork 13.4k
jsondocck: Replace jsonpath_lib
with jsonpath-rust
#138763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
a0918b7
jsondocck: Replace `jsonpath_lib` with `jsonpath-rust`
aDotInTheVoid 7ab71c4
tests/rustdoc-json: replace `$.index[*][?` with `$.index[?`
aDotInTheVoid 42631d8
tests/rustdoc-json: replace `$.paths[*][?` with `$.paths[?`
aDotInTheVoid 13335e3
tests/rustdoc-json: change assertions to use RFC 9535 jsonpath
aDotInTheVoid File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
//@ is "$.index[*][?(@.name=='not')].attrs" [] | ||
//@ is "$.index[*][?(@.name=='not')].deprecation" null | ||
//@ is "$.index[?(@.name=='not')].attrs" [] | ||
//@ is "$.index[?(@.name=='not')].deprecation" null | ||
pub fn not() {} | ||
|
||
//@ is "$.index[*][?(@.name=='raw')].attrs" [] | ||
//@ is "$.index[*][?(@.name=='raw')].deprecation" '{"since": null, "note": null}' | ||
//@ is "$.index[?(@.name=='raw')].attrs" [] | ||
//@ is "$.index[?(@.name=='raw')].deprecation" '{"since": null, "note": null}' | ||
#[deprecated] | ||
pub fn raw() {} | ||
|
||
//@ is "$.index[*][?(@.name=='equals_string')].attrs" [] | ||
//@ is "$.index[*][?(@.name=='equals_string')].deprecation" '{"since": null, "note": "here is a reason"}' | ||
//@ is "$.index[?(@.name=='equals_string')].attrs" [] | ||
//@ is "$.index[?(@.name=='equals_string')].deprecation" '{"since": null, "note": "here is a reason"}' | ||
#[deprecated = "here is a reason"] | ||
pub fn equals_string() {} | ||
|
||
//@ is "$.index[*][?(@.name=='since')].attrs" [] | ||
//@ is "$.index[*][?(@.name=='since')].deprecation" '{"since": "yoinks ago", "note": null}' | ||
//@ is "$.index[?(@.name=='since')].attrs" [] | ||
//@ is "$.index[?(@.name=='since')].deprecation" '{"since": "yoinks ago", "note": null}' | ||
#[deprecated(since = "yoinks ago")] | ||
pub fn since() {} | ||
|
||
//@ is "$.index[*][?(@.name=='note')].attrs" [] | ||
//@ is "$.index[*][?(@.name=='note')].deprecation" '{"since": null, "note": "7"}' | ||
//@ is "$.index[?(@.name=='note')].attrs" [] | ||
//@ is "$.index[?(@.name=='note')].deprecation" '{"since": null, "note": "7"}' | ||
#[deprecated(note = "7")] | ||
pub fn note() {} | ||
|
||
//@ is "$.index[*][?(@.name=='since_and_note')].attrs" [] | ||
//@ is "$.index[*][?(@.name=='since_and_note')].deprecation" '{"since": "tomorrow", "note": "sorry"}' | ||
//@ is "$.index[?(@.name=='since_and_note')].attrs" [] | ||
//@ is "$.index[?(@.name=='since_and_note')].deprecation" '{"since": "tomorrow", "note": "sorry"}' | ||
#[deprecated(since = "tomorrow", note = "sorry")] | ||
pub fn since_and_note() {} | ||
|
||
//@ is "$.index[*][?(@.name=='note_and_since')].attrs" [] | ||
//@ is "$.index[*][?(@.name=='note_and_since')].deprecation" '{"since": "a year from tomorrow", "note": "your welcome"}' | ||
//@ is "$.index[?(@.name=='note_and_since')].attrs" [] | ||
//@ is "$.index[?(@.name=='note_and_since')].deprecation" '{"since": "a year from tomorrow", "note": "your welcome"}' | ||
#[deprecated(note = "your welcome", since = "a year from tomorrow")] | ||
pub fn note_and_since() {} | ||
|
||
//@ is "$.index[*][?(@.name=='neither_but_parens')].attrs" [] | ||
//@ is "$.index[*][?(@.name=='neither_but_parens')].deprecation" '{"since": null, "note": null}' | ||
//@ is "$.index[?(@.name=='neither_but_parens')].attrs" [] | ||
//@ is "$.index[?(@.name=='neither_but_parens')].deprecation" '{"since": null, "note": null}' | ||
#[deprecated()] | ||
pub fn neither_but_parens() {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
//@ edition: 2021 | ||
#![no_std] | ||
|
||
//@ is "$.index[*][?(@.name=='example')].attrs" '["#[export_name = \"altered\"]"]' | ||
//@ is "$.index[?(@.name=='example')].attrs" '["#[export_name = \"altered\"]"]' | ||
#[export_name = "altered"] | ||
pub extern "C" fn example() {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#![no_std] | ||
|
||
//@ is "$.index[*][?(@.name=='example')].attrs" '["#[must_use]"]' | ||
//@ is "$.index[?(@.name=='example')].attrs" '["#[must_use]"]' | ||
#[must_use] | ||
pub fn example() -> impl Iterator<Item = i64> {} | ||
|
||
//@ is "$.index[*][?(@.name=='explicit_message')].attrs" '["#[must_use = \"does nothing if you do not use it\"]"]' | ||
//@ is "$.index[?(@.name=='explicit_message')].attrs" '["#[must_use = \"does nothing if you do not use it\"]"]' | ||
#[must_use = "does nothing if you do not use it"] | ||
pub fn explicit_message() -> impl Iterator<Item = i64> {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
//@ edition: 2021 | ||
#![no_std] | ||
|
||
//@ is "$.index[*][?(@.name=='example')].attrs" '["#[no_mangle]"]' | ||
//@ is "$.index[?(@.name=='example')].attrs" '["#[no_mangle]"]' | ||
#[no_mangle] | ||
pub extern "C" fn example() {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.