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
3088c4b046
rust
/
tests
/
ui
/
issues
/
issue-37686.rs
8 lines
106 B
Rust
Raw
Normal View
History
Unescape
Escape
Add `// run-pass` annotations to all the tests under `ui/run-pass/`. (I may have accidentally added it to some auxilliary crates as well; my emacs-macro-based methodology was pretty crude.)
2018-08-30 07:18:55 -05:00
// run-pass
Work around a borrow surviving too long (fixes #37686)
2016-11-10 06:09:34 -06:00
fn
main
(
)
{
match
(
0
,
0
)
{
Update tests to remove old numeric constants Part of #68490. Care has been taken to leave the old consts where appropriate, for testing backcompat regressions, module shadowing, etc. The intrinsics docs were accidentally referring to some methods on f64 as std::f64, which I changed due to being contrary with how we normally disambiguate the shadow module from the primitive. In one other place I changed std::u8 to std::ops since it was just testing path handling in macros. For places which have legitimate uses of the old consts, deprecated attributes have been optimistically inserted. Although currently unnecessary, they exist to emphasize to any future deprecation effort the necessity of these specific symbols and prevent them from being accidentally removed.
2020-10-24 18:21:40 -05:00
(
usize
::
MIN
,
usize
::
MAX
)
=
>
{
}
Work around a borrow surviving too long (fixes #37686)
2016-11-10 06:09:34 -06:00
_
=
>
{
}
}
}
Reference in New Issue
Copy Permalink