summaryrefslogtreecommitdiffstats
path: root/tests/ui/kinds-of-primitive-impl.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:41 +0000
commit4f9fe856a25ab29345b90e7725509e9ee38a37be (patch)
treee4ffd8a9374cae7b21f7cbfb352927e0e074aff6 /tests/ui/kinds-of-primitive-impl.stderr
parentAdding upstream version 1.68.2+dfsg1. (diff)
downloadrustc-upstream/1.69.0+dfsg1.tar.xz
rustc-upstream/1.69.0+dfsg1.zip
Adding upstream version 1.69.0+dfsg1.upstream/1.69.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--tests/ui/kinds-of-primitive-impl.stderr16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/ui/kinds-of-primitive-impl.stderr b/tests/ui/kinds-of-primitive-impl.stderr
index f4dbd1c40..21aac58f1 100644
--- a/tests/ui/kinds-of-primitive-impl.stderr
+++ b/tests/ui/kinds-of-primitive-impl.stderr
@@ -1,32 +1,32 @@
error[E0390]: cannot define inherent `impl` for primitive types
- --> $DIR/kinds-of-primitive-impl.rs:1:6
+ --> $DIR/kinds-of-primitive-impl.rs:1:1
|
LL | impl u8 {
- | ^^
+ | ^^^^^^^
|
= help: consider using an extension trait instead
error[E0390]: cannot define inherent `impl` for primitive types
- --> $DIR/kinds-of-primitive-impl.rs:6:6
+ --> $DIR/kinds-of-primitive-impl.rs:6:1
|
LL | impl str {
- | ^^^
+ | ^^^^^^^^
|
= help: consider using an extension trait instead
error[E0390]: cannot define inherent `impl` for primitive types
- --> $DIR/kinds-of-primitive-impl.rs:12:6
+ --> $DIR/kinds-of-primitive-impl.rs:12:1
|
LL | impl char {
- | ^^^^
+ | ^^^^^^^^^
|
= help: consider using an extension trait instead
error[E0390]: cannot define inherent `impl` for primitive types
- --> $DIR/kinds-of-primitive-impl.rs:21:6
+ --> $DIR/kinds-of-primitive-impl.rs:21:1
|
LL | impl &MyType {
- | ^^^^^^^
+ | ^^^^^^^^^^^^
|
= help: consider using an extension trait instead
= note: you could also try moving the reference to uses of `MyType` (such as `self`) within the implementation