diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2025-02-01 22:26:07 +0100 |
|---|---|---|
| committer | León Orell Valerian Liehr <me@fmease.dev> | 2025-02-01 22:26:07 +0100 |
| commit | 43b729db2f248e3cd6daa113813c5bd2ef43e84f (patch) | |
| tree | 2aa19f4636a04b7deddf2b2dee969d9cdc6cc988 | |
| parent | 01a26c026ddd9f0da0307468b07b003b8759fc4a (diff) | |
| download | rust-43b729db2f248e3cd6daa113813c5bd2ef43e84f.tar.gz rust-43b729db2f248e3cd6daa113813c5bd2ef43e84f.zip | |
Fix two malformed error annotations in a UI test
| -rw-r--r-- | tests/ui/typeck/path-to-method-sugg-unresolved-expr.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/typeck/path-to-method-sugg-unresolved-expr.rs b/tests/ui/typeck/path-to-method-sugg-unresolved-expr.rs index 7b4f62fea0c..e095850879c 100644 --- a/tests/ui/typeck/path-to-method-sugg-unresolved-expr.rs +++ b/tests/ui/typeck/path-to-method-sugg-unresolved-expr.rs @@ -5,6 +5,6 @@ fn main() { let page_size = page_size::get(); //~^ ERROR failed to resolve: use of unresolved module or unlinked crate `page_size` //~| NOTE use of unresolved module or unlinked crate `page_size` - //@[cargo-invoked]~^^^ HELP if you wanted to use a crate named `page_size`, use `cargo add - //@[only-rustc]~^^^^ HELP you might be missing a crate named `page_size` + //[cargo-invoked]~^^^ HELP if you wanted to use a crate named `page_size`, use `cargo add + //[only-rustc]~^^^^ HELP you might be missing a crate named `page_size` } |
