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 1
1
use std:: cell:: RefCell ;
2
2
3
- lazy_static ! {
3
+ lazy_static:: lazy_static ! {
4
4
pub static ref DEBUG_ENABLED : bool = {
5
5
use std:: env;
6
6
env:: var( "CHALK_DEBUG" )
Original file line number Diff line number Diff line change 1
1
#![ deny( rust_2018_idioms) ]
2
2
3
- #[ macro_use]
4
- extern crate lazy_static;
5
-
6
3
// Allows macros to refer to this crate as `::chalk_ir`
7
4
extern crate self as chalk_ir;
8
5
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ fn fn_def_is_sized() {
35
35
fn fn_def_is_copy ( ) {
36
36
test ! {
37
37
program {
38
- #[ lang( sized ) ]
38
+ #[ lang( copy ) ]
39
39
trait Copy { }
40
40
41
41
fn foo( ) { }
@@ -52,7 +52,7 @@ fn fn_def_is_copy() {
52
52
fn fn_def_is_clone ( ) {
53
53
test ! {
54
54
program {
55
- #[ lang( sized ) ]
55
+ #[ lang( clone ) ]
56
56
trait Clone { }
57
57
58
58
fn foo( ) { }
You can’t perform that action at this time.
0 commit comments