diff options
| author | Camelid <camelidcamel@gmail.com> | 2020-12-31 12:47:09 -0800 |
|---|---|---|
| committer | Camelid <camelidcamel@gmail.com> | 2020-12-31 12:47:09 -0800 |
| commit | 2c405aea5d23b9afb33d447613d131b5ae4ef049 (patch) | |
| tree | 3d51f43a60e9e546ed280e854bb87331028d0cf3 /src/test/rustdoc/inline_local | |
| parent | 44e3daf5eee8263dfc3a2509e78ddd1f6f783a0e (diff) | |
| download | rust-2c405aea5d23b9afb33d447613d131b5ae4ef049.tar.gz rust-2c405aea5d23b9afb33d447613d131b5ae4ef049.zip | |
Fix tests that incorrectly used `!@has` instead of `@!has`
The command is `@!has`, not `!@has`. I don't think these checks were doing anything before! Ideally we would accept `!@has` as well, or at least fail tests that use `!@has`. The current behavior seems to be silently ignoring the check, which is very confusing.
Diffstat (limited to 'src/test/rustdoc/inline_local')
| -rw-r--r-- | src/test/rustdoc/inline_local/trait-vis.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc/inline_local/trait-vis.rs b/src/test/rustdoc/inline_local/trait-vis.rs index a997d1e25f0..a9b54fbe79e 100644 --- a/src/test/rustdoc/inline_local/trait-vis.rs +++ b/src/test/rustdoc/inline_local/trait-vis.rs @@ -14,5 +14,5 @@ mod asdf { // @has trait_vis/struct.SomeStruct.html // @has - '//code' 'impl ThisTrait for SomeStruct' -// !@has - '//code' 'impl PrivateTrait for SomeStruct' +// @!has - '//code' 'impl PrivateTrait for SomeStruct' pub use asdf::SomeStruct; |
