]> git.lizzy.rs Git - rust.git/commitdiff
update stderr file
authorBastian Kauschke <bastian_kauschke@hotmail.de>
Sun, 20 Sep 2020 07:32:59 +0000 (09:32 +0200)
committerBastian Kauschke <bastian_kauschke@hotmail.de>
Sun, 20 Sep 2020 08:03:00 +0000 (10:03 +0200)
src/test/ui/const-generics/issues/issue-76595.stderr

index 4235bdc9b893ce778cf8d590af07ea2f32fd09e6..2e457595393ca6e65d79cc5520836ce4ffe093ea 100644 (file)
@@ -8,13 +8,12 @@ error: constant expression depends on a generic parameter
   --> $DIR/issue-76595.rs:15:5
    |
 LL | fn test<T, const P: usize>() where Bool<{core::mem::size_of::<T>() > 4}>: True {
-   |    ---- required by a bound in this
+   |                                                                           ---- required by this bound in `test`
 ...
 LL |     test::<2>();
    |     ^^^^^^^^^
    |
    = note: this may fail depending on what value the parameter takes
-   = note: required by this bound in `test`
 
 error: aborting due to 2 previous errors