forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#127968 - fmease:upd-jsondocck-directive-style…
…, r=GuillaumeGomez Update jsondocck directives to follow ui_test-style Context: Comment chain in rust-lang#125813. Follow-up to rust-lang#126788. Use the same temporary approach of "double parsing" until we figure out how we want to support compiletest/ui_test directive "add-ons" for child test runners like HtmlDocCk and JsonDocCk. I didn't touch much of jsondocck because I want to refactor it some other time (for robustness, maintainability and better diagnostics; basically by following a similar design of my WIP HtmlDocCk-next, cc rust-lang#125780). r? `@GuillaumeGomez`
- Loading branch information
Showing
131 changed files
with
1,095 additions
and
1,090 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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,12 +1,12 @@ | ||
#[repr(i8)] | ||
pub enum Ordering { | ||
// @is "$.index[*][?(@.name=='Less')].inner.variant.discriminant.expr" '"-1"' | ||
// @is "$.index[*][?(@.name=='Less')].inner.variant.discriminant.value" '"-1"' | ||
//@ is "$.index[*][?(@.name=='Less')].inner.variant.discriminant.expr" '"-1"' | ||
//@ is "$.index[*][?(@.name=='Less')].inner.variant.discriminant.value" '"-1"' | ||
Less = -1, | ||
// @is "$.index[*][?(@.name=='Equal')].inner.variant.discriminant.expr" '"0"' | ||
// @is "$.index[*][?(@.name=='Equal')].inner.variant.discriminant.value" '"0"' | ||
//@ is "$.index[*][?(@.name=='Equal')].inner.variant.discriminant.expr" '"0"' | ||
//@ is "$.index[*][?(@.name=='Equal')].inner.variant.discriminant.value" '"0"' | ||
Equal = 0, | ||
// @is "$.index[*][?(@.name=='Greater')].inner.variant.discriminant.expr" '"1"' | ||
// @is "$.index[*][?(@.name=='Greater')].inner.variant.discriminant.value" '"1"' | ||
//@ is "$.index[*][?(@.name=='Greater')].inner.variant.discriminant.expr" '"1"' | ||
//@ is "$.index[*][?(@.name=='Greater')].inner.variant.discriminant.value" '"1"' | ||
Greater = 1, | ||
} |
Oops, something went wrong.