index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
ui
/
rfc-2632-const-trait-impl
/
issue-103677.rs
blob: d81724a3685ae0e23555e65c3b85e918e3a1d670 (
plain
)
1
2
3
4
5
// check-pass
const
_
:
fn
(
&
String
)
=
|
s
|
{
&*
s
as
&
str
;
};
fn
main
()
{}