Make librust satisfy noncopyable stack closures

This commit is contained in:
Ben Blum 2013-06-24 20:31:29 -04:00
parent ff4ab9e147
commit 98c169e4e5

View File

@ -57,13 +57,13 @@ impl ValidUsage {
}
enum Action<'self> {
Call(&'self fn(args: &[~str]) -> ValidUsage),
CallMain(&'static str, &'self fn()),
Call(&'self fn:Copy(args: &[~str]) -> ValidUsage),
CallMain(&'static str, &'self fn:Copy()),
}
enum UsageSource<'self> {
UsgStr(&'self str),
UsgCall(&'self fn()),
UsgCall(&'self fn:Copy()),
}
struct Command<'self> {