Closed
Description
Sorry, the testcase is not exactly simple, but:
- checkout this repository on this commit : https://github.com/Smithay/wayland-rs/tree/02e81d6893c90f4ebfa93c70991fa3ab1fd12ff7
cargo +beta test --all --all-features
- apply the following diff to the repository
diff --git a/wayland-server/src/lib.rs b/wayland-server/src/lib.rs
index 8685ab04..f83909dd 100644
--- a/wayland-server/src/lib.rs
+++ b/wayland-server/src/lib.rs
@@ -1,3 +1,5 @@
+#![warn(missing_docs)]
+
#[macro_use]
extern crate bitflags;
extern crate libc;
- re-run
cargo +beta test --all --all-features
- ICE :
error: internal compiler error: librustc/ty/context.rs:998: tried to cache DefId(20/0:393 ~ wayland_server[52b1]::generated[0]::c_interfaces[0]::wl_surface_interface[0]), but was already existing as AllocId(
451
)
- run
cargo clean
- re-run
cargo +beta test --all --all-features
- builds and run fine
$ rustc +beta --version
rustc 1.26.0-beta.1 (18aaa1d2c 2018-04-03)
$cargo +beta --version
cargo 1.26.0-beta (d63299b6e 2018-03-28)
Does not reproduce on stable 1.25, reproduces on nightly as well.