You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First I compile this code with cargo +nightly build:
#![feature(nll)]pubfnfoo(){letmut v = vec![1];
v.push(v[0]);}
Then I comment out the feature flag:
//#![feature(nll)]pubfnfoo(){letmut v = vec![1];
v.push(v[0]);}
Then I recompile and it does not fail, even though the code currently requires the feature flag to compile. I guess incremental recompilation is not detecting the change.
If I cargo clean before recompiling, or if I completely delete the line (thus changing line numbers for the following lines), the recompilation fails as it should.
The text was updated successfully, but these errors were encountered:
…petrochenkov
Turn feature-gate table into a query so it is covered by dependency tracking.
Turn access to feature gates into a query so we handle them correctly during incremental compilation.
Features are still available via `Session` through `features_untracked()`. I wish we had a better way of hiding untracked information. It would be great if we could remove the `sess` field from `TyCtxt`.
Fixesrust-lang#47003.
…petrochenkov
Turn feature-gate table into a query so it is covered by dependency tracking.
Turn access to feature gates into a query so we handle them correctly during incremental compilation.
Features are still available via `Session` through `features_untracked()`. I wish we had a better way of hiding untracked information. It would be great if we could remove the `sess` field from `TyCtxt`.
Fixesrust-lang#47003.
Turn feature-gate table into a query so it is covered by dependency tracking.
Turn access to feature gates into a query so we handle them correctly during incremental compilation.
Features are still available via `Session` through `features_untracked()`. I wish we had a better way of hiding untracked information. It would be great if we could remove the `sess` field from `TyCtxt`.
Fixes#47003.
First I compile this code with
cargo +nightly build
:Then I comment out the feature flag:
Then I recompile and it does not fail, even though the code currently requires the feature flag to compile. I guess incremental recompilation is not detecting the change.
If I
cargo clean
before recompiling, or if I completely delete the line (thus changing line numbers for the following lines), the recompilation fails as it should.The text was updated successfully, but these errors were encountered: