about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-12-09 09:24:44 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-12-09 09:24:44 -0800
commit26c24221e47f76aef8c479ec66c01700df4d6ebb (patch)
tree4dc924bf81a86b91159f04b1bf41ff60127fffa4 /src/libcore
parent60f97fc44aa745300ccda73e4f7d3c1827aacda9 (diff)
parente8524198e3931373f5e097dece21e36d21c4a537 (diff)
downloadrust-26c24221e47f76aef8c479ec66c01700df4d6ebb.tar.gz
rust-26c24221e47f76aef8c479ec66c01700df4d6ebb.zip
rollup merge of #19587: huonw/closure-feature-gate
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 09d5061a02f..84d84cbd5e1 100644
--- a/src/libcore/lib.rs
+++ b/src/libcore/lib.rs
@@ -59,7 +59,7 @@
 #![allow(unknown_features, raw_pointer_deriving)]
 #![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;