Skip to content

kaichaosun/test-workspace-dependency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproduce the error

Run cargo test, you should see following error:

error[E0308]: mismatched types
  --> client/src/lib.rs:19:3
   |
19 |           assert_eq!(
   |  _________^
20 | |             full_name(String::from("hello"), String::from("world")),
21 | |             test_utils::helper()
22 | |         )
   | |_________^ expected struct `Name`, found struct `client::Name`

About

Minimum example to show the workspace dependency error.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages