rust/src/librustdoc
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
..
clean Make various fixes: 2015-05-21 11:47:30 -04:00
html Auto merge of #25609 - nikomatsakis:const-fn, r=pnkfelix 2015-05-24 11:12:34 +00:00
core.rs syntax: refactor (Span)Handler and ParseSess constructors to be methods. 2015-05-14 01:47:56 +03:00
doctree.rs syntax: parse const fn for free functions and inherent methods. 2015-05-21 11:47:30 -04:00
externalfiles.rs Add generic conversion traits 2015-03-23 15:01:45 -07:00
flock.rs Test fixes and rebase conflicts, round 2 2015-03-31 15:56:33 -07:00
fold.rs rustdoc: Run external traits through filters 2015-04-07 17:54:33 -07:00
lib.rs libs: Move favicon URLs to HTTPS 2015-05-15 16:04:01 -07:00
markdown.rs Positive case of len() -> is_empty() 2015-04-14 20:26:03 -07:00
passes.rs Structural changes for associated constants 2015-04-23 21:02:25 -06:00
plugins.rs Test fixes and rebase conflicts, round 2 2015-03-27 13:43:42 -07:00
test.rs syntax: refactor (Span)Handler and ParseSess constructors to be methods. 2015-05-14 01:47:56 +03:00
visit_ast.rs Make various fixes: 2015-05-21 11:47:30 -04:00