-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
I was trying to use this crate inside my project. With no other dependencies, building the project results with An invalid number of arguments was passed when calling a function. error.
Rust version
rustc 1.56.1 (59eed8a2a 2021-11-01)
Error log
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> src/app.rs:135:24
|
135 | writer.write_flatten_text("Application", val)?;
| ^^^^^^^^^^^^^^^^^^ ------------- --- supplied 2 arguments
| |
| expected 3 arguments
|
note: associated function defined here
--> $HOME/.cargo/registry/src/github.com-1ecc6299db9ec823/strong-xml-0.6.3/src/xml_writer.rs:39:12
|
39 | pub fn write_flatten_text(&mut self, tag: &str, content: &str, is_cdata: bool) -> Result<()> {
| ^^^^^^^^^^^^^^^^^^
This error is reported 23 times for different arguments, always missing the last one.
Metadata
Metadata
Assignees
Labels
No labels