Sign in
rust
/
rust
/
dc9879cb3d3446c41b6d7d6813b7bfd17da1134f
/
.
/
tests
/
ui
/
typeck
/
point-at-type-param-in-path-expr.rs
blob: 9a21536f9b12bf39f558bb6ab1a0899916b9a3cd [
file
] [
log
] [
blame
]
fn
foo
<
T
:
std
::
fmt
::
Display
>()
{}
fn
main
()
{
let
x
=
foo
::<()>;
//~^ ERROR `()` doesn't implement `std::fmt::Display`
}