File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -660,7 +660,10 @@ impl<'cfg> Workspace<'cfg> {
660
660
failure:: bail!(
661
661
"current package believes it's in a workspace when it's not:\n \
662
662
current: {}\n \
663
- workspace: {}\n \n {}",
663
+ workspace: {}\n \n {}\n \
664
+ Alternatively, to keep it out of the workspace, add the package \
665
+ to the `workspace.exclude` array, or add an empty `[workspace]` \
666
+ table to the package's manifest.",
664
667
self . current_manifest. display( ) ,
665
668
root. display( ) ,
666
669
extra
Original file line number Diff line number Diff line change @@ -314,6 +314,7 @@ current: [..]Cargo.toml
314
314
workspace: [..]Cargo.toml
315
315
316
316
this may be fixable [..]
317
+ [..]
317
318
" ,
318
319
)
319
320
. run ( ) ;
@@ -779,6 +780,7 @@ workspace: [..]Cargo.toml
779
780
780
781
this may be fixable by adding `bar` to the `workspace.members` array of the \
781
782
manifest located at: [..]
783
+ [..]
782
784
" ,
783
785
)
784
786
. run ( ) ;
@@ -979,6 +981,7 @@ workspace: [..]
979
981
980
982
this may be fixable by ensuring that this crate is depended on by the workspace \
981
983
root: [..]
984
+ [..]
982
985
[CREATED] library `bar` package
983
986
" ,
984
987
)
You can’t perform that action at this time.
0 commit comments