diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2019-09-04 10:17:59 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2019-09-22 11:33:12 -0700 |
| commit | b370c111fdb2bc6c6a67bc0ebb7bc4946344a15a (patch) | |
| tree | b950ce1553bef3e47eb3db6fc7085e629fe1fd16 /src/test/ui/mut | |
| parent | 4ff32c07da9d97e6dc315a4a5c9ffbb797cb27bb (diff) | |
| download | rust-b370c111fdb2bc6c6a67bc0ebb7bc4946344a15a.tar.gz rust-b370c111fdb2bc6c6a67bc0ebb7bc4946344a15a.zip | |
On obligation errors point at the unfulfilled binding when possible
Diffstat (limited to 'src/test/ui/mut')
| -rw-r--r-- | src/test/ui/mut/mutable-enum-indirect.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/mut/mutable-enum-indirect.stderr b/src/test/ui/mut/mutable-enum-indirect.stderr index 4efb10b5629..0290efc3d96 100644 --- a/src/test/ui/mut/mutable-enum-indirect.stderr +++ b/src/test/ui/mut/mutable-enum-indirect.stderr @@ -2,7 +2,7 @@ error[E0277]: `NoSync` cannot be shared between threads safely --> $DIR/mutable-enum-indirect.rs:17:5 | LL | fn bar<T: Sync>(_: T) {} - | --------------------- required by `bar` + | --- ---- required by this bound in `bar` ... LL | bar(&x); | ^^^ `NoSync` cannot be shared between threads safely |
