summaryrefslogtreecommitdiffstats
path: root/tests/ui/attributes/doc-test-literal.rs
blob: a06a1afcb3f2ff468de46f3bc1ebe9bc5ae5d11a (plain)
1
2
3
4
5
6
7
#![deny(warnings)]

#![doc(test(""))]
//~^ ERROR `#![doc(test(...)]` does not take a literal
//~^^ WARN this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!

fn main() {}