summary refs log tree commit diff
path: root/tests/rustdoc
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-03-07 15:20:14 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2025-03-27 11:18:43 +0100
commit123ea25542ba00e92bf6d19084cad6e7a24453f0 (patch)
tree1c28cb09189c8abc45e7e934a15f85e59175f43d /tests/rustdoc
parent6f7e8d441a81ed89e14ad5ce53dcbe52ab0af64c (diff)
downloadrust-123ea25542ba00e92bf6d19084cad6e7a24453f0.tar.gz
rust-123ea25542ba00e92bf6d19084cad6e7a24453f0.zip
Correctly handle line comments in attributes and generate extern crates
outside of wrapping function
Diffstat (limited to 'tests/rustdoc')
-rw-r--r--tests/rustdoc/playground.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/playground.rs b/tests/rustdoc/playground.rs
index db2d1669df6..65dad2a5195 100644
--- a/tests/rustdoc/playground.rs
+++ b/tests/rustdoc/playground.rs
@@ -24,4 +24,4 @@
 
 //@ matches foo/index.html '//a[@class="test-arrow"][@href="https://www.example.com/?code=%23!%5Ballow(unused)%5D%0Afn+main()+%7B%0A++++println!(%22Hello,+world!%22);%0A%7D&edition=2015"]' ""
 //@ matches foo/index.html '//a[@class="test-arrow"][@href="https://www.example.com/?code=%23!%5Ballow(unused)%5D%0Afn+main()+%7B%0A++++println!(%22Hello,+world!%22);%0A%7D&edition=2015"]' ""
-//@ matches foo/index.html '//a[@class="test-arrow"][@href="https://www.example.com/?code=%23!%5Ballow(unused)%5D%0A%23!%5Bfeature(something)%5D%0A%0Afn+main()+%7B%0A++++println!(%22Hello,+world!%22);%0A%7D&version=nightly&edition=2015"]' ""
+//@ matches foo/index.html '//a[@class="test-arrow"][@href="https://www.example.com/?code=%23!%5Ballow(unused)%5D%0A%23!%5Bfeature(something)%5D%0A%0A%0Afn+main()+%7B%0A++++println!(%22Hello,+world!%22);%0A%7D&version=nightly&edition=2015"]' ""