We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#[derive(Serialize)]
I have some code like this:
trait MyTrait: Debug + Serialize {} #[derive(Serialize)] struct MyStruct<T, U: MyTrait = i32> { t: T, u: U }
Which errors out with the message "error: associated type bindings are not allowed here". The full error is here: https://gist.github.com/pwoolcoc/b94407ed648a125969f3, and I have an example project at https://github.com/pwoolcoc/serde-associated-types-bug
rustc 1.5.0-nightly (0418a43fa 2015-09-21) binary: rustc commit-hash: 0418a43fa3ce430d18e87c66afb2185395f354d6 commit-date: 2015-09-21 host: x86_64-unknown-linux-gnu release: 1.5.0-nightly cargo 0.6.0-nightly (4080ea8 2015-09-20)
The text was updated successfully, but these errors were encountered:
Nice find! I need to add support for this.
Sorry, something went wrong.
I have a fix at dtolnay@fdc81db but it conflicts with #285, so I will wait for that to merge before opening a PR.
Fixed in #295, this can be closed.
Auto merge of serde-rs#158 - anchovieshat:master, r=cuviper
e3bc794
Add LowerHex and UpperHex formatting These were mysteriously missing from BigUint.
dtolnay
No branches or pull requests
I have some code like this:
Which errors out with the message "error: associated type bindings are not allowed here".
The full error is here: https://gist.github.com/pwoolcoc/b94407ed648a125969f3, and I have an example project at https://github.com/pwoolcoc/serde-associated-types-bug
The text was updated successfully, but these errors were encountered: