Make librust satisfy noncopyable stack closures
This commit is contained in:
parent
ff4ab9e147
commit
98c169e4e5
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user