We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb89b06 commit 94c9b67Copy full SHA for 94c9b67
src/main.rs
@@ -198,13 +198,8 @@ fn main() {
198
.map(|module| module.include_statement.to_owned())
199
.collect();
200
201
- // Warn if you used a populated assembly but provided no other modules
202
- if includes.is_empty() {
203
- eprintln!(
204
- "{}",
205
- "W: You have provided no modules to include in the assembly.".yellow()
206
- );
207
- }
+ // The includes should never be empty thanks to the required group in clap
+ assert!(!includes.is_empty());
208
209
// Generate the populated assembly module
210
let populated = Module::new(ModuleType::Assembly, title, Some(&includes), &options);
0 commit comments