Sign in
fuchsia
/
third_party
/
rust
/
1e5ec0a12c73efdd9a492fdc7ab661d90dc5bcf5
/
.
/
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`
}