From 3da712381d0d264e31dcfaf9b29bbe8d4a8d1474 Mon Sep 17 00:00:00 2001 From: toidiu Date: Wed, 18 Apr 2018 22:26:21 -0400 Subject: Implement outlives requirements inference for dyn and projections. Add tests, documentation and attr for feature. --- src/libsyntax/feature_gate.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/libsyntax') diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 3a02646d0af..4293fe9125d 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -795,6 +795,12 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG attribute is an experimental \ feature", cfg_fn!(needs_panic_runtime))), + ("rustc_outlives", Normal, Gated(Stability::Unstable, + "rustc_attrs", + "the `#[rustc_outlives]` attribute \ + is just used for rustc unit tests \ + and will never be stable", + cfg_fn!(rustc_attrs))), ("rustc_variance", Normal, Gated(Stability::Unstable, "rustc_attrs", "the `#[rustc_variance]` attribute \ -- cgit 1.4.1-3-g733a5