diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2019-09-04 17:36:01 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2019-09-22 11:33:12 -0700 |
| commit | c9d05aa9ceb82f31a86a548eaaffab8bdb229d76 (patch) | |
| tree | 6e2272f04a7e71606b45b5f713b47e6808ccc7fb /src/test/ui/feature-gates | |
| parent | b370c111fdb2bc6c6a67bc0ebb7bc4946344a15a (diff) | |
| download | rust-c9d05aa9ceb82f31a86a548eaaffab8bdb229d76.tar.gz rust-c9d05aa9ceb82f31a86a548eaaffab8bdb229d76.zip | |
Point at correct span for parenthesized types
Diffstat (limited to 'src/test/ui/feature-gates')
| -rw-r--r-- | src/test/ui/feature-gates/feature-gate-unboxed-closures-manual-impls.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-unboxed-closures-manual-impls.stderr b/src/test/ui/feature-gates/feature-gate-unboxed-closures-manual-impls.stderr index fc4317b316a..c05379c71ee 100644 --- a/src/test/ui/feature-gates/feature-gate-unboxed-closures-manual-impls.stderr +++ b/src/test/ui/feature-gates/feature-gate-unboxed-closures-manual-impls.stderr @@ -44,10 +44,10 @@ LL | impl Fn<()> for Foo { = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable error[E0229]: associated type bindings are not allowed here - --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:15:12 + --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:15:6 | LL | impl FnOnce() for Foo1 { - | ^^ associated type not allowed here + | ^^^^^^^^ associated type not allowed here error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change. Use parenthetical notation (Fn(Foo, Bar) -> Baz) instead --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:21:6 |
