Josiah Bills
Josiah Bills
Are you sure this has the correct semantics? It converts e.g. `flags-lib` into `flags_lib`. This is currently causing build failures; I can work around it, but personally I prefer the...
I think I will need this feature for implementing https://github.com/sfackler/rust-native-tls/issues/232. My thought for that is to provide the ability to specify a client certificate beforehand, as well as a callback...
I discussed that in the future work section. `use Type::method` is out of scope for this RFC. The difficulty is `impl` blocks with arbitrary where clauses.
Could we simply always return a result from autogenerated bindings? If so then that would be a good MVP solution.
Can't you pattern match on tuple structs using their constructor though? You won't be able to do that with a function.
Another example occurs with `use std::io::Write` and `writeln!`.
@Veykril any idea what needs done to fix this? I want to try and get the bugs in "remove unused imports" fixed.
Ok, so the issue with `writeln` is probably what you said. If you find all usages on the `use Deserialize`, then you only get the `use` usage, not the usage...
Note that `ToSqlOutput::Owned` `String`s and `Box`s could conceivably be handled by passing in a deleter function pointer to Sqlite, thus allowing us to avoid a copy in the owned case...