chris-morgan / anymap

A safe and convenient store for one value of each type
Other
326 stars 42 forks source link

Can't make all nickel.rs #11

Closed AAG81 closed 10 years ago

AAG81 commented 10 years ago

Could not compile anymap.

--- stderr src/lib.rs:56:41: 56:44 error: explicit lifetime bound required src/lib.rs:56 impl<'a> UncheckedAnyRefExt<'a> for &'a Any { ^~~ src/lib.rs:74:48: 74:51 error: explicit lifetime bound required src/lib.rs:74 impl<'a> UncheckedAnyMutRefExt<'a> for &'a mut Any { ^~~ src/lib.rs:111:31: 111:34 error: explicit lifetime bound required src/lib.rs:111 data: HashMap<TypeId, Box, TypeIdHasher>, ^~~ error: aborting due to 3 previous errors

[root@localhost nickel]# rustc -v rustc 0.12.0-pre-nightly (5419b2ca2 2014-08-29 22:16:20 +0000)