-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
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
rustdoc chokes on impl trait? #43869
Comments
Looks like fallout of #43348, since the body of every #![feature(conservative_impl_trait)]
fn g() -> impl Iterator<Item=u8> { //~ ERROR E0277
loop {}
}
fn main() {} |
ah, figured it was something related to that, but was having trouble creating an MWE since I had to look up how to |
@kennytm any way to turn off the dox stuff for my local doc build? Or do you know how to fix this? |
I guess I can just fix this by, like, using the right type there 😄. impl trait isn't really necessary Another way to fix it would be to not use everybody_loops for impl trait funcs, but that's not great |
@Manishearth I'll submit a PR to opt-out of |
oh, awesome. thanks! |
Trying to do a rust internals docs build with
compiler-docs = true
in the configuration.I get this error:
That function is returning
vec.drain
. The error only happens while running rustdoc, not while compiling.The text was updated successfully, but these errors were encountered: