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:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:43 +0000
commit3e3e70d529d8c7d7c4d7bc4fefc9f109393b9245 (patch)
treedaf049b282ab10e8c3d03e409b3cd84ff3f7690c /tests/ui/kinds-of-primitive-impl.stderr
parentAdding debian version 1.68.2+dfsg1-1. (diff)
downloadrustc-3e3e70d529d8c7d7c4d7bc4fefc9f109393b9245.tar.xz
rustc-3e3e70d529d8c7d7c4d7bc4fefc9f109393b9245.zip
Merging upstream version 1.69.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/kinds-of-primitive-impl.stderr')
-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