]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-6738.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-6738.stderr
index a428ff7e91faddb04e0a80a4136be4bcf0dfff91..f97d899c2d3f316f4d24236be982113917f0bfbf 100644 (file)
@@ -9,7 +9,7 @@ LL |         self.x += v.x;
 help: consider restricting type parameter `T`
    |
 LL | impl<T: std::ops::AddAssign> Foo<T> {
-   |       ^^^^^^^^^^^^^^^^^^^^^
+   |       +++++++++++++++++++++
 
 error: aborting due to previous error