]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/rfc-2632-const-trait-impl/const-and-non-const-impl.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / rfc-2632-const-trait-impl / const-and-non-const-impl.stderr
index b57472d9595f9da068573eb34505f9f786cc7df9..2b4fa66ecf2820561246e54823601eadcdfcbe34 100644 (file)
@@ -5,7 +5,7 @@ LL | impl const std::ops::Add for i32 {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: conflicting implementation in crate `core`:
-           - impl std::ops::Add for i32;
+           - impl Add for i32;
 
 error[E0119]: conflicting implementations of trait `std::ops::Add` for type `Int`:
   --> $DIR/const-and-non-const-impl.rs:24:1