diff options
| author | bors <bors@rust-lang.org> | 2019-04-13 07:48:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-04-13 07:48:01 +0000 |
| commit | aa35e73b258789d93b080e361542d7aa99e7fcd6 (patch) | |
| tree | 35016b7e8e0758d8c516c47be108c62eb3ede473 /src/test/ui/feature-gate-optimize_attribute.rs | |
| parent | 99da733f7f38ce8fe68453e859b7ac96bf7caa0f (diff) | |
| parent | ba173135becd5681baa67551cafa20ce9a3017e2 (diff) | |
| download | rust-aa35e73b258789d93b080e361542d7aa99e7fcd6.tar.gz rust-aa35e73b258789d93b080e361542d7aa99e7fcd6.zip | |
Auto merge of #59922 - Centril:rollup-0qmx4jg, r=Centril
Rollup of 8 pull requests Successful merges: - #59781 (Remove check_match from const_eval) - #59820 (proc_macro: stop using LEB128 for RPC.) - #59846 (clarify what the item is in "not a module" error) - #59847 (Error when using `catch` after `try`) - #59859 (Suggest removing `?` to resolve type errors.) - #59862 (Tweak unstable diagnostic output) - #59866 (Recover from missing semicolon based on the found token) - #59892 (Impl RawFd conversion traits for WASI TcpListener, TcpStream and UdpSocket) Failed merges: r? @ghost
Diffstat (limited to 'src/test/ui/feature-gate-optimize_attribute.rs')
| -rw-r--r-- | src/test/ui/feature-gate-optimize_attribute.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/ui/feature-gate-optimize_attribute.rs b/src/test/ui/feature-gate-optimize_attribute.rs index c1f75100141..f252a3c153d 100644 --- a/src/test/ui/feature-gate-optimize_attribute.rs +++ b/src/test/ui/feature-gate-optimize_attribute.rs @@ -1,17 +1,17 @@ #![crate_type="rlib"] -#![optimize(speed)] //~ ERROR #54882 +#![optimize(speed)] //~ ERROR #[optimize] attribute is an unstable feature -#[optimize(size)] //~ ERROR #54882 +#[optimize(size)] //~ ERROR #[optimize] attribute is an unstable feature mod module { -#[optimize(size)] //~ ERROR #54882 +#[optimize(size)] //~ ERROR #[optimize] attribute is an unstable feature fn size() {} -#[optimize(speed)] //~ ERROR #54882 +#[optimize(speed)] //~ ERROR #[optimize] attribute is an unstable feature fn speed() {} #[optimize(banana)] -//~^ ERROR #54882 +//~^ ERROR #[optimize] attribute is an unstable feature //~| ERROR E0722 fn not_known() {} |
