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