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

Regression: no method in scope #37021

Closed
alexcrichton opened this issue Oct 7, 2016 · 1 comment · Fixed by #37023
Closed

Regression: no method in scope #37021

alexcrichton opened this issue Oct 7, 2016 · 1 comment · Fixed by #37023
Labels
regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@alexcrichton
Copy link
Member

A stable-to-beta crater report shows regressions related to

error�(B: no method named `read_u8` found for type `&mut R` in the current scope�(B
  �(B--> �(Bsrc/reader/parser/macros.rs:27:47�(B
   �(B|�(B
27�(B �(B| �(B        let val = try_with_pos!($pos, $reader.�(Bread_u8�(B());�(B
   �(B| �(B                                              �(B^^^^^^^�(B
   �(B| �(B
  �(B::: �(Bsrc/reader/parser/binary.rs�(B
   �(B|�(B
88�(B �(B| �(B        let type_code = �(Btry_read_le_u8!(common.pos, reader)�(B;�(B
   �(B| �(B                        �(B-----------------------------------�(B in this macro invocation�(B
   �(B|�(B
   �(B= �(Bhelp�(B: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:�(B
   �(B= �(Bhelp�(B: candidate #1: `use reader::parser::macros::byteorder::ReadBytesExt`�(B

I'm opening an issue to ensure that we're tracking these regressions and they're either expected (so we can close), this is a dupe (so we can close), or we can fix (and then close!)

cc @rust-lang/compiler

@alexcrichton alexcrichton added I-nominated T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. regression-from-stable-to-beta Performance or correctness regression from stable to beta. labels Oct 7, 2016
@TimNN
Copy link
Contributor

TimNN commented Oct 7, 2016

Also fixed by #37023.

sophiajt pushed a commit to sophiajt/rust that referenced this issue Oct 11, 2016
…pat, r=nrc

Fix importing inaccessible `extern crate`s (with a warning)

Fixes rust-lang#36747, fixes rust-lang#37020, and fixes rust-lang#37021.
r? @nrc
alexcrichton added a commit to alexcrichton/rust that referenced this issue Oct 12, 2016
…pat, r=nrc

Fix importing inaccessible `extern crate`s (with a warning)

Fixes rust-lang#36747, fixes rust-lang#37020, and fixes rust-lang#37021.
r? @nrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants