This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
7452822843
rust
/
tests
/
ui
/
const-generics
/
issues
/
issue-61432.rs
10 lines
95 B
Rust
Raw
Normal View
History
Unescape
Escape
test: add test for #61432.
2019-08-19 11:33:49 -05:00
// run-pass
fn
promote
<
const
N
:
i32
>
(
)
{
Lint for unused borrows as part of UNUSED_MUST_USE
2021-06-18 02:09:40 -05:00
let
_
=
&
N
;
test: add test for #61432.
2019-08-19 11:33:49 -05:00
}
fn
main
(
)
{
promote
::
<
0
>
(
)
;
}
Reference in New Issue
Copy Permalink