summary refs log tree commit diff
path: root/src/test/ui/extern/external-doc-error.rs
blob: 5c6f6e49b3d77f9bcec8d825ca8206ea434e8bff (plain)
1
2
3
4
5
6
7
8
// normalize-stderr-test: "not-a-file.md:.*\(" -> "not-a-file.md: $$FILE_NOT_FOUND_MSG ("

#![feature(external_doc)]

#[doc(include = "not-a-file.md")] //~ ERROR: couldn't read
pub struct SomeStruct;

fn main() {}