summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/resolve-primitive-fallback.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/resolve/resolve-primitive-fallback.stderr9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/ui/resolve/resolve-primitive-fallback.stderr b/tests/ui/resolve/resolve-primitive-fallback.stderr
index 964302e92..f803f9da2 100644
--- a/tests/ui/resolve/resolve-primitive-fallback.stderr
+++ b/tests/ui/resolve/resolve-primitive-fallback.stderr
@@ -24,14 +24,13 @@ error[E0061]: this function takes 0 arguments but 1 argument was supplied
--> $DIR/resolve-primitive-fallback.rs:3:5
|
LL | std::mem::size_of(u16);
- | ^^^^^^^^^^^^^^^^^ --- argument unexpected
+ | ^^^^^^^^^^^^^^^^^ ---
+ | |
+ | unexpected argument
+ | help: remove the extra argument
|
note: function defined here
--> $SRC_DIR/core/src/mem/mod.rs:LL:COL
-help: remove the extra argument
- |
-LL | std::mem::size_of();
- | ~~
error: aborting due to 3 previous errors