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

ices/102105.rs: fixed with errors #1641

Merged
merged 1 commit into from
Oct 15, 2023
Merged

ices/102105.rs: fixed with errors #1641

merged 1 commit into from
Oct 15, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 5, 2023

Issue: rust-lang/rust#102105

#![crate_type = "lib"]
#![feature(rustc_attrs)]

#[rustc_allocator]
pub fn allocator() -> *const i8 {
  std::ptr::null()
}
=== stdout ===
=== stderr ===
error: the feature `rustc_attrs` is internal to the compiler or standard library
 --> /home/runner/work/glacier/glacier/ices/102105.rs:2:12
  |
2 | #![feature(rustc_attrs)]
  |            ^^^^^^^^^^^
  |
  = note: using it is strongly discouraged
  = note: `#[deny(internal_features)]` on by default

error: aborting due to previous error

==============

=== stdout ===
=== stderr ===
error: the feature `rustc_attrs` is internal to the compiler or standard library
 --> /home/runner/work/glacier/glacier/ices/102105.rs:2:12
  |
2 | #![feature(rustc_attrs)]
  |            ^^^^^^^^^^^
  |
  = note: using it is strongly discouraged
  = note: `#[deny(internal_features)]` on by default

error: aborting due to previous error

==============
@JohnTitor JohnTitor merged commit 90c3cfa into master Oct 15, 2023
@JohnTitor JohnTitor deleted the autofix/ices/102105.rs branch October 15, 2023 03:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants