-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Fix ES5 errors (IE11) #82145
Fix ES5 errors (IE11) #82145
Conversation
Some changes occurred in HTML/CSS/JS. |
My reading of the browser minimums RFC was that it wasn't, Edge is the minimum supported Windows-builtin browser. |
740d956
to
63bcf11
Compare
It always has been (well, until recent changes). The whole code has been made like this in order to support it after all. |
63bcf11
to
7ab2439
Compare
7ab2439
to
2f2d11e
Compare
This comment has been minimized.
This comment has been minimized.
f1c1124
to
30f0c91
Compare
68dd4e5
to
6a8809d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
By the way, happy chinese new year!
6a8809d
to
38a9f5d
Compare
Fixed the nits. Seems like it's ready @Mark-Simulacrum |
38a9f5d
to
719c8d4
Compare
I removed the second commit and will open another PR so this fix can be merged quickly. @bors: r=Nemo157 rollup |
📌 Commit 719c8d4 has been approved by |
ES5 checks rustdoc is supposed to run on IE11 but someone reported me that it wasn't. I just confirmed it by using `es-check` with the `es5` option like this: ``` $ es-check es5 src/librustdoc/html/static/*.js ``` The PR fixes those issues and add CI checks to prevent regressions. `@Mark-Simulacrum:` I added checks in the CI, but not sure if it's the correct way to do it. Any help on that side would be very appreciated! r? `@Nemo157`
ES5 checks rustdoc is supposed to run on IE11 but someone reported me that it wasn't. I just confirmed it by using `es-check` with the `es5` option like this: ``` $ es-check es5 src/librustdoc/html/static/*.js ``` The PR fixes those issues and add CI checks to prevent regressions. ``@Mark-Simulacrum:`` I added checks in the CI, but not sure if it's the correct way to do it. Any help on that side would be very appreciated! r? ``@Nemo157``
…laumeGomez Rollup of 6 pull requests Successful merges: - rust-lang#82145 (Fix ES5 errors (IE11)) - rust-lang#82160 (Fix typo in rustc_infer::infer::UndoLog) - rust-lang#82161 (Add long explanation for E0545) - rust-lang#82163 (avoid full-slicing slices) - rust-lang#82175 (validation: fix invalid-fn-ptr error message) - rust-lang#82184 ([Minor] Update discriminant_value docs) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
…k-Simulacrum Add check for ES5 in CI Follow-up of rust-lang#82145. r? `@Mark-Simulacrum`
…k-Simulacrum Add check for ES5 in CI Follow-up of rust-lang#82145. r? ``@Mark-Simulacrum``
…k-Simulacrum Add check for ES5 in CI Follow-up of rust-lang#82145. r? ```@Mark-Simulacrum```
rustdoc is supposed to run on IE11 but someone reported me that it wasn't. I just confirmed it by using
es-check
with thees5
option like this:The PR fixes those issues and add CI checks to prevent regressions.
@Mark-Simulacrum: I added checks in the CI, but not sure if it's the correct way to do it. Any help on that side would be very appreciated!
r? @Nemo157