Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
2fcea9fb68c8e04f10e5cb15bbfb486de9800afa
rust/tests/ui/parser/trailing-plus-in-bounds.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
135 B
Rust
Raw Normal View History

Make some tests check-pass
2022-05-28 18:57:02 +09:00
//@ check-pass
Remove unecessary `-Z continue-parse-after-error` from tests
2019-05-30 18:55:09 -07:00
Kill fmt::Show and fmt::String with fire! Toss the tomatoes!
2015-02-21 13:28:28 +02:00
use std::fmt::Debug;
libsyntax: Stop parsing `+` with no bounds after it. This will break code that looks like `Box<Trait+>`. Change that code to `Box<Trait>` instead. Closes #14925. [breaking-change]
2014-06-20 10:49:54 -07:00
fn main() {
Add missing `dyn` keywords to tests that do not test for them Part 2
2025-06-03 09:48:03 +02:00
let x: Box<dyn Debug+> = Box::new(3) as Box<dyn Debug+>; // Trailing `+` is OK
libsyntax: Stop parsing `+` with no bounds after it. This will break code that looks like `Box<Trait+>`. Change that code to `Box<Trait>` instead. Closes #14925. [breaking-change]
2014-06-20 10:49:54 -07:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 4643ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API