Huh, so it looks like there's a bug in cargo for documenting workspaces -- removing a crate doesn't actually remove it from the target/doc directory, and the crate is still included in the search index etc. So https://rust-analyzer.github.io/rust-analyzer/ra_ide_api_light/index.html is still accessible even though the crate doesn't exist anymore (and it's included in every other crate's sidebar).
Is this something I should report to r-l/cargo?
So, this is just stale files in the
target folder? I guess we should maybe just exclude it from caching on travis?
or am I misunderstanding the issue?
Stale files in target/doc, yeah. Removing it from caching on Travis and deleting the cache once should fix that.
Still opened https://github.com/rust-lang/cargo/issues/6783 because it seems like a bug.