Skip to content

Commit 56d2a45

Browse files
committed
add local crates to test FailureReason::{CompilerError, DependsOn}
1 parent f98bfb1 commit 56d2a45

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

local-crates/faulty-deps/Cargo.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[package]
2+
name = "faulty-deps"
3+
version = "0.1.0"
4+
authors = ["Giacomo Pasini <g.pasini98@gmail.com>"]
5+
edition = "2018"
6+
7+
[dependencies]
8+
error_code = {git = "https://github.com/rust-lang/crater", rev = "c3f462bdab37a93c24b2b172b90564749e892cbc"}
9+
lazy_static = "=0.1.0"

local-crates/faulty-deps/src/main.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
use error_code::STRING;
2+
3+
fn main() {
4+
println!("Hello, world!");
5+
}

0 commit comments

Comments
 (0)