Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
suggestions
/
issue-101421.rs
blob: 1407ebd277cb685f8b7ecba43ee91824e88f564e [
file
] [
log
] [
blame
] [
edit
]
pub
trait
Ice
{
fn
f
(&
self
,
_
:
());
}
impl
Ice
for
()
{
fn
f
(&
self
,
_
:
())
{}
}
fn
main
()
{
().
f
::<()>(());
//~^ ERROR method takes 0 generic arguments but 1 generic argument was supplied
}