diff options
| author | Jonathan Birk <jona@jbirk.de> | 2024-09-26 17:10:03 +0000 |
|---|---|---|
| committer | Jonathan Birk <jona@jbirk.de> | 2024-09-26 17:17:11 +0000 |
| commit | b89c6204da4331d5d7c181e5c999cd34bfc54e10 (patch) | |
| tree | 7ca1532fc7a25e8772689f7fd3aedb31369cc6ef /tests/ui/rfcs/rfc-2632-const-trait-impl | |
| parent | ca94dd5beac8252f03047a1eeb6a7c456b467c03 (diff) | |
| download | rust-b89c6204da4331d5d7c181e5c999cd34bfc54e10.tar.gz rust-b89c6204da4331d5d7c181e5c999cd34bfc54e10.zip | |
Make new information notes instead of labels
Diffstat (limited to 'tests/ui/rfcs/rfc-2632-const-trait-impl')
| -rw-r--r-- | tests/ui/rfcs/rfc-2632-const-trait-impl/const-and-non-const-impl.stderr | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ui/rfcs/rfc-2632-const-trait-impl/const-and-non-const-impl.stderr b/tests/ui/rfcs/rfc-2632-const-trait-impl/const-and-non-const-impl.stderr index 4dff35c46e8..cf7af41cd4e 100644 --- a/tests/ui/rfcs/rfc-2632-const-trait-impl/const-and-non-const-impl.stderr +++ b/tests/ui/rfcs/rfc-2632-const-trait-impl/const-and-non-const-impl.stderr @@ -30,12 +30,12 @@ error[E0117]: only traits defined in the current crate can be implemented for pr | LL | impl const std::ops::Add for i32 { | ^^^^^^^^^^^-------------^^^^^--- - | | | | - | | | `i32` is not defined in the current crate - | | `i32` is not defined in the current crate - | 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 + | | | + | | `i32` is not defined in the current crate + | `i32` is not defined in the current crate | + = 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 4 previous errors |
