about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-12-05 15:53:30 -0800
committerHuon Wilson <dbau.pp+github@gmail.com>2014-12-05 17:54:45 -0800
commite8524198e3931373f5e097dece21e36d21c4a537 (patch)
treebb850376f44e69f614b4426a89e7ca2ce7069f04 /src/libcore
parent4573da6f4ffb276c31773679fd19581fc15ded8f (diff)
downloadrust-e8524198e3931373f5e097dece21e36d21c4a537.tar.gz
rust-e8524198e3931373f5e097dece21e36d21c4a537.zip
Feature-gate explicit unboxed closure method calls & manual impls,
detect UFCS drop and allow UFCS methods to have explicit type parameters.

Work towards #18875.

Since code could previously call the methods & implement the traits
manually, this is a

[breaking-change]

Closes #19586. Closes #19375.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs
index 5ad9462daf2..51bf7ba0a2a 100644
--- a/src/libcore/lib.rs
+++ b/src/libcore/lib.rs
@@ -59,7 +59,7 @@
 #![allow(unknown_features)]
 #![feature(globs, intrinsics, lang_items, macro_rules, phase)]
 #![feature(simd, unsafe_destructor, slicing_syntax)]
-#![feature(default_type_params)]
+#![feature(default_type_params, unboxed_closures)]
 #![deny(missing_docs)]
 
 mod macros;