diff options
| author | toidiu <toidiu@protonmail.com> | 2018-04-18 22:26:21 -0400 |
|---|---|---|
| committer | toidiu <apoorv@toidiu.com> | 2018-05-25 09:58:00 -0400 |
| commit | 3da712381d0d264e31dcfaf9b29bbe8d4a8d1474 (patch) | |
| tree | 3168a9993ed19ecd3a73336f642c4ff4c97c6f69 /src/libsyntax | |
| parent | b86d909f8635f82710c1bf74647c957051cbb23a (diff) | |
| download | rust-3da712381d0d264e31dcfaf9b29bbe8d4a8d1474.tar.gz rust-3da712381d0d264e31dcfaf9b29bbe8d4a8d1474.zip | |
Implement outlives requirements inference for dyn and projections.
Add tests, documentation and attr for feature.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 6 |
1 files changed, 6 insertions, 0 deletions
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 \ |
