Skip to content

Commit 43b729d

Browse files
committed
Fix two malformed error annotations in a UI test
1 parent 01a26c0 commit 43b729d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ui/typeck/path-to-method-sugg-unresolved-expr.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ fn main() {
55
let page_size = page_size::get();
66
//~^ ERROR failed to resolve: use of unresolved module or unlinked crate `page_size`
77
//~| NOTE use of unresolved module or unlinked crate `page_size`
8-
//@[cargo-invoked]~^^^ HELP if you wanted to use a crate named `page_size`, use `cargo add
9-
//@[only-rustc]~^^^^ HELP you might be missing a crate named `page_size`
8+
//[cargo-invoked]~^^^ HELP if you wanted to use a crate named `page_size`, use `cargo add
9+
//[only-rustc]~^^^^ HELP you might be missing a crate named `page_size`
1010
}

0 commit comments

Comments
 (0)