forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#137540 - yotamofek:pr/more-deprecated-test-…
…directives, r=notriddle Fix (more) test directives that were accidentally ignored Continuation of rust-lang#137099 , caught by rust-lang#137103 (and needed to unblock that one). These test directives were accidentally using the old (`// ``@`)`` syntax
- Loading branch information
Showing
14 changed files
with
24 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
// @has foobar/fn.ok.html '//*[@class="docblock scraped-example-list"]//*[@class="prev"]' '' | ||
// @has foobar/fn.ok.html '//*[@class="more-scraped-examples"]' '' | ||
// @has src/ex/ex.rs.html | ||
// @has foobar/fn.ok.html '//a[@href="../src/ex/ex.rs.html#2"]' '' | ||
//@ has foobar/fn.ok.html '//*[@class="more-scraped-examples"]' '' | ||
//@ has src/ex/ex.rs.html | ||
//@ has foobar/fn.ok.html '//a[@href="../src/ex/ex.rs.html#2"]' '' | ||
|
||
pub fn ok() {} |
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,6 +1,6 @@ | ||
// @has foobar/fn.ok.html '//*[@class="docblock scraped-example-list"]' 'ex2' | ||
// @has foobar/fn.ok.html '//*[@class="more-scraped-examples"]' 'ex1' | ||
// @has foobar/fn.ok.html '//*[@class="highlight focus"]' 'ok' | ||
// @has foobar/fn.ok.html '//*[@class="highlight"]' 'ok' | ||
//@ has foobar/fn.ok.html '//*[@class="docblock scraped-example-list"]' 'ex2' | ||
//@ has foobar/fn.ok.html '//*[@class="more-scraped-examples"]' 'ex1' | ||
//@ has foobar/fn.ok.html '//*[@class="highlight focus"]' 'ok' | ||
//@ has foobar/fn.ok.html '//*[@class="highlight"]' 'ok' | ||
|
||
pub fn ok(_x: i32) {} |
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,3 +1,3 @@ | ||
// @has foobar/fn.ok.html '//*[@class="docblock scraped-example-list"]' '' | ||
//@ has foobar/fn.ok.html '//*[@class="docblock scraped-example-list"]' '' | ||
|
||
pub fn ok() {} |
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,3 +1,3 @@ | ||
// @has foobar/fn.ok.html '//*[@class="docblock scraped-example-list"]//code' ' ' | ||
//@ has foobar/fn.ok.html '//*[@class="docblock scraped-example-list"]//code' ' ' | ||
|
||
pub fn ok() {} |
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,4 +1,4 @@ | ||
// @has test.css | ||
// @has foo/struct.Foo.html | ||
// @has - '//*[@name="rustdoc-vars"]/@data-themes' 'test' | ||
//@ has test.css | ||
//@ has foo/struct.Foo.html | ||
//@ has - '//*[@name="rustdoc-vars"]/@data-themes' 'test' | ||
pub struct Foo; |
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,2 +1,2 @@ | ||
// @has foobar/fn.ok.html | ||
//@ has foobar/fn.ok.html | ||
pub fn ok() {} |
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,2 +1,2 @@ | ||
// @has foobar/fn.ok.html | ||
//@ has foobar/fn.ok.html | ||
pub fn ok() {} |
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,2 +1,2 @@ | ||
// @has foobar/fn.ok.html | ||
//@ has foobar/fn.ok.html | ||
pub fn ok() {} |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
//@ aux-crate:panic_item=panic-item.rs | ||
//@ has unused_extern_crate/index.html |
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,4 +1,4 @@ | ||
// @compile-flags: -Zlint-mir | ||
//@ compile-flags: -Zlint-mir | ||
//@ check-pass | ||
|
||
#![feature(inline_const_pat)] | ||
|