diff options
| author | Eric Huss <eric@huss.org> | 2019-09-07 12:21:32 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2019-09-07 12:21:32 -0700 |
| commit | fb387088e2e327e4060290edc92a90d49669b04c (patch) | |
| tree | fb84379f7ff2516c5c51a4c191ef9ebd4689e4a0 /src/test/rustdoc-ui/invalid-syntax.rs | |
| parent | ef54f57c5b9d894a38179d09b00610c1b337b086 (diff) | |
| download | rust-fb387088e2e327e4060290edc92a90d49669b04c.tar.gz rust-fb387088e2e327e4060290edc92a90d49669b04c.zip | |
rustdoc: fix diagnostic with mixed code block styles
Diffstat (limited to 'src/test/rustdoc-ui/invalid-syntax.rs')
| -rw-r--r-- | src/test/rustdoc-ui/invalid-syntax.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/rustdoc-ui/invalid-syntax.rs b/src/test/rustdoc-ui/invalid-syntax.rs index 3ef66e273d0..97a0f4aaec1 100644 --- a/src/test/rustdoc-ui/invalid-syntax.rs +++ b/src/test/rustdoc-ui/invalid-syntax.rs @@ -74,3 +74,11 @@ pub fn empty_rust() {} /// /// ``` pub fn empty_rust_with_whitespace() {} + +/// ``` +/// let x = 1; +/// ``` +/// +/// \____/ +/// +pub fn indent_after_fenced() {} |
