summary refs log tree commit diff
path: root/src/test/ui/chalkify
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-09-04 10:17:59 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-09-22 11:33:12 -0700
commitb370c111fdb2bc6c6a67bc0ebb7bc4946344a15a (patch)
treeb950ce1553bef3e47eb3db6fc7085e629fe1fd16 /src/test/ui/chalkify
parent4ff32c07da9d97e6dc315a4a5c9ffbb797cb27bb (diff)
downloadrust-b370c111fdb2bc6c6a67bc0ebb7bc4946344a15a.tar.gz
rust-b370c111fdb2bc6c6a67bc0ebb7bc4946344a15a.zip
On obligation errors point at the unfulfilled binding when possible
Diffstat (limited to 'src/test/ui/chalkify')
-rw-r--r--src/test/ui/chalkify/type_inference.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/chalkify/type_inference.stderr b/src/test/ui/chalkify/type_inference.stderr
index 15c52f461c1..c6bc306e45a 100644
--- a/src/test/ui/chalkify/type_inference.stderr
+++ b/src/test/ui/chalkify/type_inference.stderr
@@ -11,7 +11,7 @@ error[E0277]: the trait bound `{float}: Bar` is not satisfied
   --> $DIR/type_inference.rs:25:5
    |
 LL | fn only_bar<T: Bar>(_x: T) { }
-   | -------------------------- required by `only_bar`
+   |    --------    --- required by this bound in `only_bar`
 ...
 LL |     only_bar(x);
    |     ^^^^^^^^ the trait `Bar` is not implemented for `{float}`