rust/src/test
bors ba0e1cd814 Auto merge of #25609 - nikomatsakis:const-fn, r=pnkfelix
This is a port of @eddyb's `const-fn` branch. I rebased it, tweaked a few things, and added tests as well as a feature gate. The set of tests is still pretty rudimentary, I'd appreciate suggestions on new tests to write. Also, a double-check that the feature-gate covers all necessary cases.

One question: currently, the feature-gate allows the *use* of const functions from stable code, just not the definition. This seems to fit our usual strategy, and implies that we might (perhaps) allow some constant functions in libstd someday, even before stabilizing const-fn, if we were willing to commit to the existence of const fns but found some details of their impl unsatisfactory.

r? @pnkfelix
2015-05-24 11:12:34 +00:00
..
auxiliary Auto merge of #25168 - Manishearth:register_attr, r=eddyb 2015-05-24 09:38:26 +00:00
bench Auto merge of #24920 - alexcrichton:duration, r=aturon 2015-05-14 18:18:39 +00:00
codegen Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
compile-fail Make various fixes: 2015-05-21 11:47:30 -04:00
compile-fail-fulldeps Auto merge of #25168 - Manishearth:register_attr, r=eddyb 2015-05-24 09:38:26 +00:00
debuginfo Update tests to not use old ~ syntax 2015-05-03 20:16:03 -04:00
parse-fail Clarify the error message for malformed extern crate statements 2015-05-16 22:35:59 +12:00
pretty Correct pretty-printing of type Foo<T> where T: Bound = ...; 2015-05-04 10:21:39 +02:00
run-fail Fix the tests broken by replacing task with thread 2015-05-09 04:04:08 +09:00
run-fail-fulldeps syntax: refactor (Span)Handler and ParseSess constructors to be methods. 2015-05-14 01:47:56 +03:00
run-make Fix ICE trying to pass DST to C functions 2015-05-21 10:46:30 +02:00
run-pass Auto merge of #25609 - nikomatsakis:const-fn, r=pnkfelix 2015-05-24 11:12:34 +00:00
run-pass-fulldeps Fix test run-pass-fulldeps\issue-15149.rs on Windows 2015-05-19 20:37:17 +03:00
run-pass-valgrind Address review commets 2015-05-19 17:42:14 +03:00
rustdoc rustdoc: Add Associated Constants section 2015-05-09 12:20:45 +02:00