2024-02-22 06:10:29 -06:00
|
|
|
//@ normalize-stderr-test: "nightly|beta|1\.[0-9][0-9]\.[0-9]" -> "$$CHANNEL"
|
2021-03-28 19:16:54 -05:00
|
|
|
#![deny(warnings)]
|
|
|
|
|
2021-03-26 20:14:47 -05:00
|
|
|
//! Linking to [foo@banana] and [`bar@banana!()`].
|
|
|
|
//~^ ERROR unknown disambiguator `foo`
|
|
|
|
//~| ERROR unknown disambiguator `bar`
|
|
|
|
//! And to [no disambiguator](@nectarine) and [another](@apricot!()).
|
|
|
|
//~^ ERROR unknown disambiguator ``
|
|
|
|
//~| ERROR unknown disambiguator ``
|
2021-03-28 19:16:54 -05:00
|
|
|
//! And with weird backticks: [``foo@hello``] [foo`@`hello].
|
|
|
|
//~^ ERROR unknown disambiguator `foo`
|
|
|
|
//~| ERROR unknown disambiguator `foo`
|
2021-03-26 20:14:47 -05:00
|
|
|
|
|
|
|
fn main() {}
|