Automated fixes to follow Rust development

Applied fixes:
	*attribute fix (cf mozilla/rust#2569)
	*priv attribute removal (cf mozilla/rust@f2a5c7a179ab0fc0e415918c1fc5d280a9e02ede)
Merge pull request #7 from Geal/rustfix-yFN57

Automated fixes to follow Rust development