Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Discover and integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
is:open is:issue label:A-doctests
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
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
{{ message }}
rust-lang
/
rust
Public
Notifications
You must be signed in to change notification settings
Fork
14k
Star
108k
Code
Issues
5k+
Pull requests
925
Actions
Projects
9
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Issues
Search Issues
is
:
open
is
:
issue
label
:
A-doctests
is:open is:issue label:A-doctests
Search
Labels
Milestones
New issue
Search results
Open
Closed
doctest errors are no longer colored
A-doctests
Area: Documentation tests, run by rustdoc
Area: Documentation tests, run by rustdoc
C-bug
Category: This is a bug.
Category: This is a bug.
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
Issue: Indicates that prioritization has been requested for this issue.
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
Performance or correctness regression from stable to beta.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Status: Open.
#148749
In rust-lang/rust;
·
ShE3py
opened
on Nov 9, 2025
future-incompatibility: default #[allow(...)] incompatible with #[forbid(...)]
A-doctests
Area: Documentation tests, run by rustdoc
Area: Documentation tests, run by rustdoc
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Category: An issue proposing an enhancement or a PR with one.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Status: Open.
#148599
In rust-lang/rust;
·
peter-lyons-kehl
opened
on Nov 6, 2025
rustdoc: Tracking issue for command-line flag <code>--no-capture</code>
A-CLI
Area: Command-line interface (CLI) to the compiler
Area: Command-line interface (CLI) to the compiler
A-doctests
Area: Documentation tests, run by rustdoc
Area: Documentation tests, run by rustdoc
B-unstable
Blocker: Implemented in the nightly compiler and unstable.
Blocker: Implemented in the nightly compiler and unstable.
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
Category: An issue tracking the progress of sth. like the implementation of an RFC
S-tracking-needs-summary
Status: It's hard to tell what's been done and what hasn't! Someone should do some investigation.
Status: It's hard to tell what's been done and what hasn't! Someone should do some investigation.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Status: Open.
#148116
In rust-lang/rust;
·
fmease
opened
on Oct 25, 2025
Provide a more helpful diagnostic for shebangs inside of doctests
A-diagnostics
Area: Messages for errors, warnings, and lints
Area: Messages for errors, warnings, and lints
A-doctests
Area: Documentation tests, run by rustdoc
Area: Documentation tests, run by rustdoc
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Status: Open.
#148053
In rust-lang/rust;
·
epage
opened
on Oct 23, 2025
<code>error: expected statement after outer attribute</code> gone?
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
Area: Attributes (`#[…]`, `#![…]`)
A-doctests
Area: Documentation tests, run by rustdoc
Area: Documentation tests, run by rustdoc
C-bug
Category: This is a bug.
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Status: Open.
#147999
In rust-lang/rust;
·
MauriceKayser
opened
on Oct 22, 2025
Change behavior of <code>--exact</code> doc-tests
A-doctests
Area: Documentation tests, run by rustdoc
Area: Documentation tests, run by rustdoc
A-libtest
Area: `#[test]` / the `test` library
Area: `#[test]` / the `test` library
C-discussion
Category: Discussion or questions that doesn't represent real issues.
Category: Discussion or questions that doesn't represent real issues.
T-testing-devex
Relevant to the testing devex team (testing DX), which will review and decide on the PR/issue.
Relevant to the testing devex team (testing DX), which will review and decide on the PR/issue.
Status: Open.
#147653
In rust-lang/rust;
·
IoaNNUwU
opened
on Oct 13, 2025
rustdoc features doctests conditional on cfg or target feature but that's not RFC'ed, not tested, not really documented and somewhat broken
A-cfg
Area: `cfg` conditional compilation
Area: `cfg` conditional compilation
A-doctests
Area: Documentation tests, run by rustdoc
Area: Documentation tests, run by rustdoc
A-target-feature
Area: Enabling/disabling target features like AVX, Neon, etc.
Area: Enabling/disabling target features like AVX, Neon, etc.
C-bug
Category: This is a bug.
Category: This is a bug.
F-doc_cfg
`#![feature(doc_cfg)]`
`#![feature(doc_cfg)]`
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Status: Open.
#147033
In rust-lang/rust;
·
fmease
opened
on Sep 25, 2025
rustdoc: Since 1.87 we permit shebangs in doctests that have a <code>main</code> fn
A-doctests
Area: Documentation tests, run by rustdoc
Area: Documentation tests, run by rustdoc
C-bug
Category: This is a bug.
Category: This is a bug.
P-high
High priority
High priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
Performance or correctness regression from one stable version to another.
S-has-bisection
Status: A bisection has been found for this issue
Status: A bisection has been found for this issue
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Status: Open.
#147014
In rust-lang/rust;
·
fmease
opened
on Sep 25, 2025
extracted doctests that have <code>include!</code> macros cannot be compiled outside of rustdoc
A-doctests
Area: Documentation tests, run by rustdoc
Area: Documentation tests, run by rustdoc
C-bug
Category: This is a bug.
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Status: Open.
#143969
In rust-lang/rust;
·
TroyKomodo
opened
on Jul 15, 2025
Rustdoc standalone attribute
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
Area: Documentation for any part of the project, including the compiler, standard library, and tools
A-doctests
Area: Documentation tests, run by rustdoc
Area: Documentation tests, run by rustdoc
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Category: An issue proposing an enhancement or a PR with one.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Status: Open.
#143943
In rust-lang/rust;
·
TroyKomodo
opened
on Jul 14, 2025
Rustdoc --no-run runs when --edition=2024 is provided
A-doctests
Area: Documentation tests, run by rustdoc
Area: Documentation tests, run by rustdoc
C-bug
Category: This is a bug.
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Status: Open.
#143858
In rust-lang/rust;
·
TroyKomodo
opened
on Jul 12, 2025
should_panic in doctests accepts crashes, aborts, std::process::exit
A-doctests
Area: Documentation tests, run by rustdoc
Area: Documentation tests, run by rustdoc
C-bug
Category: This is a bug.
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Status: Open.
#143009
In rust-lang/rust;
·
purplesyringa
opened
on Jun 25, 2025
You can’t perform that action at this time.