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

ices/81208.rs: fixed with errors #622

Merged
merged 1 commit into from
Jan 25, 2021
Merged

ices/81208.rs: fixed with errors #622

merged 1 commit into from
Jan 25, 2021

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#81208

#[path = b"ffi.rs"]
mod ffi;

fn main() {}
=== stdout ===
=== stderr ===
error: byte constant must be ASCII. Use a \xHH escape for a non-ASCII byte
 --> /home/runner/work/glacier/glacier/ices/81208.rs:1:12
  |
1 | #[path = b"ffi.rs"]
  |            ^

error[E0583]: file not found for module `ffi`
 --> /home/runner/work/glacier/glacier/ices/81208.rs:2:1
  |
2 | mod ffi;
  | ^^^^^^^^
  |
  = help: to create the module `ffi`, create file "/home/runner/work/glacier/glacier/ices/ffi.rs"

error: malformed `path` attribute input
 --> /home/runner/work/glacier/glacier/ices/81208.rs:1:1
  |
1 | #[path = b"ffi.rs"]
  | ^^^^^^^^^^^^^^^^^ help: must be of the form: `#[path = "file"]`

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0583`.
==============

=== stdout ===
=== stderr ===
error: byte constant must be ASCII. Use a \xHH escape for a non-ASCII byte
 --> /home/runner/work/glacier/glacier/ices/81208.rs:1:12
  |
1 | #[path = b"ffi.rs"]
  |            ^

error[E0583]: file not found for module `ffi`
 --> /home/runner/work/glacier/glacier/ices/81208.rs:2:1
  |
2 | mod ffi;
  | ^^^^^^^^
  |
  = help: to create the module `ffi`, create file "/home/runner/work/glacier/glacier/ices/ffi.rs"

error: malformed `path` attribute input
 --> /home/runner/work/glacier/glacier/ices/81208.rs:1:1
  |
1 | #[path = b"ffi.rs"]
  | ^^^^^^^^^^^^^^^^^ help: must be of the form: `#[path = "file"]`

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0583`.
==============
@Alexendoo Alexendoo merged commit 1bd5813 into master Jan 25, 2021
@Alexendoo Alexendoo deleted the autofix/ices/81208.rs branch January 25, 2021 14:21
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