diff options
Diffstat (limited to 'src/test/rustdoc-ui/doc-spotlight.fixed')
| -rw-r--r-- | src/test/rustdoc-ui/doc-spotlight.fixed | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/rustdoc-ui/doc-spotlight.fixed b/src/test/rustdoc-ui/doc-spotlight.fixed new file mode 100644 index 00000000000..94b69a99879 --- /dev/null +++ b/src/test/rustdoc-ui/doc-spotlight.fixed @@ -0,0 +1,9 @@ +// check-pass +// run-rustfix + +#![feature(doc_notable_trait)] + +#[doc(notable_trait)] +//~^ WARN unknown `doc` attribute `spotlight` +//~| WARN this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! +trait MyTrait {} |
