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
ba6fe58095f98f070d161ffdc6c59b51b59d41db
rust/tests/ui/parser/trailing-plus-in-bounds.rs

10 lines
158 B
Rust
Raw Normal View History

[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00: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: 4741ms 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