We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The following compiles fine (the Some::<u8> line does not, however).
Some::<u8>
fn main() { match Some("foo") { None::<int> => {} // Some::<u8>(_) => {} Some(_) => {} } }
(Nominated for backcompat-lang :( since changing this can cause programs to break.)