Skip to content

Commit 717c905

Browse files
committed
Fix FnDef tests and remove macro_use lazy static
1 parent 0cc7b05 commit 717c905

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

chalk-ir/src/debug_macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use 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")

chalk-ir/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
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`
74
extern crate self as chalk_ir;
85

tests/test/fn_def.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fn fn_def_is_sized() {
3535
fn 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() {
5252
fn fn_def_is_clone() {
5353
test! {
5454
program {
55-
#[lang(sized)]
55+
#[lang(clone)]
5656
trait Clone { }
5757

5858
fn foo() {}

0 commit comments

Comments
 (0)