diff options
| author | bors <bors@rust-lang.org> | 2018-05-26 01:09:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-05-26 01:09:02 +0000 |
| commit | 49a97ef010c731974f167174bb2e10465dfe745b (patch) | |
| tree | 4b05c9e184d5d8735b55741d9049628911f96429 /src/libsyntax | |
| parent | 07c415c2154f29d6dce8da0154ef41c8a5497fbf (diff) | |
| parent | 3da712381d0d264e31dcfaf9b29bbe8d4a8d1474 (diff) | |
| download | rust-49a97ef010c731974f167174bb2e10465dfe745b.tar.gz rust-49a97ef010c731974f167174bb2e10465dfe745b.zip | |
Auto merge of #50070 - toidiu:ak-2093-outlives, r=nikomatsakis
2093 infer outlives requirements Tracking issue: #44493 RFC: https://github.com/rust-lang/rfcs/pull/2093 - [x] add `rustc_attrs` flag - [x] use `RequirePredicates` type - [x] handle explicit predicates on `dyn` Trait - [x] handle explicit predicates on projections - [x] more tests - [x] remove `unused`, `dead_code` and etc.. - [x] documentation
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 \ |
