about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/full-path-function.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-30 10:24:16 +0000
committerbors <bors@rust-lang.org>2023-11-30 10:24:16 +0000
commit665fd5219a395ece3868cddcfc9cf1283a5eb40f (patch)
tree08f6691a743aa1997fe0b2d360d4018d4f5bb49e /tests/rustdoc-js-std/full-path-function.js
parent8b0bf6423dfaf5545014db85fcba7bc745beed4c (diff)
parent0ba9bf9f9ac8adfdcc1b9e033bb127f199397d2d (diff)
downloadrust-665fd5219a395ece3868cddcfc9cf1283a5eb40f.tar.gz
rust-665fd5219a395ece3868cddcfc9cf1283a5eb40f.zip
Auto merge of #11872 - llogiq:test-attr-in-doctest, r=xFrednet
add lint against unit tests in doctests

During RustLab, Alice Ryhl brought to my attention that the Andoid team stumbled over the fact that if one attempts to write a unit test within a doctest, it will be summarily ignored. So this lint should help people wondering why their tests won't run.

---

changelog: New lint: [`test_attr_in_doctest`]
[#11872](https://github.com/rust-lang/rust-clippy/pull/11872)
Diffstat (limited to 'tests/rustdoc-js-std/full-path-function.js')
0 files changed, 0 insertions, 0 deletions