Install new pub/priv/export rules as defaults, old rules accessible under #[legacy_exports];
This commit is contained in:
parent
60443d4888
commit
dffe188991
277 changed files with 1174 additions and 120 deletions
|
@ -858,6 +858,7 @@ impl Error: to_str::ToStr {
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[legacy_exports];
|
||||
fn mk_dict(items: &[(~str, Json)]) -> Json {
|
||||
let d = map::HashMap();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue