I like the idea, but it's there's not really a pointed quote in that comment I think.^^ Maybe except for this part.
But what's the point of a const function then?
It makes code like this compile:
const FOO: i32 = my_const_fn(13);
That code is rejected unless
That is the only effect
fn. There is no effect on optimizations or runtime code.
(Slightly edited as well.) But still that's rather long. And we're starting to artifically construct a quote rather than take a real one.^^