librustc: Remove the const
declaration form everywhere
This commit is contained in:
parent
eba3367404
commit
85c9fc6f8f
157 changed files with 1031 additions and 1033 deletions
|
@ -121,7 +121,7 @@ fn fold_const(
|
|||
|
||||
#[test]
|
||||
fn should_add_const_types() {
|
||||
let doc = test::mk_doc(~"const a: bool = true;");
|
||||
let doc = test::mk_doc(~"static a: bool = true;");
|
||||
fail_unless!(doc.cratemod().consts()[0].sig == Some(~"bool"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue