diff options
| author | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2016-11-15 23:25:59 +0200 |
|---|---|---|
| committer | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2016-12-02 00:54:22 +0200 |
| commit | 242cd7ebe295d44c7b612e2e1da8b83412d31f49 (patch) | |
| tree | efd32ff8f3e43532eb32d66e57c676375920885e /src/libsyntax | |
| parent | 908dba0c9477b7dd022a236cb1514ddfca9369f2 (diff) | |
| download | rust-242cd7ebe295d44c7b612e2e1da8b83412d31f49.tar.gz rust-242cd7ebe295d44c7b612e2e1da8b83412d31f49.zip | |
limit the length of types in monomorphization
This adds the new insta-stable `#![type_size_limit]` crate attribute to control the limit, and is obviously a [breaking-change] fixable by that.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index aa6a29b78b0..2a745e979a7 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -738,6 +738,7 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG ("no_main", CrateLevel, Ungated), ("no_builtins", CrateLevel, Ungated), ("recursion_limit", CrateLevel, Ungated), + ("type_length_limit", CrateLevel, Ungated), ]; // cfg(...)'s that are feature gated |
