Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
nll
/
issue-55825-const-fn.rs
blob: 35e51073d0d0e50a5517032a5d2144fd3c244745 [
file
] [
log
] [
blame
] [
edit
]
// Regression test for issue #55825
// Tests that we don't emit a spurious warning in NLL mode
//@ check-pass
const
fn
no_dyn_trait_ret
()
->
&
'
static
dyn std
::
fmt
::
Debug
{
&()
}
fn
main
()
{
}