]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/unevaluated_fixed_size_array_len.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / unevaluated_fixed_size_array_len.stderr
index 6e959da99397b9b31f31f3638a21c8ef40ffb40e..200cf2a994d82d0fe3f9ed514a56e7c74f32df6d 100644 (file)
@@ -1,5 +1,5 @@
 error[E0277]: the trait bound `[(); 0]: Foo` is not satisfied
-  --> $DIR/unevaluated_fixed_size_array_len.rs:22:5
+  --> $DIR/unevaluated_fixed_size_array_len.rs:12:5
    |
 LL |     <[(); 0] as Foo>::foo() //~ ERROR E0277
    |     ^^^^^^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `[(); 0]`
@@ -7,7 +7,7 @@ LL |     <[(); 0] as Foo>::foo() //~ ERROR E0277
    = help: the following implementations were found:
              <[(); 1] as Foo>
 note: required by `Foo::foo`
-  --> $DIR/unevaluated_fixed_size_array_len.rs:14:5
+  --> $DIR/unevaluated_fixed_size_array_len.rs:4:5
    |
 LL |     fn foo();
    |     ^^^^^^^^^