Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

ices/71381.rs: fixed with errors #413

Merged
merged 1 commit into from
Jun 24, 2020
Merged

ices/71381.rs: fixed with errors #413

merged 1 commit into from
Jun 24, 2020

Commits on Jun 24, 2020

  1. ices/71381.rs: fixed with errors

    === stdout ===
    === stderr ===
    error[E0557]: feature has been removed
     --> /home/runner/work/glacier/glacier/ices/71381.rs:1:28
      |
    1 | #![feature(const_generics, const_compare_raw_pointers)]
      |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed
      |
      = note: cannot be allowed in const eval in any meaningful way
    
    error: using function pointers as const generic parameters is forbidden
      --> /home/runner/work/glacier/glacier/ices/71381.rs:13:61
       |
    13 |     pub fn call_me<Args: Sized, const IDX: usize, const FN: unsafe extern "C" fn(Args)>(&self) {
       |                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    error: using function pointers as const generic parameters is forbidden
      --> /home/runner/work/glacier/glacier/ices/71381.rs:20:19
       |
    20 |         const FN: unsafe extern "C" fn(Args),
       |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    error: aborting due to 3 previous errors
    
    For more information about this error, try `rustc --explain E0557`.
    ==============
    rustbot committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    d158b70 View commit details
    Browse the repository at this point in the history