diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-11-03 15:29:29 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-11-03 15:55:58 -0800 |
| commit | eb793616dcf0b1e4cc416dea3bec0ef5b80834a9 (patch) | |
| tree | 5f05f6f406b139dc8b58271b806d0f4811e47d10 /src/libsyntax/feature_gate.rs | |
| parent | 8494368d568da3303179cf2d523fc673067540d4 (diff) | |
| parent | 3c84e317210d0eaa9014179c9a998449571ad8aa (diff) | |
| download | rust-eb793616dcf0b1e4cc416dea3bec0ef5b80834a9.tar.gz rust-eb793616dcf0b1e4cc416dea3bec0ef5b80834a9.zip | |
rollup merge of #18506 : nikomatsakis/assoc-type-bounds
Diffstat (limited to 'src/libsyntax/feature_gate.rs')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 330e4552e2f..7701f495f72 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -260,7 +260,7 @@ impl<'a, 'v> Visitor<'v> for Context<'a> { ast::RequiredMethod(_) | ast::ProvidedMethod(_) => {} ast::TypeTraitItem(ref ti) => { self.gate_feature("associated_types", - ti.span, + ti.ty_param.span, "associated types are experimental") } } |
