Rust-GCC / Rust-GCC/gccrs

Lang item `coerce_unsized` is not implemented.

Open
#2,956 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

HIR
Dominant language
C++
Stars
2.9k
Forks
231
Avg merge
19h 55m
Merged PRs (30d)
67

Description

#[lang = "coerce_unsized"]
pub trait CoerceUnsized<T: ?Sized> {
    // Empty.
}

Meta

https://github.com/Rust-GCC/gccrs/commit/611d0bdc55a858736bd5cfabfc1ed4fef800d81a

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue identifies the Rust coerce_unsized lang item and references commit 611d0bdc55a858736bd5cfabfc1ed4fef800d81a, but names no files or tests. Start by tracing how this lang item is handled in the compiler and reviewing the referenced commit. Done means the trait is implemented and covered by an appropriate compiler test.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, rust
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.