Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
b17dba45186c454576d0fc8fb93ecc65eb1a763a
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.

10 lines
158 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
Update test/ui/parser for bare_trait_object warnings
2019-05-28 14:45:27 -04:00
#![allow(bare_trait_objects)]
Return nonzero exit code if there are errors at a stop point
2015-02-09 20:01:45 +01: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() {
Remove box syntax from most places in src/test outside of the issues dir
2021-08-25 02:39:40 +02:00
let x: Box<Debug+> = Box::new(3) as Box<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: 3741ms Template: 4ms
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