rustdoc: support for precise capturing (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

rust-lang / rust Public

Additional navigation options

New issue

New issue

Closed

#127658

Closed

rustdoc: support for precise capturing

#127228

#127658

Assignees

compiler-errors

Labels

C-bugCategory: This is a bug.F-precise_capturing`#![feature(precise_capturing)]`T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

@fmease

Description

@fmease

fmease

opened

on Jul 1, 2024

Source:

#![feature(precise_capturing)]

pub fn demo(_: &str) -> impl Sized + use<> {}

Current rendered output (both HIR-based and middle-based) below (issue: dropping the precise capturing arg):

pub fn demo(_: &str) -> impl Sized

Tracking:

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.F-precise_capturing`#![feature(precise_capturing)]`T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions