File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 11use std:: cell:: RefCell ;
22
3- lazy_static ! {
3+ lazy_static:: lazy_static ! {
44 pub static ref DEBUG_ENABLED : bool = {
55 use std:: env;
66 env:: var( "CHALK_DEBUG" )
Original file line number Diff line number Diff line change 11#![ deny( rust_2018_idioms) ]
22
3- #[ macro_use]
4- extern crate lazy_static;
5-
63// Allows macros to refer to this crate as `::chalk_ir`
74extern crate self as chalk_ir;
85
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ fn fn_def_is_sized() {
3535fn fn_def_is_copy ( ) {
3636 test ! {
3737 program {
38- #[ lang( sized ) ]
38+ #[ lang( copy ) ]
3939 trait Copy { }
4040
4141 fn foo( ) { }
@@ -52,7 +52,7 @@ fn fn_def_is_copy() {
5252fn fn_def_is_clone ( ) {
5353 test ! {
5454 program {
55- #[ lang( sized ) ]
55+ #[ lang( clone ) ]
5656 trait Clone { }
5757
5858 fn foo( ) { }
You can’t perform that action at this time.
0 commit comments