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

Stabilize type_name_of_val #118234

Merged
merged 1 commit into from
Dec 15, 2023
Merged

Stabilize type_name_of_val #118234

merged 1 commit into from
Dec 15, 2023

Commits on Dec 5, 2023

  1. Stabilize type_name_of_val

    Make the following API stable:
    
        // in core::any
        pub fn type_name_of_val<T: ?Sized>(_val: &T) -> &'static str
    
    Const stability is not added because this relies on `type_name` which is also
    not const. That has a blocking issue.
    
    Fixes rust-lang#66359
    tgross35 committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    b225aab View commit details
    Browse the repository at this point in the history