You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling playground v0.0.1 (/playground)
error[[E0277]](https://doc.rust-lang.org/stable/error_codes/E0277.html): the trait bound `(): Foo` is not satisfied
--> src/lib.rs:4:25
|
4 | fn not_implemented() -> impl Foo {
| ^^^^^^^^ the trait `Foo` is not implemented for `()`
For more information about this error, try `rustc --explain E0277`.
error: could not compile `playground` (lib) due to previous error
fmease
added
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
and removed
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
Sep 20, 2023
I tried this code:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=55e475624b24e243aef53a2ace435156
I expected to see this happen: compiles.
Instead, this happened:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: