This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
51b51b51d7931da85280382a81c4dd80c73ca754
rust
/
tests
/
ui
/
inline-const
/
elided-lifetime-being-infer-vars.rs
10 lines
133 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ check-pass
add inline-const test for elided lifetimes being infer vars
2023-06-01 01:16:03 +08:00
fn
main
(
)
{
let
_my_usize
=
const
{
let
a
=
10_
usize
;
let
b
:
&
'_
usize
=
&
a
;
*
b
}
;
}
Reference in New Issue
Copy Permalink