Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

ices/97226.rs: fixed with errors #1278

Merged
merged 1 commit into from
Jun 1, 2022
Merged

ices/97226.rs: fixed with errors #1278

merged 1 commit into from
Jun 1, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jun 1, 2022

Issue: rust-lang/rust#97226

fn uwu() -> impl ?Sized {}
pub fn main() {}
=== stdout ===
=== stderr ===
error[E0277]: the size for values of type `impl ?Sized` cannot be known at compilation time
 --> /home/runner/work/glacier/glacier/ices/97226.rs:1:13
  |
1 | fn uwu() -> impl ?Sized {}
  |             ^^^^^^^^^^^ doesn't have a size known at compile-time
  |
  = help: the trait `Sized` is not implemented for `impl ?Sized`
  = note: the return type of a function must have a statically known size

error: aborting due to previous error

For more information about this error, try `rustc --explain E0277`.
==============

=== stdout ===
=== stderr ===
error[E0277]: the size for values of type `impl ?Sized` cannot be known at compilation time
 --> /home/runner/work/glacier/glacier/ices/97226.rs:1:13
  |
1 | fn uwu() -> impl ?Sized {}
  |             ^^^^^^^^^^^ doesn't have a size known at compile-time
  |
  = help: the trait `Sized` is not implemented for `impl ?Sized`
  = note: the return type of a function must have a statically known size

error: aborting due to previous error

For more information about this error, try `rustc --explain E0277`.
==============
@Alexendoo Alexendoo merged commit 63f4f5c into master Jun 1, 2022
@Alexendoo Alexendoo deleted the autofix/ices/97226.rs branch June 1, 2022 12:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants