about summary refs log tree commit diff
path: root/src/librustdoc/html
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-26 08:02:40 +0000
committerbors <bors@rust-lang.org>2024-02-26 08:02:40 +0000
commit7cadf0b2da0d83d5d38c8eddb033acf1508942e0 (patch)
tree0cc9d713cfbed1a362010c110d1ba7f421ec2f07 /src/librustdoc/html
parent8d74063672a9b1eb283e685cd059187f86d9373d (diff)
parentdb0b49b945f56356ee495cd8b909545d566ef92e (diff)
downloadrust-7cadf0b2da0d83d5d38c8eddb033acf1508942e0.tar.gz
rust-7cadf0b2da0d83d5d38c8eddb033acf1508942e0.zip
Auto merge of #3326 - rust-lang:rustup-2024-02-26, r=RalfJung
Automatic Rustup

also fixes https://github.com/rust-lang/miri/issues/3308
Diffstat (limited to 'src/librustdoc/html')
-rw-r--r--src/librustdoc/html/markdown/tests.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/librustdoc/html/markdown/tests.rs b/src/librustdoc/html/markdown/tests.rs
index 4dd176b3a69..1de97e49b83 100644
--- a/src/librustdoc/html/markdown/tests.rs
+++ b/src/librustdoc/html/markdown/tests.rs
@@ -480,11 +480,6 @@ fn test_markdown_html_escape() {
 #[test]
 fn test_find_testable_code_line() {
     fn t(input: &str, expect: &[usize]) {
-        impl crate::doctest::Tester for Vec<usize> {
-            fn add_test(&mut self, _test: String, _config: LangString, line: usize) {
-                self.push(line);
-            }
-        }
         let mut lines = Vec::<usize>::new();
         find_testable_code(input, &mut lines, ErrorCodes::No, false, None, true);
         assert_eq!(lines, expect);