-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️P-highHigh priorityHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
Milestone
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.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️P-highHigh priorityHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.