Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up`use` of unstable function is not gated in import list #28075
Comments
brson
added
I-nominated
T-libs
labels
Aug 28, 2015
This comment has been minimized.
This comment has been minimized.
|
Let's fix soon! |
brson
added
the
E-easy
label
Aug 28, 2015
bluss
changed the title
`use` of unstable feature is not gated in import list
`use` of unstable function is not gated in import list
Aug 28, 2015
This comment has been minimized.
This comment has been minimized.
|
This should be a matter of fixing the appropriate case in |
This comment has been minimized.
This comment has been minimized.
|
This actually applies to all stability attributes and unused feature checks, and it looks like this is a result of foo.rs: #![feature(iter_order)]
use std::iter::{order};
fn main() {}Output:
|
This comment has been minimized.
This comment has been minimized.
|
Compare that with: #![feature(iter_order)]
use std::iter::order;
fn main() {}Output:
|
This comment has been minimized.
This comment has been minimized.
|
I'd like to try looking at this, if that's okay. |
This comment has been minimized.
This comment has been minimized.
|
@terrynsun Go for it! |
This comment has been minimized.
This comment has been minimized.
|
@terrynsun How's this going? |
petrochenkov
referenced this issue
Sep 11, 2015
Merged
Correctly walk import lists in AST visitors #28364
This comment has been minimized.
This comment has been minimized.
|
Sorry! I was struggling with the structure of the AST walking and couldn't figure it out. |
alexcrichton
added
P-medium
P-high
and removed
I-nominated
P-medium
labels
Sep 16, 2015
This comment has been minimized.
This comment has been minimized.
|
triage: P-high |
bluss commentedAug 28, 2015
This compiles on stable:
use std::thread::{catch_panic};but this does not:
Fortunately, I can't find a way to actually use the import anyway, but it's a stability trap.