From 1b432a612f24581717dc9d5f2f13873d187bb5bd Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sat, 24 Nov 2018 14:24:54 +0100 Subject: Add test for source files feature --- src/test/rustdoc/source-file.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/test/rustdoc/source-file.rs (limited to 'src/test/rustdoc') diff --git a/src/test/rustdoc/source-file.rs b/src/test/rustdoc/source-file.rs new file mode 100644 index 00000000000..077817bcf5b --- /dev/null +++ b/src/test/rustdoc/source-file.rs @@ -0,0 +1,15 @@ +// Copyright 2018 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +#![crate_name = "foo"] + +// @has source-files.js source-file.rs + +pub struct Foo; -- cgit 1.4.1-3-g733a5