Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run doc tests for binaries on CI #304

Merged
merged 1 commit into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1

- run: cargo test --locked
- run: cargo test --locked --all-features --all-targets
- run: cargo test --locked --all-features --doc

rust-lint:
runs-on: ${{ matrix.os }}-latest
Expand Down
3 changes: 2 additions & 1 deletion marker_rustc_driver/src/conversion/marker/ast/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ impl<'ast, 'tcx> MarkerConverterInner<'ast, 'tcx> {
/// understand how this desugaring works. Here is a simple example to
/// illustrate the current desugar:
///
/// ```
/// ```ignore
/// # let mut a = 0;
/// # let mut b = 0;
/// // This expression
Expand Down Expand Up @@ -603,6 +603,7 @@ impl<'ast, 'tcx> MarkerConverterInner<'ast, 'tcx> {
/// # let range = 0..10;
/// // This expression
/// for _ in range { /* body */ }
/// # let range = 0..10;
/// // Is desugared to:
/// match IntoIterator::into_iter(range) {
/// mut iter =>
Expand Down