This repository was archived by the owner on May 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit 8a8f4d0
ices/62879.rs: fixed with errors (#218)
=== stdout ===
=== stderr ===
warning: the feature `const_generics` is incomplete and may cause the compiler to crash
--> /home/runner/work/glacier/glacier/ices/62879.rs:1:12
|
1 | #![feature(const_generics)]
| ^^^^^^^^^^^^^^
|
= note: `#[warn(incomplete_features)]` on by default
error[E0391]: cycle detected when const-evaluating + checking `<impl at /home/runner/work/glacier/glacier/ices/62879.rs:4:1: 7:3>::{{constant}}#0`
--> /home/runner/work/glacier/glacier/ices/62879.rs:6:18
|
6 | Self:FooImpl<{N==0}>
| ^^^^^^
|
note: ...which requires const-evaluating + checking `<impl at /home/runner/work/glacier/glacier/ices/62879.rs:4:1: 7:3>::{{constant}}#0`...
--> /home/runner/work/glacier/glacier/ices/62879.rs:6:18
|
6 | Self:FooImpl<{N==0}>
| ^^^^^^
note: ...which requires const-evaluating `<impl at /home/runner/work/glacier/glacier/ices/62879.rs:4:1: 7:3>::{{constant}}#0`...
--> /home/runner/work/glacier/glacier/ices/62879.rs:6:18
|
6 | Self:FooImpl<{N==0}>
| ^^^^^^
note: ...which requires processing `<impl at /home/runner/work/glacier/glacier/ices/62879.rs:4:1: 7:3>::{{constant}}#0`...
--> /home/runner/work/glacier/glacier/ices/62879.rs:6:18
|
6 | Self:FooImpl<{N==0}>
| ^^^^^^
note: ...which requires processing `<impl at /home/runner/work/glacier/glacier/ices/62879.rs:4:1: 7:3>::{{constant}}#0`...
--> /home/runner/work/glacier/glacier/ices/62879.rs:6:18
|
6 | Self:FooImpl<{N==0}>
| ^^^^^^
= note: ...which again requires const-evaluating + checking `<impl at /home/runner/work/glacier/glacier/ices/62879.rs:4:1: 7:3>::{{constant}}#0`, completing the cycle
note: cycle used when processing `<impl at /home/runner/work/glacier/glacier/ices/62879.rs:4:1: 7:3>`
--> /home/runner/work/glacier/glacier/ices/62879.rs:4:1
|
4 | / impl<const N: usize> Foo for [(); N]
5 | | where
6 | | Self:FooImpl<{N==0}>
7 | | {}
| |__^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0391`.
==============1 parent f068279 commit 8a8f4d0Copy full SHA for 8a8f4d0
File tree
Expand file treeCollapse file tree
1 file changed
+0
-0
lines changedFilter options
- fixed
Expand file treeCollapse file tree
1 file changed
+0
-0
lines changedices/62879.rs renamed to fixed/62879.rs
Copy file name to clipboardFile renamed without changes.
0 commit comments