Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tests to remove old numeric constants #78380

Merged
merged 1 commit into from
Nov 29, 2020

Commits on Nov 29, 2020

  1. Update tests to remove old numeric constants

    Part of rust-lang#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.
    bstrie committed Nov 29, 2020
    Configuration menu
    Copy the full SHA
    90a2e5e View commit details
    Browse the repository at this point in the history