Make saved_file field of WorkProduct non-optional
A WorkProduct without a saved file is useless
This commit is contained in:
parent
906b85157c
commit
e16c3b4a44
6 changed files with 51 additions and 69 deletions
|
@ -887,7 +887,7 @@ impl<K: DepKind> DepGraph<K> {
|
|||
pub struct WorkProduct {
|
||||
pub cgu_name: String,
|
||||
/// Saved file associated with this CGU.
|
||||
pub saved_file: Option<String>,
|
||||
pub saved_file: String,
|
||||
}
|
||||
|
||||
// Index type for `DepNodeData`'s edges.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue