Skip to content

Commit

Permalink
Distinguish examples that have a conflicting package name
Browse files Browse the repository at this point in the history
    error: two packages named `example` in this workspace:
    - /git/syn/examples/lazy-static/example/Cargo.toml
    - /git/syn/examples/trace-var/example/Cargo.toml
  • Loading branch information
dtolnay committed Jun 6, 2022
1 parent 5ea8931 commit 2cb380e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/lazy-static/example/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "example"
name = "lazy-static-example"
version = "0.0.0"
authors = ["David Tolnay <dtolnay@gmail.com>"]
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion examples/trace-var/example/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "example"
name = "trace-var-example"
version = "0.0.0"
authors = ["David Tolnay <dtolnay@gmail.com>"]
edition = "2018"
Expand Down

0 comments on commit 2cb380e

Please sign in to comment.