Sign in
rust
/
rust
/
97b1c314892ef4497c0ce5656daa3a54c4e052d3
/
.
/
tests
/
ui
/
argument-suggestions
/
issue-100154.rs
blob: fb0af05e9dc553cf3509a70564aa61a0e1978e3a [
file
]
fn
foo
(
i
:
impl
std
::
fmt
::
Display
)
{}
fn
main
()
{
foo
::<()>(());
//~^ ERROR function takes 0 generic arguments but 1 generic argument was supplied
//~| ERROR `()` doesn't implement `std::fmt::Display`
}