Skip to content

Rewrite references section #7

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

Open
steveklabnik opened this issue Mar 24, 2017 · 2 comments
Open

Rewrite references section #7

steveklabnik opened this issue Mar 24, 2017 · 2 comments

Comments

@steveklabnik
Copy link
Member

rust-lang/rust#27911

@nyurik
Copy link

nyurik commented Mar 24, 2023

This section is highly confusing: what is this compiler error is about? https://doc.rust-lang.org/nomicon/references.html


Of course, we should probably define what aliased means.

error[E0425]: cannot find value `aliased` in this scope
 --> <rust.rs>:2:20
  |
2 |     println!("{}", aliased);
  |                    ^^^^^^^ not found in this scope

error: aborting due to previous error

Unfortunately, Rust hasn't actually defined its aliasing model. 🙀

@ehuss
Copy link
Contributor

ehuss commented Mar 24, 2023

I think it is supposed to be a joke. IOW, "aliasing is not found" because it is currently not defined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants