about summary refs log tree commit diff
path: root/tests/ui/errors/issue-99572-impl-trait-on-pointer.stderr
diff options
context:
space:
mode:
authorJonathan Birk <jona@jbirk.de>2024-09-26 17:10:03 +0000
committerJonathan Birk <jona@jbirk.de>2024-09-26 17:17:11 +0000
commitb89c6204da4331d5d7c181e5c999cd34bfc54e10 (patch)
tree7ca1532fc7a25e8772689f7fd3aedb31369cc6ef /tests/ui/errors/issue-99572-impl-trait-on-pointer.stderr
parentca94dd5beac8252f03047a1eeb6a7c456b467c03 (diff)
downloadrust-b89c6204da4331d5d7c181e5c999cd34bfc54e10.tar.gz
rust-b89c6204da4331d5d7c181e5c999cd34bfc54e10.zip
Make new information notes instead of labels
Diffstat (limited to 'tests/ui/errors/issue-99572-impl-trait-on-pointer.stderr')
-rw-r--r--tests/ui/errors/issue-99572-impl-trait-on-pointer.stderr16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/ui/errors/issue-99572-impl-trait-on-pointer.stderr b/tests/ui/errors/issue-99572-impl-trait-on-pointer.stderr
index 214618d6636..bd40b059e58 100644
--- a/tests/ui/errors/issue-99572-impl-trait-on-pointer.stderr
+++ b/tests/ui/errors/issue-99572-impl-trait-on-pointer.stderr
@@ -3,11 +3,11 @@ error[E0117]: only traits defined in the current crate can be implemented for ar
    |
 LL | impl fmt::Display for *mut LocalType {
    | ^^^^^^^^^^^^^^^^^^^^^^--------------
-   | |                     |
-   | |                     `*mut LocalType` is not defined in the current crate because raw pointers are always foreign
-   | impl doesn't have any local type before any uncovered type parameters
-   | for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules
+   |                       |
+   |                       `*mut LocalType` is not defined in the current crate because raw pointers are always foreign
    |
+   = note: impl doesn't have any local type before any uncovered type parameters
+   = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules
    = note: define and implement a trait or new type instead
 help: consider introducing a new wrapper type
    |
@@ -21,11 +21,11 @@ error[E0117]: only traits defined in the current crate can be implemented for ar
    |
 LL | impl<T> marker::Copy for *mut T {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^------
-   | |                        |
-   | |                        `*mut T` is not defined in the current crate because raw pointers are always foreign
-   | impl doesn't have any local type before any uncovered type parameters
-   | for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules
+   |                          |
+   |                          `*mut T` is not defined in the current crate because raw pointers are always foreign
    |
+   = note: impl doesn't have any local type before any uncovered type parameters
+   = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules
    = note: define and implement a trait or new type instead
 
 error: aborting due to 2 previous errors