]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-104582.rs
Auto merge of #106092 - asquared31415:start_lang_item_checks, r=davidtwco
[rust.git] / tests / ui / typeck / issue-104582.rs
1 fn main(){
2     let my_var: String(String?);
3     //~^ ERROR: invalid `?` in type
4     //~| ERROR: parenthesized type parameters may only be used with a `Fn` trait
5 }