]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/error-codes/E0445.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / error-codes / E0445.stderr
index 1a66e0a2f975800c51b0e825c52dff0ae3da9c20..23b7a335047672e35dff63271be333171b9fa246 100644 (file)
@@ -5,7 +5,7 @@ LL | trait Foo {
    | --------- `Foo` declared as private
 ...
 LL | pub trait Bar : Foo {}
-   | ^^^^^^^^^^^^^^^^^^^^^^ can't leak private trait
+   | ^^^^^^^^^^^^^^^^^^^ can't leak private trait
 
 error[E0445]: private trait `Foo` in public interface
   --> $DIR/E0445.rs:7:1
@@ -14,7 +14,7 @@ LL | trait Foo {
    | --------- `Foo` declared as private
 ...
 LL | pub struct Bar2<T: Foo>(pub T);
-   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private trait
+   | ^^^^^^^^^^^^^^^^^^^^^^^ can't leak private trait
 
 error[E0445]: private trait `Foo` in public interface
   --> $DIR/E0445.rs:9:1